nuclei-templates/http/misconfiguration/symfony-debug.yaml

41 lines
1.1 KiB
YAML

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-at-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</a> is enabled.'
- 'id="sfWebDebugSymfony"'
condition: or
# digest: 4a0a00473045022069056fb64b4574b300514814e9e34e3e7e6c16b214fe362580f5fc0f3d89f3020221008ee8fee42144aafbe47e2bf3fc62312b5cefdbf641f3a5264aa774f27d9ffdd4:922c64590222798bb761d5b6d8e72950