id: elasticsearch-sql-client-detect

info:
  name: Elasticsearch - SQL Client Detection
  author: pussycat0x
  severity: low
  description: Elasticsearch detected SQL client.
  classification:
    cpe: cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: elastic
    product: elasticsearch
    shodan-query: http.title:"Elasticsearch-sql client"
  tags: elasticsearch,tech,sql,discovery

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

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<title>Elasticsearch-sql client</title>'
        part: body

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100fc913c6f75c15d7c7691607984babfae6a74d31fc18106878587d55f61923312022100a2919fa9f9022a366228ac18bd320c1cc29087f31e172b4f7dcd4f4b27471b01:922c64590222798bb761d5b6d8e72950