mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-05 02:03:35 +08:00
38 lines
1.0 KiB
YAML
38 lines
1.0 KiB
YAML
id: settings-php-files
|
|
|
|
info:
|
|
name: settings.php - Information Disclosure
|
|
author: sheikhrishad
|
|
severity: medium
|
|
description: settings.php source code was detected via backup files.
|
|
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
|
|
metadata:
|
|
max-request: 7
|
|
tags: exposure,backup
|
|
|
|
http:
|
|
- 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"
|
|
- "{{BaseURL}}/config/settings.old.php"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "DB_NAME"
|
|
- "DB"
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4a0a0047304502205402b158190a0a1b716f55c5e218940e782ee8c7fce2379b5694c0d0af02a35b022100cf3283a7be533e3a1eca83bfb7910808159a9cebaf26892dccaa4b148e0c4984:922c64590222798bb761d5b6d8e72950 |