Server side object manipulation in Apache Struts
Published 13 May 2022 · Updated 2 Dec 2024
Is your project on an affected org.apache.struts:struts2-core?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <2.2.1
- Fixed in
- 2.2.1
mvn versions:use-dep-version -Dincludes=org.apache.struts:struts2-core -DdepVersion=2.2.1 -DforceVersion=trueDetails
OGNL provides, among other features, extensive expression evaluation capabilities. This vulnerability allows a malicious user to bypass the '#'-usage protection built into the ParametersInterceptor, thus being able to manipulate server side context objects. This behavior was already addressed in S2-003, but it turned out that the resulting fix based on whitelisting acceptable parameter names closed the vulnerability only partially.
Is GHSA-x5fc-pgpx-59j5 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.struts:struts2-core, and gives you the command that fixes it.
More advisories for org.apache.struts:struts2-core
- HighCVE-2025-68493Apache Struts 2 is Missing XML Validation · 11 Jan 2026
- HighCVE-2025-66675Apache Struts has a Denial of Service vulnerability · 10 Dec 2025
- HighCVE-2025-64775Apache Struts is Vulnerable to DoS via File Leak · 1 Dec 2025
- CriticalCVE-2024-53677Apache Struts file upload logic is flawed · 11 Dec 2024
- CriticalCVE-2023-50164Apache Struts vulnerable to path traversal · 7 Dec 2023
- HighCVE-2023-41835Apache Struts Improper Control of Dynamically-Managed Code Resources vulnerability · 5 Dec 2023
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2010-1870
- Linkcwiki.apache.org/confluence/display/WW/S2-003
- Packagegithub.com/apache/struts
- Linkblog.o0o.nu/2010/07/cve-2010-1870-struts2xwork-remote.html
- Linkconfluence.atlassian.com/display/FISHEYE/FishEye+Security+Advisory+2010-06-16
- Linkpacketstormsecurity.com/files/159643/LISTSERV-Maestro-9.0-8-Remote-Code-Execution.html
- Linkseclists.org/fulldisclosure/2010/Jul/183
- Linkseclists.org/fulldisclosure/2020/Oct/23
- Linkstruts.apache.org/2.2.1/docs/s2-005.html
- Linktools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20140709-struts2
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.