cakephp-debugkit-exposure: CakePHP - Debug Kit Toolbar Exposure

2026-01-24 CakePHP PoC Public

Description

Detected CakePHP Debug Kit toolbar, potentially leaking sensitive application information, database queries, and configuration.

PoC

id: cakephp-debugkit-exposure

info:
  name: CakePHP - Debug Kit Toolbar Exposure
  author: 0x_Akoko
  severity: medium
  description: |
    Detected CakePHP Debug Kit toolbar, potentially leaking sensitive application information, database queries, and configuration.
  reference:
    - https://github.com/cakephp/debug_kit
    - https://book.cakephp.org/debugkit/
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 2
    shodan-query: http.html:"debug_kit"
    fofa-query: body="debug_kit" && body="CakePHP"
  tags: cakephp,debug,toolkit,exposure,php,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/debug-kit"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_any(body, "DebugKit Dashboard", "__debug_kit")'
        condition: and
# digest: 4a0a00473045022067d84f93b231cb2af6a496240a0b8983240815967c3f26e0975651376ee3a5da022100d12909fc0a6dc76da07468724d9f8920fa98fa1446ce0ecfa8d8e925e82a9748:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities