CVE-2022-21703 Cross Site Request Forgery in Grafana

Medium 6.3 Published Updated

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.

PackageAffectedFixed in
github.com/grafana/grafana/pkg/web GoFrom 3.0-beta17.5.15
github.com/grafana/grafana/pkg/web GoFrom 3.0-beta17.5.15
github.com/grafana/grafana/pkg/web GoFrom 8.0.08.3.5
github.com/grafana/grafana/pkg/web GoFrom 8.0.08.3.5
grafana BitnamiFrom 3.0.17.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.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as BIT-grafana-2022-21703, GHSA-cmf4-h3xc-jw8w, UBUNTU-CVE-2022-21703.

Is CVE-2022-21703 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free