nuclei-templates/http/exposures/configs/symfony-database-config.yaml

42 lines
1.1 KiB
YAML

id: symfony-database-config
info:
name: Symfony Database Configuration File - Detect
author: pdteam,geeknik
severity: high
description: Symfony database configuration file was detected and may contain database credentials.
reference: https://symfony.com/legacy/doc/reference/1_3/en/07-Databases
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cwe-id: CWE-200
metadata:
max-request: 1
tags: config,exposure,symfony
http:
- method: GET
path:
- "{{BaseURL}}/config/databases.yml"
matchers-condition: and
matchers:
- type: word
part: header
words:
- "text/html"
negative: true
- type: status
status:
- 200
- type: word
words:
- "class:"
- "param:"
condition: and
part: body
# digest: 4a0a00473045022000c30e14ab982092a6ccc1e189672fb7062041243c0001d0cad44827e2eecf3d022100b20f8f8b56342e392f46c3ff1864d1397fd331b176f6a5aac35eec1fa7cb228b:922c64590222798bb761d5b6d8e72950