Advisories

Erugo 0.2.15 through 0.3.2 Path Traversal via NUL Bytes in sanitizePath

Go back
Severity
medium
Date
Affecting
  • Erugo >= 0.2.15, <= 0.3.2

CWE
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVSS
5.3
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Credit
Zachariah Mithani (AploSec)
Description
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.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.