2021-10-21 08:14:04 +00:00
|
|
|
id: symfony-security-config
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Symfony Security Configuration Exposure
|
|
|
|
author: dahse89
|
|
|
|
severity: info
|
|
|
|
reference:
|
|
|
|
- https://symfony2-document.readthedocs.io/en/latest/book/security.html
|
|
|
|
- https://symfony.com/doc/current/reference/configuration/security.html
|
2021-10-21 13:49:21 +00:00
|
|
|
tags: config,exposure,symfony
|
2021-10-21 08:14:04 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/config/packages/security.yaml"
|
|
|
|
- "{{BaseURL}}/app/config/security.yml"
|
2021-10-21 13:49:21 +00:00
|
|
|
|
2021-10-21 08:14:04 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2021-10-21 13:49:21 +00:00
|
|
|
|
2021-10-21 08:14:04 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "security:"
|
2021-10-21 13:49:21 +00:00
|
|
|
- "firewalls:"
|
|
|
|
- "access_control:"
|
2021-10-21 08:14:04 +00:00
|
|
|
condition: and
|
|
|
|
part: body
|