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

40 lines
1.2 KiB
YAML

id: CVE-2019-20933
info:
name: Authentication Bypass InfluxDB
author: pussycat0x,c-sh0
severity: critical
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).
reference:
- https://github.com/LorenzoTullini/InfluxDB-Exploit-CVE-2019-20933
- https://nvd.nist.gov/vuln/detail/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
remediation: Update Influxdb to version 1.6.7~rc0-1 or higher.
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
metadata:
shodan-dork: InfluxDB
verified: "true"
tags: unauth,db,influxdb,misconfig
requests:
- 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