Vulnerability · Published Feb 22, 2021 · Assigned by mitre
CVE-2021-27228
Critical 9.8
In plain English
A critical-severity security flaw in the affected software. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 78% of all known vulnerabilities).
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.
Affected products (as reported)
References
- https://shinobi.video/ x_refsource_MISC
- https://gitlab.com/Shinobi-Systems/Shinobi/-/tags x_refsource_MISC
- https://gitlab.com/Shinobi-Systems/Shinobi/-/merge_requests/286 x_refsource_MISC