2021-01-10 13:11:25 +00:00
|
|
|
id: symfony-database-config
|
|
|
|
|
|
|
|
info:
|
2023-02-23 21:23:16 +00:00
|
|
|
name: Symfony Database Configuration File - Detect
|
2021-07-09 06:23:28 +00:00
|
|
|
author: pdteam,geeknik
|
2021-01-10 13:11:25 +00:00
|
|
|
severity: high
|
2023-03-02 20:58:29 +00:00
|
|
|
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
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: config,exposure,symfony
|
2021-01-10 13:11:25 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-01-10 13:11:25 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/config/databases.yml"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-07-09 06:23:28 +00:00
|
|
|
matchers-condition: and
|
2021-01-10 13:11:25 +00:00
|
|
|
matchers:
|
2021-07-09 06:23:28 +00:00
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/html"
|
|
|
|
negative: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-07-09 06:23:28 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-01-10 13:11:25 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "class:"
|
|
|
|
- "param:"
|
|
|
|
condition: and
|
2021-07-09 06:23:28 +00:00
|
|
|
part: body
|
2023-10-19 13:13:52 +00:00
|
|
|
# digest: 4a0a00473045022000c30e14ab982092a6ccc1e189672fb7062041243c0001d0cad44827e2eecf3d022100b20f8f8b56342e392f46c3ff1864d1397fd331b176f6a5aac35eec1fa7cb228b:922c64590222798bb761d5b6d8e72950
|