id: questdb-console

info:
  name: QuestDB Console - Detect
  author: tess
  severity: medium
  description: QuestDB console was detected.
  reference:
    - https://questdb.io/docs/develop/web-console/
  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: title:"QuestDB · Console"
  tags: misconfig,questdb,exposure

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "QuestDB · Console"
          - "Server rejected file due to unsupported file format."
        condition: and

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200

# digest: 4b0a00483046022100f5c6f8942e7ee545f2cd085dd5af85b3fc0c0f13bc26680250257231ce9202be022100b3fd30eb4f715d7f6806cc48cbeb49bb58f318e130fdf91c33fc92d67391e7bc:922c64590222798bb761d5b6d8e72950
