CVE-2021-22957 Cross-site request forgery in UniFi Protect application

High 8.8 Published Updated

A CORS misconfiguration allows attackers to hijack privileged user accounts via malicious links, requiring an upgrade to secure the application.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-22957?

CVE-2021-22957 is a high-severity vulnerability in UniFi Protect application, published on 24 Nov 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A Cross-Origin Resource Sharing (CORS) vulnerability found in UniFi Protect application Version 1.19.2 and earlier allows a malicious actor who has convinced a privileged user to access a URL with malicious code to take over said user’s account.This vulnerability is fixed in UniFi Protect application Version 1.20.0 and later.

Weakness: CWE-16

Which versions are affected by CVE-2021-22957?

It affects 1 product.

Products include Ui Unifi Protect.

How do I fix CVE-2021-22957?

No fix has been published for CVE-2021-22957 yet. Limit exposure of the affected software until one is available.

Is CVE-2021-22957 being exploited?

There is no known exploitation of CVE-2021-22957 in the wild and no public exploit code.

Sources

Also known as GHSA-r234-gvxh-m2fv.

Is CVE-2021-22957 in your software?

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

Check your SBOMs for free