CVE-2022-21703 Cross Site Request Forgery in Grafana
Attackers can trick authenticated high-privilege Grafana users into granting them elevated access via cross-site request forgery.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-21703?
CVE-2022-21703 is a medium-severity vulnerability in Fedoraproject Fedora, published on 8 Feb 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Grafana is an open-source platform for monitoring and observability. Affected versions are subject to a cross site request forgery vulnerability which allows attackers to elevate their privileges by mounting cross-origin attacks against authenticated high-privilege Grafana users (for example, Editors or Admins). An attacker can exploit this vulnerability for privilege escalation by tricking an authenticated user into inviting the attacker as a new user with high privileges. Users are advised to upgrade as soon as possible. There are no known workarounds for this issue.
Weakness: CWE-352
Which versions are affected by CVE-2022-21703?
5 open source packages ship an affected version, including github.com/grafana/grafana/pkg/web and grafana. It affects 3 products.
| Package | Affected | Fixed in |
|---|---|---|
github.com/grafana/grafana/pkg/web Go | From 3.0-beta1 | 7.5.15 |
github.com/grafana/grafana/pkg/web Go | From 3.0-beta1 | 7.5.15 |
github.com/grafana/grafana/pkg/web Go | From 8.0.0 | 8.3.5 |
github.com/grafana/grafana/pkg/web Go | From 8.0.0 | 8.3.5 |
grafana Bitnami | From 3.0.1 | 7.5.15, 8.3.5 |
Products include Fedoraproject Fedora, Grafana Grafana, Netapp E-Series Performance Analyzer.
How do I fix CVE-2022-21703?
Upgrade github.com/grafana/grafana/pkg/web to a fixed version for your release line: 7.5.15 or 8.3.5.
Is CVE-2022-21703 being exploited?
There is no known exploitation of CVE-2022-21703 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as BIT-grafana-2022-21703, GHSA-cmf4-h3xc-jw8w, UBUNTU-CVE-2022-21703.