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

46 lines
1.3 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
classification:
cpe: cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 4
vendor: sensiolabs
product: symfony
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: 4a0a0047304502204479127459ede9475e2f0a9f65b61583c0c6899a4571cc840785a332244a3e55022100deb211ec358f37dbf7c1c10eb00b30936ae18be2f2d90a82ca1cda59356c084f:922c64590222798bb761d5b6d8e72950