2021-03-24 09:51:46 +00:00
|
|
|
id: settings-php-files
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: settings.php information disclosure
|
|
|
|
author: sheikhrishad
|
|
|
|
severity: medium
|
2021-04-06 06:46:11 +00:00
|
|
|
tags: exposure,backup
|
2021-03-24 09:51:46 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- 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"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "DB_NAME"
|
|
|
|
- "DB"
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|