-
Notifications
You must be signed in to change notification settings - Fork 2.4k
/
symfony-debug.yaml
41 lines (37 loc) · 1.14 KB
/
symfony-debug.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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