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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2021-02-22T16:16:53

Updated: 2024-08-03T20:48:16.135Z

Reserved: 2021-02-16T00:00:00

Link: CVE-2021-27228

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2021-02-22T17:15:12.657

Modified: 2021-02-26T18:23:46.680

Link: CVE-2021-27228

cve-icon Redhat

No data.