CVE-2012-0392 High Severity Vulnerability detected by WhiteSource
CVE-2012-0392 - High Severity Vulnerability
Vulnerable Libraries - struts2-core-2.0.8.jar, struts2-core-2.0.11.jar
struts2-core-2.0.8.jar
null
path: /java_security_book/Struts2/s2_002/target/struts2-archetype-starter/WEB-INF/lib/struts2-core-2.0.8.jar,/java_security_book/Struts2/s2_001/target/struts2-archetype-starter/WEB-INF/lib/struts2-core-2.0.8.jar,2/repository/org/apache/struts/struts2-core/2.0.8/struts2-core-2.0.8.jar
Dependency Hierarchy:
- :x: struts2-core-2.0.8.jar (Vulnerable Library)
struts2-core-2.0.11.jar
null
path: /java_security_book/Struts2/s2_005/target/struts2-archetype-starter/WEB-INF/lib/struts2-core-2.0.11.jar
Dependency Hierarchy:
- :x: struts2-core-2.0.11.jar (Vulnerable Library)
Vulnerability Details
The CookieInterceptor component in Apache Struts before 2.3.1.1 does not use the parameter-name whitelist, which allows remote attackers to execute arbitrary commands via a crafted HTTP Cookie header that triggers Java code execution through a static method.
Publish Date: 2012-01-08
URL: CVE-2012-0392
CVSS 2 Score Details (9.3)
Base Score Metrics not available
Suggested Fix
Type: Upgrade version
Origin: http://struts.apache.org/2.x/docs/s2-008.html
Release Date: 2017-12-31
Fix Resolution: Developers should immediately upgrade to Struts 2.3.1.1 or read the following solution instructions carefully for a configuration change to mitigate the vulnerability
Step up your Open Source Security Game with WhiteSource here