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

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