Skip to content

CVE-2022-39324 Grafana vulnerable to spoofing originalUrl of snapshots

LowCVSS 3.5 EPSS 0.98%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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