High, CVSS 8.3npmAmendedPublished
OneUptime Vulnerable to a Privilege Escalation via Local Storage Key Manipulation
CVE-2024-29194 · GHSA-246p-xmg8-wmcq
- Affected
- npm @oneuptime/model < 7.0.1815
- Fixed in
- 7.0.1815· Vendor fix available
- Issue
- A security vulnerability exists in oneuptime's local storage handling, where a regular user can escalate privileges by modifying the ismasteradmin key to true. This allows unauthorized access to administrative functionalities. Details The vulnerability lies in the improper validation of client-side stored data within the web application. Specifically, the ismasteradmin key, stored in the local storage of the browser, can be manipulated by an attacker. By changing this key from false to true, the application grants administrative privileges to the user, without proper server-side validation. POC (I am using Firefox Developer to demonstrate this vulnerability) Log in as a normal user. Open developer tools (hit F12), click Storage, then Local Storage. Modify the ismasteradmin key from false to true. Impact This vulnerability represents a high security risk as it allows any authenticated user to gain administrative privileges through client-side manipulation. Most of the admin…
Recommended action: Upgrade to 7.0.1815 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.