cbcvebase.
CVE-2019-20933
published 2020-11-19

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…

PriorityP188critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEVInitial access
Exploited in the wild
EPSS
30.92%
98.0th percentile
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).

Affected

9 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debiandebian_linux
debianinfluxdb< influxdb 1.6.7~rc0-1 (bookworm)influxdb 1.6.7~rc0-1 (bookworm)
github.cominfluxdata_influxdb>= 0 < 1.7.61.7.6
influxdatainfluxdb< 1.7.61.7.6
influxdatainfluxdb>= 0 < 1.6.7~rc0-11.6.7~rc0-1
influxdatainfluxdb>= 0 < 1.6.7~rc0-11.6.7~rc0-1
influxdatainfluxdb>= 0 < 1.6.7~rc0-11.6.7~rc0-1
influxdatainfluxdb>= 0 < 1.6.7~rc0-11.6.7~rc0-1

Detection & IOCsextracted from sources · hover to see the quote

url/query?db=db&q=SHOW%20DATABASES
pathservices/httpd/handler.go
  • Send a GET request to /query?db=db&q=SHOW%20DATABASES with a JWT token bearing an empty shared secret; a vulnerable InfluxDB instance will respond HTTP 200 with body containing both '"results":' and '"name":"databases"'.
  • Shodan queries to identify exposed InfluxDB instances: search for 'InfluxDB', 'influxdb', or http.title:"influxdb - admin interface".
  • FOFA query to identify exposed InfluxDB admin interfaces: title="influxdb - admin interface".
  • Google dork to identify exposed InfluxDB admin interfaces: intitle:"influxdb - admin interface".
  • The vulnerability is exploitable when JWT authentication is enabled but no shared secret is configured (empty SharedSecret). Detect by attempting authentication with a self-signed JWT token with an empty secret against the InfluxDB HTTP API.
  • ·The authentication bypass only applies when JWT authentication is enabled AND the shared-secret configuration value is left empty (default state). Instances with a properly configured shared secret are not vulnerable.
  • ·Fixed in InfluxDB 1.7.6; versions including the fix will return an error if the secret is left empty. Debian fixed in package version 1.6.7~rc0-1.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vulncheck9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.