CVE-2024-29194
JSON

8.3high

OneUptime Vulnerable to a Privilege Escalation via Local Storage Key Manipulation

Severity
8.3high CVSS:3.1 by GitHub_M
Exploit likelihood
0.70% (higher than 54% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-246p-xmg8-wmcq

Description

OneUptime is a solution for monitoring and managing online services. The vulnerability lies in the improper validation of client-side stored data within the web application. Specifically, the is_master_admin 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. This has been patched in 7.0.1815.

Affected

Product or packageVersionsReported by
OneUptime oneuptime< 7.0.1815, before 7.0.1815CVE List
@oneuptime/model (npm)before 7.0.1815GitHub Advisory Database
@oneuptime/common-server (npm)before 7.0.1815GitHub Advisory Database
hackerbay oneuptimefrom 7.0.1803 before 7.0.1815NVD

All scores

GitHub_M8.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
GitHub8.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L

Classification

CWE-639

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

OneUptime is a solution for monitoring and managing online services. The vulnerability lies in the improper validation of client-side stored data within the web application. Specifically, the is_master_admin 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. This has been patched in 7.0.1815.

GitHub Advisory Database

Summary

A security vulnerability exists in oneuptime's local storage handling, where a regular user can escalate privileges by modifying the is_master_admin 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 is_master_admin 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 is_master_admin 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 previlages were disabled except the user list. Where an attacker could see all the list of users who signed up to OneUptome.

Patch

This has been patched in 7.0.1815

NVD (es)

OneUptime es una solución para monitorear y administrar servicios en línea. La vulnerabilidad radica en la validación inadecuada de los datos almacenados del lado del cliente dentro de la aplicación web. Específicamente, un atacante puede manipular la clave is_master_admin, almacenada en el almacenamiento local del navegador. Al cambiar esta clave de falsa a verdadera, la aplicación otorga privilegios administrativos al usuario, sin la validación adecuada del lado del servidor. Esto ha sido parcheado en 7.0.1815.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-29194 changed 2024-08-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-246p-xmg8-wmcq changed 2026-09-10CC-BY-4.0
NVDCVE-2024-29194 changed 2026-06-17Public domain