CVE-2023-39141: webui-aria2 Path Traversal vulnerability
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.99248%
CWE
Published
8/22/2023
Updated
3/1/2024
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| webui-aria2 | npm | <= 1.0.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from line 10 in node-server.js where user-controlled URI input is directly used to construct file paths without proper sanitization. The path.join() operation combined with unsanitized URI parameters allows directory traversal attacks. The code subsequently serves files from the constructed path without verifying if it remains within the intended 'docs' directory. This matches the CWE-22 description and the PoC demonstrating access to /etc/passwd confirms the exploitability.