nuclei-templates/http/cves/2019/CVE-2019-20933.yaml

50 lines
1.8 KiB
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.
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.03528
epss-percentile: 0.90512
cpe: cpe:2.3:a:influxdata:influxdb:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: influxdata
product: influxdb
shodan-query: InfluxDB
tags: unauth,db,influxdb,misconfig
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: 4b0a00483046022100dfd8ebff0ffdc4fb89df4df6822ee65aaafc312a99d7e30bbe91ae38165b3ea1022100a9883b7b829523906c425feaea98a8215d58d5a0ec025b051e24fe6aacd0867b:922c64590222798bb761d5b6d8e72950