Arbitrary OGNL Statement Execution Affecting com.opensymphony:xwork package, versions [2.0.0, 2.0.6)[2.1.0, 2.1.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
4.99% (93rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary OGNL Statement Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-COMOPENSYMPHONY-30084
  • published25 Dec 2016
  • disclosed12 Jun 2008
  • creditUnknown

Introduced: 12 Jun 2008

CVE-2008-6504  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade com.opensymphony:xwork to version 2.0.6, 2.1.2 or higher.

Overview

com.opensymphony:xwork is a generic command pattern framework. It forms the core of Struts 2.

Affected versions of this package are vulnerable to Arbitrary OGNL Statement Execution. ParametersInterceptor 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.

CVSS Scores

version 3.1