Critical, CVSS 9.9MavenPublished
Genie Path Traversal vulnerability via File Uploads
CVE-2024-4701 · GHSA-wpcv-5jgp-69f3
- Affected
- Maven com.netflix.genie:genie-web < 4.3.18
- Fixed in
- 4.3.18· Vendor fix available
- Issue
- Path Traversal Vulnerability via File Uploads in Genie Impact Any Genie OSS users running their own instance and relying on the filesystem to store file attachments submitted to the Genie application may be impacted. Using this technique, it is possible to write a file with any user-specified filename and file contents to any location on the file system that the Java process has write access - potentially leading to remote code execution (RCE). Genie users who do not store these attachments locally on the underlying file system are not vulnerable to this issue. Description Genie's API accepts a multipart/form-data file upload which can be saved to a location on disk. However, it takes a user-supplied filename as part of the request and uses this as the filename when writing the file to disk. Since this filename is user-controlled, it is possible for a malicious actor to manipulate the filename in order to break out of the default attachment storage path and perform path…
Recommended action: Upgrade to 4.3.18 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.