2021-01-06 17:53:28 +00:00
|
|
|
id: syfmony-profiler
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: SymfonyProfiler information leakage
|
|
|
|
author: wabafet
|
|
|
|
severity: medium
|
2021-04-06 06:46:11 +00:00
|
|
|
tags: config,exposure
|
2021-01-06 17:53:28 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/_profiler/phpinfo.php"
|
|
|
|
- "{{BaseURL}}/_profiler/phpinfo"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "$_SERVER['SERVER_NAME']"
|
|
|
|
- "$_ENV['APP_SECRET']"
|
|
|
|
- "$_ENV['SYMFONY_DOTENV_VARS']"
|
|
|
|
condition: or
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|