2022-12-02 08:28:25 +00:00
|
|
|
id: influxdb-version-detect
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: InfluxDB Version Detection
|
|
|
|
author: c-sh0
|
|
|
|
severity: info
|
|
|
|
description: Obtain InfluxDB Version Information
|
|
|
|
reference:
|
2022-12-07 09:24:33 +00:00
|
|
|
- https://docs.influxdata.com/influxdb/v1.8/tools/api/#ping-http-endpoint
|
|
|
|
- https://github.com/influxdata/influxdb/blob/master/http/platform_handler.go#L62
|
2022-12-02 08:28:25 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
shodan-query: "X-Influxdb-"
|
|
|
|
tags: tech,influxdb,api
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- 'X-Influxdb-'
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: kval
|
|
|
|
kval:
|
|
|
|
- "X_Influxdb_Version"
|