CVE-2023-36821
published 2023-07-05CVE-2023-36821: 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…
PriorityP260high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
1.66%
73.7th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| louislam | uptime-kuma | < 1.22.1 | 1.22.1 |
| louislam | uptime-kuma | >= 0 < 1.22.1 | 1.22.1 |
| uptime-kuma_project | uptime-kuma | < 1.22.1 | 1.22.1 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Uptime Kuma vulnerable to authenticated remote code execution via malicious plugin installation
osv·2024-05-01
CVE-2023-36821 [HIGH] Uptime Kuma vulnerable to authenticated remote code execution via malicious plugin installation
Uptime Kuma vulnerable to authenticated remote code execution via malicious plugin installation
### Summary
Installation of a maliciously crafted plugin allows for remote code execution by an authenticated attacker.
### Details
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:
https://github.com/louislam/uptime-kuma/blob/8c60e902e1c76ecbbd1b0423b07ce615341cb850/server/plugins-manager.js#L210-L216
Because the plugin is not validated against the official list of plugins or installed with `npm install --ignore-scr
GHSA
Uptime Kuma vulnerable to authenticated remote code execution via malicious plugin installation
ghsa·2024-05-01
CVE-2023-36821 [HIGH] CWE-20 Uptime Kuma vulnerable to authenticated remote code execution via malicious plugin installation
Uptime Kuma vulnerable to authenticated remote code execution via malicious plugin installation
### Summary
Installation of a maliciously crafted plugin allows for remote code execution by an authenticated attacker.
### Details
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:
https://github.com/louislam/uptime-kuma/blob/8c60e902e1c76ecbbd1b0423b07ce615341cb850/server/plugins-manager.js#L210-L216
Because the plugin is not validated against the official list of plugins or installed with `npm install --ignore-scr
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/louislam/uptime-kuma/blob/8c60e902e1c76ecbbd1b0423b07ce615341cb850/server/plugins-manager.js#L210-L216https://github.com/louislam/uptime-kuma/pull/3346https://github.com/louislam/uptime-kuma/releases/tag/1.22.1https://github.com/louislam/uptime-kuma/security/advisories/GHSA-7grx-f945-mj96https://github.com/louislam/uptime-kuma/blob/8c60e902e1c76ecbbd1b0423b07ce615341cb850/server/plugins-manager.js#L210-L216https://github.com/louislam/uptime-kuma/pull/3346https://github.com/louislam/uptime-kuma/releases/tag/1.22.1https://github.com/louislam/uptime-kuma/security/advisories/GHSA-7grx-f945-mj96
2023-07-05
Published