CVE-2021-27228 Auth bypass in n/a

Critical 9.8 Published Updated

Attackers can bypass authentication using JavaScript prototype pollution techniques to gain unauthorized admin access to the Shinobi video surveillance system.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-27228?

CVE-2021-27228 is a critical authentication bypass vulnerability in n/a, published on 22 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in Shinobi through ocean version 1. lib/auth.js has Incorrect Access Control. Valid API Keys are held in an internal JS Object. Therefore an attacker can use JS Proto Method names (such as constructor or hasOwnProperty) to convince the System that the supplied API Key exists in the underlying JS object, and consequently achieve complete access to User/Admin/Super API functions, as demonstrated by a /super/constructor/accounts/list URI.

Weakness: CWE-798

Which versions are affected by CVE-2021-27228?

It affects 1 product.

Products include Shinobi Shinobi Pro.

How do I fix CVE-2021-27228?

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

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2021-27228 being exploited?

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

Sources

Also known as GHSA-97jg-548g-76gg.

Is CVE-2021-27228 in your software?

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

Check your SBOMs for free