Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2019-20933 PoC — Influxdata InfluxDB 授权问题漏洞

Source
Associated Vulnerability
Title:Influxdata InfluxDB 授权问题漏洞 (CVE-2019-20933)
Description:InfluxDB before 1.7.6 has an authentication bypass vulnerability in the authenticate function in services/httpd/handler.go because a JWT token may have an empty SharedSecret (aka shared secret).
Readme
# CVE-2019-20933

> InfluxDB before 1.7.6 has an authentication bypass vulnerability in the authenticate function in services/httpd/handler.go because a JWT token may have an empty SharedSecret (aka shared secret).

(see [https://nvd.nist.gov/vuln/detail/CVE-2019-20933](https://nvd.nist.gov/vuln/detail/CVE-2019-20933) For more details)

## PoC

This PoC exploits the above CVE to make a quick and dirty influxDB client.

## Usage:

usage: influx-client.py [-h] [--host HOST] [--port PORT] [--user USER] [--db DB] query

A simple, silly, over-the-top influxdb client made in Python

positional arguments:
  query                 The query to execute. default: SHOW DATABASES

optional arguments:
  -h, --help            show this help message and exit
  --host HOST           The target IP. (default: localhost)
  --port PORT, -p PORT  The target port. (default: 8086)
  --user USER           The target username. (default: admin)
  --db DB               The database to use.

## Acknowledgements

Portions of code borrowed from https://github.com/LorenzoTullini/InfluxDB-Exploit-CVE-2019-20933
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →