Authenticated file deletion via unsanitized plugin name
Published Jul 5, 2023 · Updated Oct 24, 2024
Path traversal in Louis Lam's Uptime Kuma before 1.22.1 allows remote authenticated users to delete server files through plugin installation. The installPlugin path in server/plugins-manager.js concatenates an unchecked plugin name with the plugin directory and passes the result to recursive fs.rmSync. Login access to the still-exposed plugin API is required; deletion can crash Uptime Kuma or render the host unavailable through data loss.
Summary
What happened
Path traversal in Louis Lam's Uptime Kuma before 1.22.1 allows remote authenticated users to delete server files through plugin installation. The installPlugin path in server/plugins-manager.js concatenates an unchecked plugin name with the plugin directory and passes the result to recursive fs.rmSync. Login access to the still-exposed plugin API is required; deletion can crash Uptime Kuma or render the host unavailable through data loss.
The record
- CVE
- CVE-2023-36822
- Published
- Jul 5, 2023
- Updated
- Oct 24, 2024
- Vendor
- Louis Lam
- Product
- Uptime Kuma
- Classifications
- CWE-20, CWE-22, T1485
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 5, 2023CVE publishedPublication date reported by the CVE source.
- Oct 24, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <1.22.1
- Affected versionversion=< 1.22.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-vr8x-74pm-6vj7 authenticated deletion proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo