id: symfony-debug info: name: Symfony Debug Mode author: organiccrap,pdteam severity: high description: A Symfony installations 'debug' interface is enabled, allowing the disclosure and possible execution of arbitrary code. reference: - https://github.com/synacktiv/eos metadata: verified: true max-request: 4 shodan-query: http.html:"symfony Profiler" tags: symfony,debug,misconfig http: - method: GET path: - '{{BaseURL}}' - "{{BaseURL}}/admin_dev.php" - "{{BaseURL}}/index_dev.php" - "{{BaseURL}}/app_dev.php" stop-on-first-match: true matchers-condition: or matchers: - type: word part: header words: - 'x-debug-token-link:' - '/_profiler/' condition: and case-insensitive: true - type: word part: body words: - 'debug mode is enabled.' - 'id="sfWebDebugSymfony"'