Classloader manipulation via CookieInterceptor Affecting org.apache.struts:struts2-core package, versions [2.0.0, 2.3.20)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.73% (88th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHESTRUTS-30056
  • published5 May 2014
  • disclosed5 May 2014
  • creditZubair Ashraf

Introduced: 5 May 2014

CVE-2014-0116  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade org.apache.struts:struts2-core to version 2.3.20 or higher.

Overview

org.apache.struts:struts2-core is a popular open-source framework for developing web applications in the Java programming language.

Affected versions of this package are vulnerable to Classloader manipulation via CookieInterceptor. When a wildcard cookiesName value is used, CookieInterceptor 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.

CVSS Scores

version 3.1