Add Symfony Security Config Expose Template

Symfony security contain information about used encryption algorithms and list which routes are protected
patch-1
Philipp Dahse 2021-10-21 10:14:04 +02:00
parent a21cec6362
commit fe4e6b8246
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
id: symfony-security-config
info:
name: Symfony Security Configuration Exposure
author: dahse89
severity: info
tags: config,exposure,symfony
reference:
- https://symfony2-document.readthedocs.io/en/latest/book/security.html
- https://symfony.com/doc/current/reference/configuration/security.html
requests:
- method: GET
path:
- "{{BaseURL}}/config/packages/security.yaml"
- "{{BaseURL}}/app/config/security.yml"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- "security:"
condition: and
part: body