Rapid7 VulnDB

Apache Struts Content-Type arbitrary command execution (CVE-2017-5638)

Back to Search

Apache Struts Content-Type arbitrary command execution (CVE-2017-5638)

Severity
10
CVSS
(AV:N/AC:L/Au:N/C:C/I:C/A:C)
Published
03/09/2017
Created
07/25/2018
Added
03/09/2017
Modified
10/30/2017

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 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.

Solution(s)

  • apache-struts-upgrade-latest

References

  • apache-struts-upgrade-latest

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;