← Back to CVEs
CVE-2021-27228
CRITICAL9.8
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.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published2/22/2021
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
shinobi:shinobi_pro
Weaknesses (CWE)
CWE-798
References
https://gitlab.com/Shinobi-Systems/Shinobi/-/tags(cve@mitre.org)
https://shinobi.video/(cve@mitre.org)
https://gitlab.com/Shinobi-Systems/Shinobi/-/merge_requests/286(af854a3a-2127-422b-91ae-364da2661108)
https://gitlab.com/Shinobi-Systems/Shinobi/-/tags(af854a3a-2127-422b-91ae-364da2661108)
https://shinobi.video/(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.