Authorization Bypass Through User-Controlled Key Affecting @oneuptime/common-server package, versions <7.0.1815


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ONEUPTIMECOMMONSERVER-6483320
  • published25 Mar 2024
  • disclosed24 Mar 2024
  • creditsaunders-jake

Introduced: 24 Mar 2024

CVE-2024-29194  (opens in a new tab)
CWE-639  (opens in a new tab)

How to fix?

Upgrade @oneuptime/common-server to version 7.0.1815 or higher.

Overview

@oneuptime/common-server is a The OneUptime Common Server Library is a collection of shared components, utilities that are used across the OneUptime platform. This library is built with Node.js and TypeScript. It includes utilities like database connection, and query builders, etc.

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key. 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.

References

CVSS Base Scores

version 3.1