Arbitrary Code Execution Affecting org.apache.struts:struts2-core package, versions [2.0.0, 2.3.16.2)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
92.49% (100th 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-30055
  • published25 Apr 2014
  • disclosed25 Apr 2014
  • creditUnknown

Introduced: 25 Apr 2014

CVE-2014-0113  (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.16.2 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 Arbitrary Code Execution. 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 execute arbitrary code via a crafted request. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-0094.

CVSS Scores

version 3.1