Files
nuclei-templates/http/misconfiguration/php-debugbar-exposure.yaml
Prince Chaddha ea7a5969c8 Revert "chore: update TemplateMan 🤖"
This reverts commit c31d574176.
2025-05-27 10:39:47 +08:00

33 lines
1.2 KiB
YAML

id: php-debugbar-exposure
info:
name: Php Debug Bar - Exposure
author: ritikchaddha,pdteam,DhiyaneshDk,geeknik
severity: high
description: |
The DebugBar integrates easily into projects and can display profiling data from any part of your application.This template detects exposed PHP Debug Bars by looking for known response bodies and the `phpdebugbar-id` in headers.
reference:
- https://hackerone.com/reports/1883806
- http://phpdebugbar.com/
- https://github.com/maximebf/php-debugbar
metadata:
verified: true
max-request: 2
shodan-query: html:"phpdebugbar"
tags: misconfig,php,phpdebug,exposure,debug
http:
- method: GET
path:
- "{{BaseURL}}"
- "{{BaseURL}}/_debugbar/open"
stop-at-first-match: true
matchers:
- type: dsl
dsl:
- 'contains_all(body, "phpdebugbar", "widget") && status_code == 200'
- 'contains(header, "phpdebugbar-id")'
- 'contains_all(body, "\"utime\"","\"datetime\"","{\"id") && contains(content_type, "application/json")'
condition: or
# digest: 4b0a00483046022100afe19a0354e51a6998d9b6479572ee8033beafb6545c6255b40aca4d88ad4b76022100f8e4f12d81bb172eb43aa7dc994a02cc43e64f28250a521dfdd0574162c539df:922c64590222798bb761d5b6d8e72950