java_security_book icon indicating copy to clipboard operation
java_security_book copied to clipboard

CVE-2008-6504 Medium Severity Vulnerability detected by WhiteSource

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

CVE-2008-6504 - Medium Severity Vulnerability

Vulnerable Libraries - xwork-2.0.3.jar, xwork-2.0.4.jar

xwork-2.0.3.jar

null

path: /root/.m2/repository/opensymphony/xwork/2.0.3/xwork-2.0.3.jar,/java_security_book/Struts2/s2_001/target/struts2-archetype-starter/WEB-INF/lib/xwork-2.0.3.jar,/java_security_book/Struts2/s2_002/target/struts2-archetype-starter/WEB-INF/lib/xwork-2.0.3.jar

Dependency Hierarchy:

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

Vulnerability Details

ParametersInterceptor in OpenSymphony XWork 2.0.x before 2.0.6 and 2.1.x before 2.1.2, as used in Apache Struts and other products, does not properly restrict # (pound sign) references to context objects, which allows remote attackers to execute Object-Graph Navigation Language (OGNL) statements and modify server-side context objects, as demonstrated by use of a \u0023 representation for the # character.

Publish Date: 2009-03-23

URL: CVE-2008-6504

CVSS 2 Score Details (5.0)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

Origin: http://struts.apache.org/2.x/docs/s2-003.html

Release Date: 2017-12-31

Fix Resolution: Developers should immediately upgrade to Struts 2.0.12 or upgrade to XWork 2.0.6


Step up your Open Source Security Game with WhiteSource here