CVE-2021-27228

CRITICAL

Shinobi < 1.0 - Incorrect Access Control via Prototype Pollution

Title source: llm
STIX 2.1

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 (3)

Core 3
Core References
Product x_refsource_misc
https://shinobi.video/
Patch, Third Party Advisory x_refsource_misc
https://gitlab.com/Shinobi-Systems/Shinobi/-/tags
Patch, Third Party Advisory x_refsource_misc
https://gitlab.com/Shinobi-Systems/Shinobi/-/merge_requests/286

Scores

CVSS v3 9.8
EPSS 0.0160
EPSS Percentile 72.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-798
Status published
Products (1)
shinobi/shinobi_pro < 1.0
Published Feb 22, 2021
Tracked Since Feb 18, 2026