Skip to content

CVE-2023-36821 Uptime Kuma vulnerable to authenticated remote code execution via malicious plugin installation

HighCVSS 8.8 EPSS 2.0%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

Uptime Kuma, a self-hosted monitoring tool, allows an authenticated attacker to install a maliciously crafted plugin in versions prior to 1.22.1, which may lead to remote code execution. Uptime Kuma allows authenticated users to install plugins from an official list of plugins. This feature is currently disabled in the web interface, but the corresponding API endpoints are still available after login. After downloading a plugin, it's installed by calling npm install in the installation directory of the plugin. Because the plugin is not validated against the official list of plugins or installed with npm install --ignore-scripts, a maliciously crafted plugin taking advantage of npm scripts can gain remote code execution. Version 1.22.1 contains a patch for this issue.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
npm uptime-kuma(npm) < 1.22.1; <= 1.22.0 1.22.1 Fixed
uptime-kuma project uptime-kuma < 1.22.1 1.22.1 Fixed
louislam/uptime-kuma = < 1.22.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm uptime-kuma(npm) <= 1.22.0 No fix listed
louislam/uptime-kuma = < 1.22.1 No fix listed
uptime-kuma project uptime-kuma < 1.22.1 1.22.1
npm uptime-kuma(npm) < 1.22.1 1.22.1

References