org.apache.struts:struts2-core@2.0.11.2 vulnerabilities
-
latest version
6.3.0.2
-
latest non vulnerable version
-
first published
17 years ago
-
latest version published
4 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 Directory Traversal due to improper handling of URI encoding. An attacker can read arbitrary files by utilizing an encoded dot dot slash sequence in a URI that includes a How to fix Directory Traversal? Upgrade |
[2.0.0,2.0.12)
[2.1.0,2.1.6)
|
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)
|
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)
|
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 OGNL Statement Execution. How to fix Arbitrary OGNL Statement Execution? Upgrade |
[2.0.0,2.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 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)
|
|
[,2.2.3.1)
|
|
[,2.3.1.1)
|
|
[,2.3.1.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 Arbitrary Code Execution. ** DISPUTED ** The DebuggingInterceptor component in Apache Struts before 2.3.1.1, when developer mode is used, allows remote attackers to execute arbitrary commands via unspecified vectors. NOTE: the vendor characterizes this behavior as not "a security vulnerability itself." How to fix Arbitrary Code Execution? Upgrade |
[,2.3.1.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 Input Validation. It evaluates a string as an OGNL expression during the handling of a conversion error, which allows remote attackers to modify run-time data values, and consequently execute arbitrary code, via invalid input to a field. How to fix Improper Input Validation? Upgrade |
[2.0.0,2.2.3.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 Arbitrary Code Execution. It allows remote attackers to execute arbitrary OGNL code via a request with a crafted value that contains both "${}" and "%{}" sequences, which causes the OGNL code to be evaluated twice. How to fix Arbitrary Code Execution? Upgrade |
[2.0.0,2.3.14.3)
|
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)
|
|
[,2.3.1.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 Bypass Access Controls. It allows remote attackers to bypass access controls via a crafted action: prefix. How to fix Bypass Access Controls? Upgrade |
[2.0.0,2.3.15.3)
|
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 Dynamic Method Executions. It enables Dynamic Method Invocation by default, which has unknown impact and attack vectors. How to fix Dynamic Method Executions? Upgrade |
[2.0.0,2.3.15.2)
|
|
[2,2.3.15)
|
|
[2.0.0,2.3.15)
|
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 Injection. It allows remote attackers to execute arbitrary OGNL code via a request with a crafted action name that is not properly handled during wildcard matching, a different vulnerability than CVE-2013-2135. How to fix Arbitrary Code Injection? Upgrade |
[2.0.0,2.3.14.3)
|
|
[2,2.3.14.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 Arbitrary Code Injection. Apache Struts 2 before 2.3.14.2 allows remote attackers to execute arbitrary OGNL code via a crafted request that is not properly handled when using the includeParams attribute in the (1) URL or (2) A tag. NOTE: this issue is due to an incomplete fix for CVE-2013-1966. How to fix Arbitrary Code Injection? Upgrade |
[2,2.3.14.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 Arbitrary Code Injection. It allows remote attackers to execute arbitrary OGNL code via a crafted parameter name that is not properly handled when invoking a redirect. How to fix Arbitrary Code Injection? Upgrade |
[2.0.0,2.3.14.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 Cross-site Request Forgery (CSRF). The token check mechanism does not properly validate the token name configuration parameter, which allows remote attackers to perform cross-site request forgery (CSRF) attacks by setting the token name configuration parameter to a session attribute. How to fix Cross-site Request Forgery (CSRF)? Upgrade |
[2.0.0,2.3.4.1)
|
A similar behavior was already addressed in S2-003 and S2-005, but it turned out that the resulting fix based on whitelisting acceptable parameter names closed the vulnerability only partially. Regular expression in ParametersInterceptor matches top'foo' as a valid expression, which OGNL treats as (top['foo'])(0) and evaluates the value of 'foo' action parameter as an OGNL expression. This lets malicious users put arbitrary OGNL statements into any String variable exposed by an action and have it evaluated as an OGNL expression and since OGNL statement is in HTTP parameter value attacker can use blacklisted characters (e.g. #) to disable method execution and execute arbitrary methods, bypassing the ParametersInterceptor and OGNL library protections. |
[2,2.3.1.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 multiple Cross-site Scripting (XSS) vulnerabilities allowing remote attackers to inject arbitrary web script or HTML via vectors involving (1) an action name, (2) the action attribute of an How to fix Cross-site Scripting (XSS)? Upgrade |
[2.0.0,2.2.3)
|
|
[2,2.1.8.1)
|