Unauthenticated code execution via mixed-case upload parameters
Published Dec 7, 2023 · Updated Mar 14, 2025
Path traversal in Apache Struts 2.0.0 through 2.5.32 and 6.0.0 through 6.3.0.1 allows remote attackers to execute code via file uploads. HttpParameters handles names case-sensitively, letting mixed-case multipart filename parameters evade canonical matching and retain traversal segments. An unauthenticated request can place a malicious file in an executable web path when the application exposes the legacy file-upload mechanism.
Summary
What happened
Path traversal in Apache Struts 2.0.0 through 2.5.32 and 6.0.0 through 6.3.0.1 allows remote attackers to execute code via file uploads. HttpParameters handles names case-sensitively, letting mixed-case multipart filename parameters evade canonical matching and retain traversal segments. An unauthenticated request can place a malicious file in an executable web path when the application exposes the legacy file-upload mechanism.
The record
- CVE
- CVE-2023-50164
- Published
- Dec 7, 2023
- Updated
- Mar 14, 2025
- Vendor
- The Apache Software Foundation
- Product
- Apache Struts
- Classifications
- CWE-552, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 7, 2023CVE publishedPublication date reported by the CVE source.
- Mar 14, 2025Record 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=2.0.0 <=2.5.32
- Affected versionversion=6.0.0 <=6.3.0.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
- Snyk Labs CVE-2023-50164 proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- Malicious activity observed in Canadareported exploitation
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