Update and rename misconfiguration/unauthenticated-influxdb.yaml to cves/2019/CVE-2019-20933.yaml

patch-1
Dhiyaneshwaran 2022-08-23 09:29:33 +05:30 committed by GitHub
parent c7b4988269
commit d29eb6bfbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 27 deletions

View File

@ -0,0 +1,34 @@
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).
remediation: Update Influxdb to version 1.6.7~rc0-1 or higher.
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
metadata:
verified: true
shodan-dork: InfluxDB
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

View File

@ -1,27 +0,0 @@
id: unauthenticated-influxdb
info:
name: Unauthentication InfluxDB Detection
author: pussycat0x
severity: high
metadata:
shodan-dork: InfluxDB
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