Home
Trends
Vulnerabilities
News
Researchers
Why dbugs?

Ins0

#24192of 53,625
9.8Total CVSS
Vulnerabilities · 1
PT-2021-17335
9.8
2021-02-22
Shinobi · Shinobi · CVE-2021-27228
Name of the Vulnerable Software and Affected Versions: Shinobi through ocean version 1 Description: An issue was discovered in the lib/auth.js file, where Incorrect Access Control allows attackers to bypass API key validation. By utilizing JavaScript Proto Method names, such as `constructor` or `hasOwnProperty`, an attacker can trick the system into believing a supplied API key is valid, thus gaining complete access to User, Admin, and Super API functions. This can be achieved through API endpoints like "/super/constructor/accounts/list". Recommendations: For Shinobi through ocean version 1, consider restricting access to the `lib/auth.js` file and limiting the use of JavaScript Proto Method names to prevent exploitation until a proper fix is implemented. As a temporary workaround, restrict access to sensitive API endpoints, such as "/super/constructor/accounts/list", to minimize the risk of unauthorized access.