ghsa-vr8x-74pm-6vj7
Vulnerability from github
Summary
A path traversal vulnerability via the plugin repository name allows an authenticated attacker to delete files on the server leading to unavailability and potentially data loss.
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. 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.
Impact
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.
{ "affected": [ { "database_specific": { "last_known_affected_version_range": "\u003c= 1.22.0" }, "package": { "ecosystem": "npm", "name": "uptime-kuma" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "1.22.1" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2023-36822" ], "database_specific": { "cwe_ids": [ "CWE-22" ], "github_reviewed": true, "github_reviewed_at": "2024-05-01T10:01:02Z", "nvd_published_at": "2023-07-05T22:15:09Z", "severity": "MODERATE" }, "details": "### Summary\nA path traversal vulnerability via the plugin repository name allows an authenticated attacker to delete files on the server leading to unavailability and potentially data loss.\n\n### Details\nUptime 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.\nBefore a plugin is downloaded, the plugin installation directory is checked for existence. If it exists, it\u0027s removed before the plugin installation.\n\nBecause 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.\n\n### Impact\nThis vulnerability allows an authenticated attacker to delete files from the server Uptime Kuma is running on.\nDepending on which files are deleted, Uptime Kuma or the whole system may become unavailable due to data loss.\n", "id": "GHSA-vr8x-74pm-6vj7", "modified": "2024-05-01T10:01:02Z", "published": "2024-05-01T10:01:02Z", "references": [ { "type": "WEB", "url": "https://github.com/louislam/uptime-kuma/security/advisories/GHSA-vr8x-74pm-6vj7" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-36822" }, { "type": "WEB", "url": "https://github.com/louislam/uptime-kuma/pull/3346" }, { "type": "WEB", "url": "https://github.com/louislam/uptime-kuma/commit/a0736e04b2838aae198c2110db244eab6f87757b" }, { "type": "PACKAGE", "url": "https://github.com/louislam/uptime-kuma" }, { "type": "WEB", "url": "https://github.com/louislam/uptime-kuma/blob/de74efb2e6601dcbcfed32cddefc4078a80fcb0b/server/plugins-manager.js#L75-L80" }, { "type": "WEB", "url": "https://github.com/louislam/uptime-kuma/releases/tag/1.22.1" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "type": "CVSS_V3" } ], "summary": "Uptime Kuma\u0027s authenticated path traversal via plugin repository name may lead to unavailability or data loss" }
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.