id: aws-opensearch-login

info:
  name: AWS OpenSearch Login - Detect
  author: Higor Melgaço (eremit4)
  severity: info
  description: AWS OpenSearch login page was detected.
  reference:
    - https://aws.amazon.com/pt/blogs/opensource/introducing-opensearch/
  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:amazon:opensearch:*:*:*:*:maven:*:*:*
  metadata:
    max-request: 1
    vendor: amazon
    product: opensearch
  tags: panel,opensearch,aws,amazon,discovery

http:
  - method: GET
    path:
      - '{{BaseURL}}/_dashboards/app/login'

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        words:
          - "Please login to OpenSearch Dashboards"
# digest: 490a004630440220724bc37f0aa0ec8b52f17c0d31d150df9f28c5fcf5cd5589adacdbc5bbab56d30220154041fcb90bf3cf0376e1b258e63cc50937f2def08faa7f1c821e3986d13830:922c64590222798bb761d5b6d8e72950