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
|
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:
|
2023-02-08 16:58:08 +00:00
|
|
|
- 200
|
|
|
|
|
|
|
|
# Enhanced by md on 2023/02/08
|