MODERATE

CVE-2007-4556

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
opensymphony » xwork
< 1.2.3>= 2.0.0, < 2.0.4
1.2.3, 2.0.4

Blast radius

1affected artifacts
58affected versions
459dependent artifacts (est.)
323,347dependent versions

29% of the dependent artifacts (134) still pull an affected version in their latest release.

DepthDependent versions
Direct
6,694
2 hops
194,892
3 hops
63,032
4 hops
32,156
5 hops
16,027
6 hops
10,546

Most used dependents

Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Webstruts.apache.org