ADVISORIES

GitHub Advisory Database

GHSA-prjv-jj26-wf8h

ClassLoader manipulation in Apache Struts

Details

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.

Affected packages

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

References