Skip to content
OpenAdvisories
Unscored CVE-2021-27228 EUVD-2021-13993GHSA-97jg-548g-76gg

An issue was discovered in Shinobi through ocean version 1. lib/auth.js has Incorrect Access Control. Valid API Keys are held in an interna…

Published Feb 22, 2021 · Updated Aug 3, 2024 · Assigned by mitre

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.

References