CVE-2008-6504
unknown
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
1.0
Description
Improper Input Validation in OpenSymphony XWork
Predictions
Exploit likelihood
20%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
XWork < 2.0.11.2 - 'ParameterInterceptor' Class OGNL Security Bypass
source: https://www.securityfocus.com/bid/32101/info
XWork is prone to a security-bypass vulnerability because it fails to adequately handle user-supplied input.
Attackers can exploit this issue to manipulate server-side context objects with the privileges of the user running the application. Successful exploits can compromise the application and possibly the underlying computer.
Versions prior to XWork 2.0.6 are vulnerable. Struts 2.0.0 through 2.0.11.2 contain vulnerable versions of XWorks and are therefore also affected.
To set #session.user to '0wn3d':
('\u0023' + 'session[\'user\']')(unused)=0wn3d
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Maven | com.opensymphony:xwork | <2.0.6 | 2.0.6 |
| Maven | com.opensymphony:xwork | >=2.1.0,<2.1.2 | 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
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.