CVE-2007-4556: Apache Struts - Expression Language Injection
- Cve: CVE-2007-4556
- Name: Apache Struts - Expression Language Injection
- Description: 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.
- Impact: Attackers can cause denial of service or execute arbitrary code remotely, leading to system compromise.
- Remediation: Update to OpenSymphony XWork 1.2.3, 2.0.4 or later versions.
- Vulnerability type: expression_language_injection
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.8
- Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
- Epss score: 0.25749
- Epss percentile: 0.98015
- Assignee: [email protected]
- Published at: 2007-08-28T01:17:00Z
- Age in days: 7028
- Modified at: 2026-06-16T22:44:19Z
- Patch available: yes
- References total: 14
- Products total: 1
- Oss: yes
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2007-4556
- Nvd status: modified
- Checked, none or zero: known exploited entries, public exploits total, public exploits capped, public exploits, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-Other | — |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2007-4556 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2007/CVE-2007-4556.yaml |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://forums.opensymphony.com/ann.jspa?annID=54 | Patch, Vendor Advisory |
| http://struts.apache.org/2.x/docs/s2-001.html | Patch, Third Party Advisory |
| http://jira.opensymphony.com/browse/XW-544 | Vendor Advisory |
| http://jira.opensymphony.com/secure/ReleaseNote.jspa?projectId=10050&styleName=Html&version=21701 | Vendor Advisory |
| http://jira.opensymphony.com/secure/ReleaseNote.jspa?projectId=10050&styleName=Html&version=21706 | Vendor Advisory |
| http://wiki.opensymphony.com/display/WW/1.2.3+Press+Release | Vendor Advisory |
| http://issues.apache.org/struts/browse/WW-2030 | Third Party Advisory |
| http://secunia.com/advisories/26681 | Third Party Advisory |
| http://secunia.com/advisories/26693 | Third Party Advisory |
| http://secunia.com/advisories/26694 | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| opensymphony:xwork | >= 2.0.0, <= 2.0.4; < 1.2.3 | no | nvd | /v1/products/opensymphony/xwork |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, initial access since, hackerone reports, exposed hosts