2022-08-03 11:01:52 +00:00
|
|
|
id: symfony-debug
|
2021-07-26 11:51:46 +00:00
|
|
|
|
2020-07-02 13:53:41 +00:00
|
|
|
info:
|
|
|
|
name: Symfony Debug Mode
|
2021-07-26 11:51:46 +00:00
|
|
|
author: organiccrap,pdteam
|
2020-07-02 13:53:41 +00:00
|
|
|
severity: high
|
2022-04-15 16:39:44 +00:00
|
|
|
description: A Symfony installations 'debug' interface is enabled, allowing the disclosure and possible execution of arbitrary code.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/synacktiv/eos
|
2022-08-03 11:27:34 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-12-29 11:06:03 +00:00
|
|
|
max-request: 4
|
2022-08-03 11:27:34 +00:00
|
|
|
shodan-query: http.html:"symfony Profiler"
|
2023-06-02 23:20:49 +00:00
|
|
|
tags: symfony,debug,misconfig
|
2021-03-12 08:57:14 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2020-07-02 13:53:41 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
2021-01-14 14:41:56 +00:00
|
|
|
- '{{BaseURL}}'
|
2023-12-29 11:06:03 +00:00
|
|
|
- "{{BaseURL}}/admin_dev.php"
|
|
|
|
- "{{BaseURL}}/index_dev.php"
|
|
|
|
- "{{BaseURL}}/app_dev.php"
|
2021-07-26 11:51:46 +00:00
|
|
|
|
2023-12-29 11:10:07 +00:00
|
|
|
stop-at-first-match: true
|
2021-07-26 11:51:46 +00:00
|
|
|
matchers-condition: or
|
2020-07-02 13:53:41 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
2022-08-03 11:01:52 +00:00
|
|
|
part: header
|
2020-07-02 13:53:41 +00:00
|
|
|
words:
|
2022-08-03 11:01:52 +00:00
|
|
|
- 'x-debug-token-link:'
|
2021-07-26 11:51:46 +00:00
|
|
|
- '/_profiler/'
|
2020-07-02 13:53:41 +00:00
|
|
|
condition: and
|
2022-08-03 11:01:52 +00:00
|
|
|
case-insensitive: true
|
2021-07-26 11:51:46 +00:00
|
|
|
|
|
|
|
- type: word
|
2022-08-03 11:01:52 +00:00
|
|
|
part: body
|
2021-07-26 11:51:46 +00:00
|
|
|
words:
|
|
|
|
- 'debug mode</a> is enabled.'
|
2023-12-29 11:06:03 +00:00
|
|
|
- 'id="sfWebDebugSymfony"'
|
2024-01-02 06:22:35 +00:00
|
|
|
condition: or
|
2024-01-02 07:00:19 +00:00
|
|
|
# digest: 4a0a00473045022069056fb64b4574b300514814e9e34e3e7e6c16b214fe362580f5fc0f3d89f3020221008ee8fee42144aafbe47e2bf3fc62312b5cefdbf641f3a5264aa774f27d9ffdd4:922c64590222798bb761d5b6d8e72950
|