CVE-2023-36822CWE-22

Uptime Kuma authenticated path traversal via plugin repository name may lead to unavailability or data loss

Medium · published July 5, 2023

CVSS v3.1
6.5
EPSS
1%
Percentile
68.3
In the wild
Unconfirmed
What it is

Uptime Kuma, a self-hosted monitoring tool, has a path traversal vulnerability in versions prior to 1.22.1. 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. Before a plugin is downloaded, the plugin installation directory is checked for existence. If it exists, it's removed before the plugin installation. Because the plugin is not validated against the official list of plugins or sanitized, the check for existence and the removal of the plugin installation directory are prone to path traversal. This vulnerability allows an authenticated attacker to delete files from the server Uptime Kuma is running on. Depending on which files are deleted, Uptime Kuma or the whole system may become unavailable due to data loss.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.01213 · 68.3th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2023-07-05T21:18Z
EPSS history
Timeline
  • 05 JUL 21:18Z
    Uptime Kuma authenticated path traversal via plugin repository name may lead to unavailability or data loss
    cvelistv5