ID:4948 - Exploit for Code Injection in Apache Struts - CVE-2012-0391

 
Main Vulnerability Database Exploits ID:4948 - Exploit for Code Injection in Apache Struts - CVE-2012-0391

ID:4948 - Exploit for Code Injection in Apache Struts - CVE-2012-0391

Published: December 17, 2020


Vulnerability identifier: #VU49062
Vulnerability risk: High
CVE-ID: CVE-2012-0391
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 improper input validation within the ExceptionDelegator component in Apache Struts when interpreting parameter values as OGNL expressions during certain exception handling for mismatched data types of properties. A remote attacker can send a specially crafted request and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Remediation

Install updates from vendor's website.