Skip to content
OpenAdvisories
High Public exploit CVE-2014-0112 EUVD-2022-4820GHSA-prjv-jj26-wf8h

ClassLoader manipulation in Apache Struts

Published Apr 29, 2014 · Updated Aug 6, 2024 · Assigned by redhat

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.

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.struts:struts2-core < 2.3.20 2.3.20 GHSA-prjv-jj26-wf8h

Advisories 1

References