Exploited vulnerabilities · Apache
CVE-2012-0391
Apache Struts 2 Improper Input Validation Vulnerability
The ExceptionDelegator component in Apache Struts 2 before 2.2.3.1 contains an improper input validation vulnerability that allows for remote code execution.
Description in the NVD
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during certain exception handling for mismatched data types of properties, which allows remote attackers to execute arbitrary Java code via a crafted parameter.
Required action according to CISA
Apply updates per vendor instructions.
What to do now
- Check your exposureFind out whether Apache Struts 2 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
- nvd.nist.gov/vuln/detail/CVE-2012-0391
- issues.apache.org/jira/browse/WW-3668
- www.sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt
- github.com/apache/struts/commit/25e50069d60434a30395e3a98357ffba2bed427e
- github.com/apache/struts/commit/5f54b8d087f5125d96838aafa5f64c2190e6885b
- github.com/apache/struts/commit/b4265d369dc29d57a9f2846a85b26598e83f3892
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-0391
- github.com/advisories/GHSA-4wrr-9h5r-m92w
- nvd.nist.gov/vuln/detail/CVE-2012-0391
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.