Skip to main content
← All vulnerabilities
CVE-2023-36821GHSA-7GRX-F945-MJ96

Uptime Kuma vulnerable to authenticated remote code execution via malicious plugin installation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.22.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • louislam uptime-kuma

    fixed in 1.22.1

  • uptime-kumanpm

    fixed in 1.22.1

References 4

GitHub · louislam/uptime-kuma