CVE-2017-5638

The Jakarta Multipart parser in Apache Struts 2 2.3.x before 2.3.32 and 2.5.x before 2.5.10.1 has incorrect exception handling and error-message generation during file-upload attempts, which allows remote attackers to execute arbitrary commands via a crafted Content-Type, Content-Disposition, or Content-Length HTTP header, as exploited in the wild in March 2017 with a Content-Type header containing a #cmd= string.

Score
CVSS 3.1 9.8 Critical
Status
Analyzed - security@apache.org
Published
2017-03-11
Last modified
2025-10-21
Known exploited (CISA KEV)
since 2021-11-03, action due 2022-05-03: Apply updates per vendor instructions.
Weaknesses
CWE-755

Affected products

References