org.apache.struts:struts2-core@2.3.16 vulnerabilities
-
latest version
6.3.0.2
-
latest non vulnerable version
-
first published
17 years ago
-
latest version published
5 months ago
-
licenses detected
- [2.0.5,)
-
package manager
Direct Vulnerabilities
Known vulnerabilities in the org.apache.struts:struts2-core package. This does not include vulnerabilities belonging to this package’s dependencies.
Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.Vulnerability | Vulnerable Version |
---|---|
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 Remote Code Execution (RCE) via manipulation of file upload parameters that enable path traversal. Under certain conditions, uploading of a malicious file is possible, which may then be executed on the server. How to fix Remote Code Execution (RCE)? Upgrade |
[,2.5.33)
[6.0.0,6.3.0.2)
|
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 Denial of Service when certain fields exceed the How to fix Denial of Service? Upgrade |
[,2.5.32)
[6.0.0,6.1.2.2)
[6.2.0,6.3.0.1)
|
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 Allocation of Resources Without Limits or Throttling due to improper handling of How to fix Allocation of Resources Without Limits or Throttling? Upgrade |
[2.0.0,2.5.31)
[6.1.2,6.1.2.1)
|
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 Remote Code Execution (RCE). The fix issued for CVE-2020-17530 was incomplete. Some of the tag’s attributes could perform a double evaluation if a developer applied forced OGNL evaluation by using the How to fix Remote Code Execution (RCE)? Upgrade |
[2.0.0,2.5.30)
|
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 Remote Code Execution (RCE). The vulnerability exists due to improper input validation when processing certain tag's attributes. The application performs double evaluation of the code if a developer applied forced OGNL evaluation by using the Successful exploitation of this vulnerability may result in complete compromise of vulnerable system. How to fix Remote Code Execution (RCE)? Upgrade |
[2.0.0,2.5.26)
|
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 Unrestricted Upload of File with Dangerous Type. A local code execution issue exists in Apache Struts2 when processing malformed XSLT files, which could let a malicious user upload and execute arbitrary files. How to fix Unrestricted Upload of File with Dangerous Type? Upgrade |
[,2.5)
|
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 Denial of Service (DoS). When a file upload is performed to an How to fix Denial of Service (DoS)? Upgrade |
[2.0.0,2.5.22)
|
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 Remote Code Execution (RCE). Forced double OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution. How to fix Remote Code Execution (RCE)? Upgrade |
[2.0.0,2.5.22)
|
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 Remote Code Execution. When the namespace value is not set for a result defined in underlying xml configurations, and in same time, its upper action(s) configurations have no or wildcard namespace, an attacker may be able to conduct a remote code execution attack. They could also use the opportunity when using a url tag which does not have a value and action set and in same time, its upper action(s) configurations have no or wildcard namespace. How to fix Remote Code Execution? Upgrade |
[2.3.0,2.3.35)
[2.5.0,2.5.17)
|
Apache Struts2 is a popular open-source framework for developing web applications in the Java programming language. Affected versions of this package are vulnerable to Denial of Service (ReDoS) attacks. The REST Plugin is using outdated XStream library which is vulnerable and allow perform a DoS attack using malicious request with specially crafted XML payload. How to fix Denial of Service (DoS)? Upgrade |
[2.3.7,2.3.34)
[2.5,2.5.13)
|
Apache Struts2 is a popular open-source framework for developing web applications in the Java programming language. Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks. This is due to an incomplete fix for CVE-2017-7672. If an application allows enter an URL in a form field and built-in URLValidator is used, it is possible to prepare a special URL which will be used to overload server process when performing validation of the URL. How to fix Denial of Service (DoS)? Upgrade |
[2.3.7,2.3.34)
[2.5,2.5.13)
|
Apache Struts2 is a popular open-source framework for developing web applications in the Java programming language. Affected versions of this package are vulnerable to Denial of Service (DoS) attacks. When using a Spring AOP functionality to secure Struts actions it is possible to perform a DoS attack. How to fix Denial of Service (DoS)? Upgrade |
[2.3.7,2.3.33)
[2.5,2.5.12)
|
Apache Struts2 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. Using expression literals or forcing expressions in Freemarker tags (see example snippet below), and using request values can lead to remote code execution.
In both cases a writable property is used in the value attribute and in both cases this is treated as an expression by Freemarker. Please be aware that using Struts expression evaluation style is safe:
How to fix Arbitrary Code Execution? Developers are strongly advised to upgrade their Apache Struts components to version |
[,2.3.34)
[2.4,2.5.12)
|
Apache Struts2 is a popular open-source framework for developing web applications in the Java programming language. The REST Plugin in affected versions use a A working exploit is publicly available and is actively exploited in the wild. You can read more about this vulnerability on our blog. DetailsSerialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating object from sequence of bytes is called deserialization. Serialization is commonly used for communication (sharing objects between multiple hosts) and persistence (store the object state in a file or a database). It is an integral part of popular protocols like Remote Method Invocation (RMI), Java Management Extension (JMX), Java Messaging System (JMS), Action Message Format (AMF), Java Server Faces (JSF) ViewState, etc. Deserialization of untrusted data (CWE-502), is when the application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, letting the attacker control the state or the flow of the execution. Java deserialization issues have been known for years. However, interest in the issue intensified greatly in 2015, when classes that could be abused to achieve remote code execution were found in a popular library (Apache Commons Collection). These classes were used in zero-days affecting IBM WebSphere, Oracle WebLogic and many other products. An attacker just needs to identify a piece of software that has both a vulnerable class on its path, and performs deserialization on untrusted data. Then all they need to do is send the payload into the deserializer, getting the command executed.
How to fix Arbitrary Command Execution? Developers are strongly advised to upgrade their Apache Struts components to version It is possible that some REST actions stop working because of applied default restrictions on available classes. In this case please investigate the new interfaces that were introduced to allow class restrictions per action, those interfaces are:
If for some reason upgrading is not an option, consider the following workarounds:
|
[,2.3.34)
[2.4,2.5.13)
|
Affected versions of the package are vulnerable to Arbitrary Command Execution while uploading files with the Jakarta Multipart parser. This particular vulnerability can be exploited by an attacker by sending a crafted request to upload a file to the vulnerable server that uses a Jakarta-based plugin to process the upload request. The attacker can then send malicious code in the Although maintainers of the open source project immediately patched the vulnerability, Struts servers that have yet to install the update remain under attack by hackers who exploit it to inject commands of their choice. This attack can be achieved without authentication. To make matters worse, web applications don't necessarily need to successfully upload a malicious file to exploit this vulnerability, as just the presence of the vulnerable Struts library within an application is enough to exploit the vulnerability. How to fix Arbitrary Code Execution? Upgrade |
[2.3.7,2.3.32)
[2.5.0,2.5.10.1)
|
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 Improper Action Name Cleanup. It allowed attackers to have unspecified impact via vectors related to improper action name clean up. How to fix Improper Action Name Cleanup? Upgrade |
[2.0.0,2.3.29)
[2.5,2.5.1)
|
|
[2,2.3.20.2)
[2.3.24,2.3.24.3)
[2.3.28,2.3.28.1)
|
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. How to fix Command Injection? Upgrade |
[2.0.0,2.3.20.2)
[2.3.24,2.3.24.2)
[2.3.28,2.3.28.1)
|
Affected versions of this package are vulnerable to Arbitrary Code Execution. It allows remote attackers to execute arbitrary code via the stylesheet location parameter. How to fix Arbitrary Code Execution? Upgrade |
[2,2.3.20.2)
[2.3.24,2.3.24.2)
[2.3.28,2.3.28.1)
|
|
[,2.3.28)
|
|
[2,2.3.20)
|
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 Cross-site Scripting (XSS). When debug mode is turned on, under certain conditions an arbitrary script may be executed in the 'Problem Report' screen. Also if JSP files are exposed to be accessed directly it's possible to execute an arbitrary script. How to fix Cross-site Scripting (XSS)? Upgrade |
[2.0.0,2.3.20)
|
|
[2.0.0,2.3.24.1)
|
It uses predictable |
[2.0.0,2.3.20)
|
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. How to fix Classloader manipulation via CookieInterceptor? Upgrade |
[2.0.0,2.3.20)
|
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, How to fix Arbitrary Code Execution? Upgrade |
[2.0.0,2.3.16.2)
|
|
[2,2.3.16.1)
|