Arbitrary file write via ZIP path traversal
Published Oct 28, 2024 · Updated Oct 29, 2024
Path traversal in MPXJ 8.3.5 through 13.5.0 allows remote attackers to write files outside the extraction directory via crafted ZIP files. The processZipStream method in InputStreamHelper uses a textual canonical-path prefix check for ZIP entry containment, allowing crafted relative traversal to bypass it. Exploitation requires a consuming application to pass an attacker-controlled ZIP file to MPXJ, after which extraction can overwrite files writable by that process.
Summary
What happened
Path traversal in MPXJ 8.3.5 through 13.5.0 allows remote attackers to write files outside the extraction directory via crafted ZIP files. The processZipStream method in InputStreamHelper uses a textual canonical-path prefix check for ZIP entry containment, allowing crafted relative traversal to bypass it. Exploitation requires a consuming application to pass an attacker-controlled ZIP file to MPXJ, after which extraction can overwrite files writable by that process.
The record
- CVE
- CVE-2024-49771
- Published
- Oct 28, 2024
- Updated
- Oct 29, 2024
- Vendor
- MPXJ
- Product
- MPXJ
- Classifications
- CWE-22
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 28, 2024CVE publishedPublication date reported by the CVE source.
- Oct 29, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=8.3.5 <13.5.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo