37 lines
839 B
YAML
37 lines
839 B
YAML
id: settings-php-files
|
|
|
|
info:
|
|
name: Settings.php - Information Disclosure
|
|
author: sheikhrishad
|
|
severity: medium
|
|
description: Multiple settings.php sources were 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
|
|
tags: exposure,backup
|
|
|
|
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
|
|
|
|
# Enhanced by md on 2023/02/08
|