Skip to content

Symfony Security Configuration File - Detect

ID: symfony-security-config

Severity: info

Author: dahse89

Tags: config,exposure,symfony

Symfony security configuration file was detected.

id: symfony-security-config
info:
name: Symfony Security Configuration File - Detect
author: dahse89
severity: info
description: Symfony security configuration file was detected.
reference:
- https://symfony2-document.readthedocs.io/en/latest/book/security.html
- https://symfony.com/doc/current/reference/configuration/security.html
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
cvss-score: 0
cwe-id: CWE-200
metadata:
max-request: 2
tags: config,exposure,symfony
http:
- 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
# digest: 4a0a00473045022100caf8a145e09ccd8730e0ae62b50c59c4f89dae73f144d645faa40334b0736cc8022038b0888e2890dcd71fc17fd319d1e1cf92337a6c3548db6826c97f25ac37bbc9:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/exposures/configs/symfony-security-config.yaml"

View on Github