ADVISORIES

GitHub Advisory Database

GHSA-h7mf-qrm9-2848

OpenSymphony XWork vulnerable to improper input validation

Moderate CVE-2007-4556

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenopensymphony:xwork
All versions before 1.2.3 (fixed in 1.2.3)
Mavenopensymphony:xwork
From 2.0.0 before 2.0.4 (fixed in 2.0.4)

References