SecurityContext

CVE-2019-20933: InfluxDB <1.7.6 - Authentication Bypass

Classification

  • Cwe: CWE-287
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.32298
  • Epss percentile: 0.98365
  • Cpe: cpe:2.3:a:influxdata:influxdb:*:*:*:*:*:*:*:*

Metadata

  • Fofa-query: title="influxdb - admin interface"
  • Google-query: intitle:"influxdb - admin interface"
  • Max-request: 1
  • Product: influxdb
  • Shodan-query: InfluxDB, http.title:"influxdb - admin interface", influxdb
  • Vendor: influxdata
  • Verified: yes

Products

ProductIndexedUrl
influxdata:influxdbyes/v1/products/influxdata/influxdb

Labels

  • Name: InfluxDB - Authentication Bypass
  • Impact: Attackers can bypass authentication to access sensitive data, modify data, or execute administrative operations.
  • Remediation: Update to version 1.7.6 or later.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: information_disclosure, data_tampering, privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs a JWT token with an empty shared secret
  • Labels source: projectdiscovery
  • From cve: CVE-2019-20933

```yaml

id: CVE-2019-20933

info:

name: InfluxDB <1.7.6 - Authentication Bypass

author: pussycat0x,c-sh0

severity: critical

description: InfluxDB before 1.7.6 contains an authentication bypass vulnerability via the authenticate function in services/httpd/handler.go. A JWT token may have an empty SharedSecret (aka shared secret). An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.

impact: |

An attacker can bypass authentication and gain unauthorized access to the InfluxDB database.

remediation: Update Influxdb to version 1.7.6~rc0-1 or higher.

reference:

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

- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-20933

- https://github.com/influxdata/influxdb/compare/v1.7.5...v1.7.6

- https://nvd.nist.gov/vuln/detail/CVE-2019-20933

- https://github.com/influxdata/influxdb/commit/761b557315ff9c1642cf3b0e5797cd3d983a24c0

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

cvss-score: 9.8

cve-id: CVE-2019-20933

cwe-id: CWE-287

epss-score: 0.32298

epss-percentile: 0.98365

cpe: cpe:2.3:a:influxdata:influxdb:*:*:*:*:*:*:*:*

metadata:

verified: true

max-request: 1

vendor: influxdata

product: influxdb

shodan-query:

- InfluxDB

- http.title:"influxdb - admin interface"

- influxdb

fofa-query: title="influxdb - admin interface"

google-query: intitle:"influxdb - admin interface"

tags: cve,cve2019,unauth,db,influxdb,misconfig,influxdata,vkev,vuln

http:

- method: GET

path:

- "{{BaseURL}}/query?db=db&q=SHOW%20DATABASES"

matchers-condition: and

matchers:

- type: word

part: body

words:

- '"results":'

- '"name":"databases"'

condition: and

- type: status

status:

- 200

digest: 490a004630440220582352238918ed4cdcf7b2226a08448532d75c91105b5406ad467efc6a9f520b022045c98362803b4378fe4056e0f1db2ac22ee7ae49cced233f7fffe5f3988b8a57:922c64590222798bb761d5b6d8e72950

```