CONTENTUM.COMA specialist. A plan. A result.

Exploited vulnerabilities · Apache

CVE-2017-5638
Apache Struts Remote Code Execution Vulnerability

Apache Struts Jakarta Multipart parser allows for malicious file upload using the Content-Type value, leading to remote code execution.

Description in the NVD

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.

Required action according to CISA

Apply updates per vendor instructions.

What to do now

  • Check your exposureFind out whether Apache Struts runs anywhere in your environment, including systems of suppliers.
  • Patch or mitigateApply the vendor update. If that is not possible at once, use the vendor's mitigation or take the system off the network.
  • Look for signs of an attackThis vulnerability is exploited in real attacks. Review the logs of affected systems for the time before the patch.

References

More exploited vulnerabilities in Apache products

Data: CISA Known Exploited Vulnerabilities Catalog and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.