Merge pull request #2948 from dahse89/add-config-symfony-security-config

Add Symfony Security Config Expose Template
patch-1
Prince Chaddha 2021-10-21 19:21:16 +05:30 committed by GitHub
commit 709f6edbf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
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
tags: config,exposure,symfony
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:"
- "firewalls:"
- "access_control:"
condition: and
part: body