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
    product: influxdb
    shodan-query: http.title:"InfluxDB - Admin Interface"
    vendor: influxdata
  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: 4a0a00473045022100c0d8bed801d434c5c2f52465b1765f88c2d28d64c15eecc68e7291ff3971b69a022016e50625bdda739e02f2dad07825e137ec1b710b6bb987070f6622448c79e5c1:922c64590222798bb761d5b6d8e72950