VDB
Sign up
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-core

Details

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.20
Fix# pom.xml: bump <version>2.3.20</version> for org.apache.struts:struts2-core

References