Grafana JSON datasource plugin vulnerability
CVE-2023-5123
Key Information:
- Vendor
Grafana
- Status
- CVE ID
- CVE ID:
- CVE-2023-5123
- Vendor
- CVE Published:
- 14 February 2024
- Fixed in
- Fixed in:
- 1.3.21
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but needs a login
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Update to a fixed version
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach grafana-json-datasource. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- Its CVSS severity is high (8).
What is CVE-2023-5123?
The JSON datasource plugin maintained by Grafana Labs allows administrators to retrieve and process JSON data from remote endpoints. However, a vulnerability exists due to insufficient sanitization of the path parameter supplied in dashboards. This flaw enables attackers to include path traversal characters, allowing requests to arbitrary subpaths on the configured endpoint. In scenarios where the datasource is set to point back to the Grafana instance, the situation escalates, potentially allowing for unauthorized access to sensitive administrative API endpoints. This vulnerability underscores the importance of robust input validation and the need for security measures in dashboard configurations.
References
More Grafana Vulnerabilities
Server-side Request Forgery in mcp-grafana
Remote Code Execution Vulnerability in Grafana Enterprise Plugin
HTML Injection in Grafana
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction