Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2019-20933
HistoryAug 23, 2022 - 3:59 a.m.

InfluxDB <1.7.6 - Authentication Bypass

2022-08-2303:59:33
ProjectDiscovery
github.com
7
cve
cve2019
unauthorized
influxdb
misconfiguration
authentication
security

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

9.7

Confidence

High

EPSS

0.042

Percentile

92.3%

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.

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.04237
    epss-percentile: 0.92253
    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

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: 4a0a004730450220594a67b38d4fe51afd7f7d5dd552e0d6aafc0c3700ec4da0723894494a589463022100ea83411b496e63ae7c68a6fec8f67d125f749d559e4c27add4969c3f76e9214e:922c64590222798bb761d5b6d8e72950

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

9.7

Confidence

High

EPSS

0.042

Percentile

92.3%