Arbitrary OGNL Statemant Execution Affecting opensymphony:xwork package, versions [,2.0.4)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
11.84% (96th 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 Statemant Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-OPENSYMPHONY-472715
  • published10 Oct 2019
  • disclosed27 Aug 2007
  • creditunknown

Introduced: 27 Aug 2007

CVE-2007-4556  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade opensymphony:xwork to version 2.0.4 or higher.

Overview

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 Statemant Execution. It recursively evaluates all input as an Object-Graph Navigation Language (OGNL) expression when altSyntax is enabled, which allows remote attackers to cause a denial of service (infinite loop) or execute arbitrary code via form input beginning with a %{ sequence and ending with a } character.

CVSS Scores

version 3.1