CVE-2008-6504: OpenSymphony XWork - Expression Language Injection
- Cve: CVE-2008-6504
- Name: OpenSymphony XWork - Expression Language Injection
- Description: 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.
- Impact: Remote attackers can execute arbitrary OGNL statements, potentially leading to server-side object modification or code execution.
- Remediation: Update to version 2.0.6, 2.1.2 or later versions.
- Vulnerability type: expression_language_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5
- Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:N/I:P/A:N
- Epss score: 0.3944
- Epss percentile: 0.98645
- Assignee: [email protected]
- Published at: 2009-03-23T14:19:12Z
- Age in days: 6455
- Modified at: 2026-06-16T23:02:20Z
- Patch available: yes
- Public exploits total: 3
- References total: 11
- Products total: 2
- Oss: yes
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2008-6504
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
Public exploits
Same in every row:
- Source: nvd
- Added date: 2009-03-23
| Url |
|---|
| http://issues.apache.org/struts/browse/WW-2692 |
| http://jira.opensymphony.com/browse/XW-641 |
| http://struts.apache.org/2.x/docs/s2-003.html |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:struts | = 2.0.11.2, = 2.0.11.1, = 2.0.11, = 2.0.9, = 2.0.8, = 2.0.7, = 2.0.6, = 2.0.5, = 2.0.4, = 2.0.3, = 2.0.2, = 2.0.0 | no | nvd | /v1/products/apache/struts |
| opensymphony:xwork | = 2.1.1, = 2.1.0, = 2.0.5, = 2.0.4, = 2.0.3, = 2.0.2, = 2.0.1, = 2.0.0 | no | nvd | /v1/products/opensymphony/xwork |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 3
- Public exploit first date: 2009-03-23
- Remote: yes
- Exposed hosts: 2127
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports