HIGH
GHSA-hmhq-382q-mp56
ClassLoader manipulation in Apache Struts
Quick fix
GHSA-hmhq-382q-mp56 — org.apache.struts:struts2-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.3.20</version> for org.apache.struts:struts2-coreDetails
CookieInterceptor in Apache Struts 2.x 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 modify session state via a crafted request. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-0113.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.apache.struts:struts2-core
Introduced in:
0Fixed in: 2.3.20Fix
# pom.xml: bump <version>2.3.20</version> for org.apache.struts:struts2-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2014-0116[ADVISORY]
- https://github.com/apache/struts/commit/1a668af7f1ffccea4a3b46d8d8c1fe1c7331ff02[WEB]
- https://github.com/apache/struts[PACKAGE]
- http://struts.apache.org/release/2.3.x/docs/s2-022.html[WEB]
- http://www.huawei.com/en/security/psirt/security-bulletins/security-advisories/hw-350733.htm[WEB]