java_security_book icon indicating copy to clipboard operation
java_security_book copied to clipboard

CVE-2010-1870 Medium Severity Vulnerability detected by WhiteSource

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

CVE-2010-1870 - Medium 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

The OGNL extensive expression evaluation capability in XWork in Struts 2.0.0 through 2.1.8.1, as used in Atlassian Fisheye, Crucible, and possibly other products, uses a permissive whitelist, which allows remote attackers to modify server-side context objects and bypass the "#" protection mechanism in ParameterInterceptors via the (1) #context, (2) #_memberAccess, (3) #root, (4) #this, (5) #_typeResolver, (6) #_classResolver, (7) #_traceEvaluations, (8) #_lastEvaluation, (9) #_keepLastEvaluation, and possibly other OGNL context variables, a different vulnerability than CVE-2008-6504.

Publish Date: 2010-08-17

URL: CVE-2010-1870

CVSS 2 Score Details (5.0)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

Origin: http://struts.apache.org/2.2.1/docs/s2-005.html

Release Date: 2017-12-31

Fix Resolution: Developers should immediately upgrade to Struts 2.2.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