java_security_book icon indicating copy to clipboard operation
java_security_book copied to clipboard

CVE-2012-0838 High Severity Vulnerability detected by WhiteSource

Open mend-bolt-for-github[bot] opened this issue 7 years ago • 0 comments

CVE-2012-0838 - High Severity Vulnerability

Vulnerable Libraries - xwork-2.0.4.jar, struts2-core-2.0.8.jar, struts2-core-2.0.11.jar

xwork-2.0.4.jar

XWork is an command-pattern framework that is used to power WebWork as well as other applications. XWork provides an Inversion of Control container, a powerful expression language, data type conversion, validation, and pluggable configuration.

path: /java_security_book/Struts2/s2_005/target/struts2-archetype-starter/WEB-INF/lib/xwork-2.0.4.jar

Library home page: http://www.opensymphony.com/xwork/

Dependency Hierarchy:

  • :x: xwork-2.0.4.jar (Vulnerable Library)
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

Apache Struts 2 before 2.2.3.1 evaluates a string as an OGNL expression during the handling of a conversion error, which allows remote attackers to modify run-time data values, and consequently execute arbitrary code, via invalid input to a field.

Publish Date: 2012-03-02

URL: CVE-2012-0838

CVSS 2 Score Details (10.0)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

Origin: http://struts.apache.org/2.3.1.2/docs/s2-007.html

Release Date: 2017-12-31

Fix Resolution: Developers should either upgrade to Struts 2.2.3.1 or apply the configuration changes described below


Step up your Open Source Security Game with WhiteSource here