RULE(RULE ID:316984)

Rule General Information
Release Date: 2017-03-30
Rule Name: Apache Struts Jakarta Multipart Parser Remote Code Execution Vulnerability -4 (CVE-2017-5638)
Severity:
CVE ID:
Rule Protection Details
Description: The Jakarta Multipart parser in Apache Struts 2 2.3.x before 2.3.32 and 2.5.x before 2.5.10.1 mishandles file upload, which allows remote attackers to execute arbitrary commands via a #cmd= string in a crafted Content-Type HTTP header.
Impact: An attacker can execute arbitrary code via a successful exploit in the context of the vulnerable software.
Affected OS: Windows, Solaris, Other Unix, FreeBSD, Linux
Reference: SecurityFocusBID:96729
ExploitDB:41614
http://blog.talosintelligence.com/2017/03/apache-0-day-exploited.html
http://blog.trendmicro.com/trendlabs-security-intelligence/cve-2017-5638-apache-struts-vulnerability-remote-code-execution/
Solutions
More advisories have been published on the website, please visit for more suggestions:
https://cwiki.apache.org/confluence/display/WW/S2-045