Arbitrary Code Execution Affecting org.apache.struts:struts2-core Open this link in a new tab package, versions [2.0.0, 2.3.16.2)


0.0
high
  • Attack Complexity

    Low

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-id

    SNYK-JAVA-ORGAPACHESTRUTS-30055

  • published

    25 Apr 2014

  • disclosed

    25 Apr 2014

  • credit

    Unknown

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.