CVE-2021-27228

An issue was discovered in Shinobi through ocean version 1

published February 22, 2021

CVSS
โ€”
EPSS
2%
Percentile
78.1
In the wild
Unconfirmed
What it is

โš ๏ธ A sneaky flaw in Shinobi could let attackers waltz right in with valid API keys if they know a few JS tricks! ๐Ÿ•ต๏ธโ€โ™‚๏ธ Think of it like a hotel where the front desk incorrectly trusts anyone who knows a specific set of phrases โ€” as long as you can say 'room service,' you get access to any room you want! ๐Ÿจ If exploited, this vulnerability allows attackers to bypass access controls, giving them the power to tap into User, Admin, and Super API functions. This could lead to unauthorized data access or even complete account compromise โ€” an absolute nightmare for security! ๐Ÿ˜ฑ

Put simply

Think of it like a hotel where the front desk incorrectly trusts anyone who knows a specific set of phrases โ€” as long as you can say 'room service,' you get access to any room you want! ๐Ÿจ This vulnerability arises from improper access control in Shinobi's auth.js, where valid API keys are stored in a JS Object. Attackers can leverage JavaScript prototype methods like `constructor` or `hasOwnProperty` to deceive the system into believing they possess legitimate access rights.

What to do

If exploited, this vulnerability allows attackers to bypass access controls, giving them the power to tap into User, Admin, and Super API functions. This could lead to unauthorized data access or even complete account compromise โ€” an absolute nightmare for security! ๐Ÿ˜ฑ To protect your system, update Shinobi to the latest version and review your access control implementation. Additionally, conduct a thorough audit of all API keys to ensure they aren't being improperly accessed. ๐Ÿ›ก๏ธ Youโ€™ve got this! Take these steps and you'll be bolstering your defenses in no time! ๐Ÿ’ชโœจ

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01778 ยท 78.1th percentile
Published
2021-02-22T16:16Z
EPSS history
Timeline
  • 22 FEB 16:16Z
    An issue was discovered in Shinobi through ocean version 1
    cvelistv5