Vulnerabilityin the org.apache.struts:struts2-core package.
Weaponized: a Metasploit exploit is public.
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.
- Upgrade org.apache.struts:struts2-core (Maven) to 2.2.1 or later.
Not confirmed by any source yet: severity not scored yet. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 10 May 2010CVE ID reserved by mitre.
- 13 Jul 2010Metasploit module: Apache Struts Remote Command Execution.
- 17 Aug 2010Published in the CVE List.
- 7 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Metasploit).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
- confluence.atlassian.com x_refsource_CONFIRM
- www.securityfocus.com vdb-entry, x_refsource_BID
- www.osvdb.org vdb-entry, x_refsource_OSVDB
- struts.apache.org x_refsource_CONFIRM
- secunia.com third-party-advisory, x_refsource_SECUNIA
- blog.o0o.nu x_refsource_MISC
- tools.cisco.com x_refsource_CONFIRM
- seclists.org mailing-list, x_refsource_FULLDISC
- securityreason.com third-party-advisory, x_refsource_SREASON
- seclists.org mailing-list, x_refsource_FULLDISC
- packetstormsecurity.com x_refsource_MISC
Patchminder. CVE-2010-1870: Vulnerability in the org.apache.struts:struts2-core package. https://patchminder.com/cve/cve-2010-1870/ (accessed 5 December 2026).