id: influxdb-panel

info:
  name: InfluxDB Admin Interface Panel - Detect
  author: pikpikcu,idealphase
  severity: info
  description: InfluxDB admin interface panel was detected.
  reference:
    - https://www.influxdata.com/
  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:influxdata:influxdb:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: influxdata
    product: influxdb
    shodan-query:
      - http.title:"InfluxDB - Admin Interface"
      - http.title:"influxdb - admin interface"
      - influxdb
    fofa-query: title="influxdb - admin interface"
    google-query: intitle:"influxdb - admin interface"
  tags: panel,influxdb,influxdata

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>InfluxDB - Admin Interface</title>"

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        group: 1
        regex:
          - '<b>InfluxDB<\/b> v([\d.]+)<\/p>'
# digest: 4b0a00483046022100eadbfc29d9f40b015d38052f8b3e7bcf40f3186a569157d604e152cc1624a5f2022100b2a339364c871e5083426ba2da372b85ac35755e66023c59d977116413b2e2eb:922c64590222798bb761d5b6d8e72950