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,discovery

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