flask-debug-toolbar: Flask Debug Toolbar - Exposure

2026-01-24 Flask Debug Toolbar PoC Public

Description

Detected Flask Debug Toolbar was exposed in production, potentially leaking sensitive application information, SQL queries, request data, and configuration details.

PoC

id: flask-debug-toolbar

info:
  name: Flask Debug Toolbar - Exposure
  author: 0x_Akoko
  severity: medium
  description: |
    Detected Flask Debug Toolbar was exposed in production, potentially leaking sensitive application information, SQL queries, request data, and configuration details.
  reference:
    - https://flask-debugtoolbar.readthedocs.io/
    - https://github.com/flask-debugtoolbar/flask-debugtoolbar
  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: 1
    shodan-query: http.html:"flDebugToolbar"
    fofa-query: body="flDebugToolbar"
  tags: flask,python,debug,toolbar,exposure,misconfig,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "flDebugToolbar"
          - "flDebugPanelList"
        condition: or

      - type: word
        part: body
        words:
          - "/_debug_toolbar/"
          - "flDebugVersionPanel"
          - "DEBUG_TOOLBAR_STATIC_PATH"
        condition: or

      - type: status
        status:
          - 200
# digest: 4a0a00473045022072787f35c22402cdcaedce088b56fcbf289d4ece18a20bd7a1d8e2e50f06452c022100951f1073e1511ba709723b4e3f8bb479c2002710fd7052ff7ffaba12951a34f3:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities