Command Injection Affecting org.apache.struts:struts2-core package, versions [2.0.0, 2.3.20.2)[2.3.24, 2.3.24.2)[2.3.28, 2.3.28.1)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Mature
EPSS
97.5% (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 Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHESTRUTS-30770
  • published22 Apr 2016
  • disclosed22 Apr 2016
  • creditUnknown

Introduced: 22 Apr 2016

CVE-2016-3081  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade org.apache.struts:struts2-core to version 2.3.20.2, 2.3.24.2, 2.3.28.1 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 Command Injection. When Dynamic Method Invocation was enabled, a remote attackers could execute arbitrary code via the prefix method, related to chained expressions.

CVSS Scores

version 3.1