Description
An issue was discovered in Grafana 5.4.0. Passwords for data sources used by Grafana (e.g., MySQL) are not encrypted. An admin user can reveal passwords for any data source by pressing the "Save and test" button within a data source's settings menu. When watching the transaction with Burp Proxy, the password for the data source is revealed and sent to the server. From a browser, a prompt to save the credentials is generated, and the password can be revealed by simply checking the "Show password" box.
Remediation
References
Related Vulnerabilities
Oracle Application Server CVE-2006-5363 Vulnerability (CVE-2006-5363)
Apache Tomcat Permissions, Privileges, and Access Controls Vulnerability (CVE-2014-0050)
MySQL CVE-2012-0490 Vulnerability (CVE-2012-0490)
WordPress Plugin JS Support Ticket Unspecified Vulnerability (1.1.1)
WordPress Plugin WP-Stats-Dashboard Multiple Cross-Site Scripting Vulnerabilities (2.6.5.1)