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: 4a0a00473045022051ca91fb040d0742fbbe9f29981b93c9c7cdd4429aa7b85f3d9101e0b20a85b102210090c0b438e450b2a0f2dbe7b0649b7db2872258847491a2b7ef41b4b518cbff8c:922c64590222798bb761d5b6d8e72950