ADVISORIES

GitHub Advisory Database

GHSA-hmhq-382q-mp56

ClassLoader manipulation in Apache Struts

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.struts:struts2-core
All versions before 2.3.20 (fixed in 2.3.20)

References