CVE-2022-23498 When query caching is enabled in Grafana users can query another users session
Attackers can steal session cookies from other users when datasource query caching is enabled, leading to account takeover.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-23498?
CVE-2022-23498 is a high-severity vulnerability in Grafana Grafana, published on 3 Feb 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Grafana is an open-source platform for monitoring and observability. When datasource query caching is enabled, Grafana caches all headers, including `grafana_session`. As a result, any user that queries a datasource where the caching is enabled can acquire another user’s session. To mitigate the vulnerability you can disable datasource query caching for all datasources. This issue has been patched in versions 9.2.10 and 9.3.4.
Weakness: CWE-200
Which versions are affected by CVE-2022-23498?
1 open source package ship an affected version, including grafana. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
grafana Bitnami | From 8.3.1 | 9.2.10, 9.3.4 |
Products include Grafana Grafana.
How do I fix CVE-2022-23498?
Upgrade grafana to a fixed version for your release line: 9.2.10 or 9.3.4.
Is CVE-2022-23498 being exploited?
There is no known exploitation of CVE-2022-23498 in the wild and no public exploit code.
Other vulnerabilities in Grafana Grafana
Sources
Also known as BIT-grafana-2022-23498, GHSA-2j8f-6whh-frc8, UBUNTU-CVE-2022-23498.