Grafana Snapshot URL Injection (Open original dashboard) <8.5.16 / <9.2.8
CVE-2022-39324 Published on January 27, 2023
Grafana vulnerable to spoofing originalUrl of snapshots
Grafana is an open-source platform for monitoring and observability. Prior to versions 8.5.16 and 9.2.8, malicious user can create a snapshot and arbitrarily choose the `originalUrl` parameter by editing the query, thanks to a web proxy. When another user opens the URL of the snapshot, they will be presented with the regular web interface delivered by the trusted Grafana server. The `Open original dashboard` button no longer points to the to the real original dashboard but to the attackers injected URL. This issue is fixed in versions 8.5.16 and 9.2.8.
Vulnerability Analysis
CVE-2022-39324 is exploitable with network access, requires user interaction and a small amount of user privileges. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality and integrity, and a small impact on availability.
Weakness Type
What is a XSS Vulnerability?
The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
CVE-2022-39324 has been classified to as a XSS vulnerability or weakness.
Products Associated with CVE-2022-39324
Want to know whenever a new CVE is published for Grafana Labs Grafana? stack.watch will email you.
Affected Versions
grafana:- Version < 8.5.16 is affected.
- Version >= 9.0.0, < 9.2.8 is affected.
Vulnerable Packages
The following package name and versions may be associated with CVE-2022-39324
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| pip | github.com/grafana/grafana | >= 9.0.0, < 9.2.8 | 9.2.8 |
| pip | github.com/grafana/grafana | < 8.5.16 | 8.5.16 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.