#VU5930 Code injection in Apache Struts


Published: 2020-03-18 | Updated: 2023-05-11

Vulnerability identifier: #VU5930

Vulnerability risk: Critical

CVSSv3.1: 9.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:H/RL:O/RC:C]

CVE-ID: CVE-2017-5638

CWE-ID: CWE-94

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
Apache Struts
Server applications / Frameworks for developing and running applications

Vendor: Apache Foundation

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to input validation error in the Jakarta based file upload Multipart parser when processing Content-Type HTTP header. A remote attacker can send a specially crafted HTTP POST request containing malicious Content-Type header and execute arbitrary code on the target system with privileges of the Apache Struts user.

Successful exploitation of this vulnerability may allow an attacker to compromise vulnerable system.

Note: this vulnerability is being actively exploited in the wild.

Mitigation
Update to version 2.3.32 or 2.5.10.1.

Vulnerable software versions

Apache Struts: 2.3.5 - 2.5.10


External links
http://cwiki.apache.org/confluence/display/WW/S2-045
http://blog.talosintelligence.com/2017/03/apache-0-day-exploited.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

Yes. This vulnerability is being exploited in the wild.


Latest bulletins with this vulnerability