GitHub Advisory Database
GHSA-wxw2-2mx5-c5qf
Improper Input Validation in OpenSymphony XWork
Details
ParametersInterceptor in OpenSymphony XWork 2.0.x before 2.0.6 and 2.1.x before 2.1.2, as used in Apache Struts and other products, does not properly restrict # (pound sign) references to context objects, which allows remote attackers to execute Object-Graph Navigation Language (OGNL) statements and modify server-side context objects, as demonstrated by use of a \u0023 representation for the # character.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | com.opensymphony:xwork | All versions before 2.0.6 (fixed in 2.0.6) |
| Maven | com.opensymphony:xwork | From 2.1.0 before 2.1.2 (fixed in 2.1.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2008-6504
- https://exchange.xforce.ibmcloud.com/vulnerabilities/46328
- http://fisheye6.atlassian.com/cru/CR-9
- http://issues.apache.org/struts/browse/WW-2692
- http://jira.opensymphony.com/browse/XW-641
- http://secunia.com/advisories/32495
- http://secunia.com/advisories/32497
- http://struts.apache.org/2.x/docs/s2-003.html
- http://web.archive.org/web/20081119232431/jira.opensymphony.com/browse/XW-641
- http://web.archive.org/web/20130807023152/https://fisheye6.atlassian.com/cru/CR-9
- http://www.securityfocus.com/bid/32101
- http://www.vupen.com/english/advisories/2008/3003
- http://www.vupen.com/english/advisories/2008/3004