OneUptime is a solution for monitoring and managing online services. Prior to 10.0.20, OneUptime Synthetic Monitors allow low-privileged project users to submit custom Playwright code that is executed on the oneuptime-probe service. In the current implementation, this untrusted code is run inside Node's vm and is given live host Playwright objects such as browser and page. This creates a distinct server-side RCE primitive: the attacker does not need the classic this.constructor.constructor(...) sandbox escape. Instead, the attacker can directly use the injected Playwright browser object to reach browser.browserType().launch(...) and spawn an arbitrary executable on the probe host/container. This vulnerability is fixed in 10.0.20.
The Synthetic Monitors feature allows project users to submit their own Playwright code, which is then executed by the oneuptime-probe service. This code is executed within the vm mechanism of the Node.js module, however, actual host objects are passed to its environment — including the browser and page objects. An attacker can directly exploit the injected browser object by calling the browser.browserType().launch() method with arbitrary arguments, resulting in execution of an attacker-chosen executable file on the host or in the container. Classical sandbox escape techniques (e.g., this.constructor.constructor) are not required because access to host objects is granted directly.
An attacker with low privileges in the project can execute arbitrary code on the host or container where the oneuptime-probe service is running, which can lead to complete system takeover, data theft, and compromise of service integrity and availability.
OneUptime should be updated to version 10.0.20 or later, in which the vulnerability has been fixed. Details available in the vendor references: https://github.com/OneUptime/oneuptime/security/advisories/GHSA-4j36-39gm-8vq8
OneUptime (Hackerbay) in all versions before 10.0.20 using Synthetic Monitors functionality
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HHackerbay Oneuptime
APPHackerbay< 10.0.20
Related vulnerabilities
Brak uwierzytelnienia w endpointach workflow w OneUptime (RCE)
Brak uwierzytelnienia w API powiadomień OneUptime — obejście autoryzacji
OneUptime: nieautoryzowany dostęp do endpointów powiadomień i zarządzania numerami
RCE w OneUptime — command injection przez Playwright w Synthetic Monitor
SQL Injection w OneUptime — nieautoryzowany dostęp do bazy i potencjalny RCE