CVE-2022-39324 Grafana vulnerable to spoofing originalUrl of snapshots
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Ubuntu
Description
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 attacker’s injected URL. This issue is fixed in versions 8.5.16 and 9.2.8.
Upgrade path
3 packages: 1 fixed, 1 partially fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/grafana(Ubuntu 16.04) | = 2.6.0+dfsg-1; All versions | No fix listed | No fix yet |
| grafana github.com/grafana/grafana(Go) | < 8.5.16; >= 9.0.0, < 9.2.8; All versions | 8.5.16, 9.2.8 | Partially fixed |
| grafana github.com/grafana/grafana | < 8.5.16; = < 8.5.16; = >= 9.0.0, < 9.2.8; >= 9.0.0, < 9.2.8 | 8.5.16, 9.2.8 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| grafana github.com/grafana/grafana(Go) | >= 9.0.0, < 9.2.8 | 9.2.8 |
| grafana github.com/grafana/grafana(Go) | < 8.5.16 | 8.5.16 |
| grafana github.com/grafana/grafana(Go) | All versions | No fix listed |
| grafana github.com/grafana/grafana | = < 8.5.16 | No fix listed |
| grafana github.com/grafana/grafana | = >= 9.0.0, < 9.2.8 | No fix listed |
| grafana github.com/grafana/grafana | < 8.5.16 | 8.5.16 |
| grafana github.com/grafana/grafana | >= 9.0.0, < 9.2.8 | 9.2.8 |
| ubuntu/grafana(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/grafana(Ubuntu:16.04) | = 2.6.0+dfsg-1 | No fix listed |
References
- https://github.com/grafana/grafana/security/advisories/GHSA-4724-7jwc-3fpw issue-tracking third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/grafana/grafana/pull/60232 issue-tracking patch third-party-advisory
- https://github.com/grafana/grafana/pull/60256 issue-tracking patch third-party-advisory
- https://github.com/grafana/grafana/commit/239888f22983010576bb3a9135a7294e88c0c74a issue-tracking patch third-party-advisory
- https://github.com/grafana/grafana/commit/d7dcea71ea763780dc286792a0afd560bff2985c issue-tracking patch third-party-advisory
- github.com product
- github.com
- security.netapp.com
- ubuntu.com issue-tracking
- www.cve.org issue-tracking
- ENISA EUVD EUVD-2024-1406 third-party-advisory