Erugo 0.2.15 through 0.3.2 Path Traversal via NUL Bytes in sanitizePath
Summary
Erugo 0.2.15 through 0.3.2 contains a path traversal vulnerability in UploadsController::sanitizePath that allows authenticated users to create directories outside the share root via NUL byte segments. Attackers can supply filePaths containing '.', NUL, '.' segments that become '..' after sanitizati...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| ErugoOSSErugo |
0.2.15 – 0.3.2→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Erugo 0.2.15 through 0.3.2 contains a path traversal vulnerability in UploadsController::sanitizePath that allows authenticated users to create directories outside the share root via NUL byte segments. Attackers can supply filePaths containing '.', NUL, '.' segments that become '..' after sanitization, causing recursive mkdir to create empty directory trees in web-server-writable locations.
Source: CVE.org (CVE Program・cvelistV5) NVD