GitHub Advisory Database
GHSA-3c5c-xrq4-qhr8
ClassLoader manipulation in Apache Struts
Details
CookieInterceptor in Apache Struts before 2.3.20, when a wildcard cookiesName value is used, 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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.struts:struts2-core | All versions before 2.3.20 (fixed in 2.3.20) |