id: redash-panel

info:
  name: Redash Login Panel - Detect
  author: princechaddha
  severity: info
  description: Redash login panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:a:redash:redash:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: redash
    product: redash
    shodan-query: http.favicon.hash:698624197
    fofa-query: icon_hash=698624197
  tags: panel,redash

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>Login to Redash</title>"
          - "<title>Login | Redash</title>"
        condition: or

      - type: status
        status:
          - 200
# digest: 490a004630440220283fc3714844a896e3021140338299089faa5486ef1b7908399716833a8eac5c022004c9b843ff62ab32bd67ae1e4da0b41deb0bbbaac63d5a8225bda36d8fa3e4d5:922c64590222798bb761d5b6d8e72950