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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| opensymphony » xwork | < 1.2.3>= 2.0.0, < 2.0.4 | 1.2.3, 2.0.4 |
Blast radius
29% of the dependent artifacts (134) still pull an affected version in their latest release.
| Depth | Dependent 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
- com.atlassian.confluence » confluence724 usages
- org.apache.struts » struts2-core360 usages
- com.atlassian.bamboo » atlassian-bamboo-web203 usages
- com.atlassian.bamboo » atlassian-bamboo-api171 usages
- com.atlassian.confluence » confluence-test-support158 usages
- com.atlassian.confluence » confluence-webdriver-support143 usages
- com.atlassian.bamboo » atlassian-bamboo-core127 usages
- com.atlassian.confluence » atlassian-confluence-pageobjects119 usages
- com.atlassian.bamboo » atlassian-bamboo-test-utils105 usages
- com.atlassian.confluence.plugins » confluence-functestrpc-plugin77 usages
- opensymphony » webwork75 usages
- com.atlassian.crowd » crowd-core73 usages
- com.atlassian.bamboo » atlassian-bamboo-pageobjects65 usages
- com.atlassian.plugins » atlassian-whitelist-api-plugin53 usages
- com.atlassian.bamboo.plugins » atlassian-bamboo-plugin-test-utils41 usages
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
| Advisory | NVD CVE-2007-4556 | nvd.nist.gov |
| Web | 2.x/docs/s2-001.html | struts.apache.org |
