VULNERABILITY INTELLIGENCE

CVE-2021-27228

CVSS score9.8 CRITICAL
EPSS probability1.78%
CISA KEVNot currently listed
Published2021-02-22
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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 classification

  • CWE-798: Use of Hard-coded Credentials

Primary references