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
shodan-query: http.html:"symfony Profiler"
tags: symfony,debug
requests:
- method: GET
path:
- '{{BaseURL}}'
matchers-condition: or
matchers:
- type: word
part: header
words:
- 'x-debug-token-link:'
- '/_profiler/'
condition: and
case-insensitive: true
part: body
- 'debug mode</a> is enabled.'
# Enhanced by mp on 2022/04/12