CVE-2021-27228
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,…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.60%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.60% probability · 74th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-798
- Affected
- shinobi/shinobi pro
- Source
- cve@mitre.org
References
- https://gitlab.com/Shinobi-Systems/Shinobi/-/merge_requests/286Patch, Third Party Advisory
- https://gitlab.com/Shinobi-Systems/Shinobi/-/tagsPatch, Third Party Advisory
- https://shinobi.video/Product
- https://gitlab.com/Shinobi-Systems/Shinobi/-/merge_requests/286Patch, Third Party Advisory
- https://gitlab.com/Shinobi-Systems/Shinobi/-/tagsPatch, Third Party Advisory
- https://shinobi.video/Product
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.