ID:9065 - Exploit for Code injection in Apache Struts - CVE-2017-5638

 
Main Vulnerability Database Exploits ID:9065 - Exploit for Code injection in Apache Struts - CVE-2017-5638

ID:9065 - Exploit for Code injection in Apache Struts - CVE-2017-5638

Published: May 11, 2023


Vulnerability identifier: #VU5930
Vulnerability risk: Critical
CVE-ID: CVE-2017-5638
CWE-ID: CWE-94
Exploitation vector: Remote access
Vulnerable software:
Apache Struts

Link to public exploit:


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


Remediation

Update to version 2.3.32 or 2.5.10.1.