Page cover

InfluxDB Pentesting

InfluxDB is a time series database written in Go. A default port is 8086.

# User enumeration
curl http://<target-ip>:8086/debug/requests
Copied!


influx -host 10.0.0.1 -port 8086
influx -host 10.0.0.1 -port 8086 -database <database>
influx -host 10.0.0.1 -port 8086 -username <username>  -password <password>

# Import db file
influx -path example.db
Copied!

https://github.com/LorenzoTullini/InfluxDB-Exploit-CVE-2019-20933arrow-up-right

Reference: https://www.komodosec.com/post/when-all-else-fails-find-a-0-dayarrow-up-right

Firse find the username.

Then create a JWT using the name we found in jwt.ioarrow-up-right. Parameters are below:

Copy the generated JWT. Now we can query the InfluxDB API.

References

Last updated