OpenSymphony XWork vulnerable to improper input validation

Description

XWork is an command-pattern framework that is used to power WebWork as well as other applications. Struts support in OpenSymphony XWork before 1.2.3, and 2.x before 2.0.4, as used in WebWork and Apache Struts, 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.

Note: Version 2.0.4 marks the change from opensymphony:xwork to com.opensymphony:xwork.

Basic information

Type
reviewed
Severity
medium
Advisory on GitHub
Open advisory ↗
Repository advisory
Source code
Not specified
Published (advisory)
2022-05-01 18:24:47 UTC
Updated
2023-09-11 20:52:36 UTC
GitHub reviewed
2022-06-07 23:11:42 UTC
NVD published
2007-08-27

EPSS Score

Score Percentile
2.11% 84.12%

CVSS Scores

No CVSS scores in this advisory.

Identifiers

CWEs

CWE id Name
CWE-20 Improper Input Validation

Affected packages (2)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
maven opensymphony:xwork < 1.2.3 1.2.3
maven opensymphony:xwork >= 2.0.0, <= 2.0.3 2.0.4

References

cvelogic Threat Intelligence