2021-03-24 09:51:46 +00:00
|
|
|
id: settings-php-files
|
|
|
|
|
|
|
|
info:
|
2023-02-13 14:41:20 +00:00
|
|
|
name: settings.php - Information Disclosure
|
2021-03-24 09:51:46 +00:00
|
|
|
author: sheikhrishad
|
|
|
|
severity: medium
|
2023-02-13 14:41:20 +00:00
|
|
|
description: settings.php source code was detected via backup files.
|
2023-02-08 16:58:08 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
|
|
|
|
cvss-score: 5.3
|
|
|
|
cwe-id: CWE-200
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
2024-01-29 11:58:34 +00:00
|
|
|
max-request: 7
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: exposure,backup
|
2021-03-24 09:51:46 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-03-24 09:51:46 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/settings.php.bak"
|
|
|
|
- "{{BaseURL}}/settings.php.dist"
|
|
|
|
- "{{BaseURL}}/settings.php.old"
|
|
|
|
- "{{BaseURL}}/settings.php.save"
|
|
|
|
- "{{BaseURL}}/settings.php.swp"
|
|
|
|
- "{{BaseURL}}/settings.php.txt"
|
2024-01-07 03:09:02 +00:00
|
|
|
- "{{BaseURL}}config/settings.old.php"
|
2024-01-19 19:34:21 +00:00
|
|
|
|
2021-03-24 09:51:46 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "DB_NAME"
|
|
|
|
- "DB"
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
2023-02-08 16:58:08 +00:00
|
|
|
- 200
|
2024-01-29 12:41:50 +00:00
|
|
|
# digest: 4b0a00483046022100eba9de4436d8e08669f91da6cbd54d44279778bcf9fec5b5e930a1d6b5f8e56e022100a11699b4af7715f48e25cc159b1709c6396bf4ae8be69c37d82a477bc75689f5:922c64590222798bb761d5b6d8e72950
|