Summary
Detail | |||
---|---|---|---|
Vendor | Apache | First view | 2017-03-10 |
Product | Struts | Last view | 2023-12-07 |
Version | 2.5.1 | Type | Application |
Update | * | ||
Edition | * | ||
Language | * | ||
Sofware Edition | * | ||
Target Software | * | ||
Target Hardware | * | ||
Other | * | ||
CPE Product | cpe:2.3:a:apache:struts |
Activity : Overall
Related : CVE
Date | Alert | Description | |
---|---|---|---|
9.8 | 2023-12-07 | CVE-2023-50164 | An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to perform Remote Code Execution. Users are recommended to upgrade to versions Struts 2.5.33 or Struts 6.3.0.2 or greater to fix this issue. |
7.5 | 2023-12-05 | CVE-2023-41835 | When a Multipart request is performed but some of the fields exceed the maxStringLength limit, the upload files will remain in struts.multipart.saveDir even if the request has been denied. Users are recommended to upgrade to versions Struts 2.5.32 or 6.1.2.2 or Struts 6.3.0.1 or greater, which fixe this issue. |
7.5 | 2023-06-14 | CVE-2023-34396 | Allocation of Resources Without Limits or Throttling vulnerability in Apache Software Foundation Apache Struts.This issue affects Apache Struts: through 2.5.30, through 6.1.2. Upgrade to Struts 2.5.31 or 6.1.2.1 or greater |
6.5 | 2023-06-14 | CVE-2023-34149 | Allocation of Resources Without Limits or Throttling vulnerability in Apache Software Foundation Apache Struts.This issue affects Apache Struts: through 2.5.30, through 6.1.2. Upgrade to Struts 2.5.31 or 6.1.2.1 or greater. |
9.8 | 2022-04-12 | CVE-2021-31805 | The fix issued for CVE-2020-17530 was incomplete. So from Apache Struts 2.0.0 to 2.5.29, still some of the tag’s attributes could perform a double evaluation if a developer applied forced OGNL evaluation by using the %{...} syntax. Using forced OGNL evaluation on untrusted user input can lead to a Remote Code Execution and security degradation. |
6.8 | 2020-12-16 | CVE-2020-26259 | XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.15, is vulnerable to an Arbitrary File Deletion on the local host when unmarshalling. The vulnerability may allow a remote attacker to delete arbitrary know files on the host as log as the executing process has sufficient rights only by manipulating the processed input stream. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.15. The reported vulnerability does not exist running Java 15 or higher. No user is affected, who followed the recommendation to setup XStream's Security Framework with a whitelist! Anyone relying on XStream's default blacklist can immediately switch to a whilelist for the allowed types to avoid the vulnerability. Users of XStream 1.4.14 or below who still want to use XStream default blacklist can use a workaround described in more detailed in the referenced advisories. |
7.7 | 2020-12-16 | CVE-2020-26258 | XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.15, a Server-Side Forgery Request vulnerability can be activated when unmarshalling. The vulnerability may allow a remote attacker to request data from internal resources that are not publicly available only by manipulating the processed input stream. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.15. The reported vulnerability does not exist if running Java 15 or higher. No user is affected who followed the recommendation to setup XStream's Security Framework with a whitelist! Anyone relying on XStream's default blacklist can immediately switch to a whilelist for the allowed types to avoid the vulnerability. Users of XStream 1.4.14 or below who still want to use XStream default blacklist can use a workaround described in more detailed in the referenced advisories. |
9.8 | 2020-12-11 | CVE-2020-17530 | Forced OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution. Affected software : Apache Struts 2.0.0 - Struts 2.5.25. |
7.5 | 2020-09-14 | CVE-2019-0233 | An access permission override in Apache Struts 2.0.0 to 2.5.20 may cause a Denial of Service when performing a file upload. |
9.8 | 2020-09-14 | CVE-2019-0230 | Apache Struts 2.0.0 to 2.5.20 forced double OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution. |
8.1 | 2018-08-22 | CVE-2018-11776 | Apache Struts versions 2.3 to 2.3.34 and 2.5 to 2.5.16 suffer from possible Remote Code Execution when alwaysSelectFullNamespace is true (either by user or a plugin like Convention Plugin) and then: results are used with no namespace and in same time, its upper package have no or wildcard namespace and similar to results, same possibility when using url tag which doesn't have value and action set and in same time, its upper package have no or wildcard namespace. |
7.5 | 2018-03-27 | CVE-2018-1327 | The Apache Struts REST Plugin is using XStream library which is vulnerable and allow perform a DoS attack when using a malicious request with specially crafted XML payload. Upgrade to the Apache Struts version 2.5.16 and switch to an optional Jackson XML handler as described here http://struts.apache.org/plugins/rest/#custom-contenttypehandlers. Another option is to implement a custom XML handler based on the Jackson XML handler from the Apache Struts 2.5.16. |
6.2 | 2017-12-01 | CVE-2017-15707 | In Apache Struts 2.5 to 2.5.14, the REST Plugin is using an outdated JSON-lib library which is vulnerable and allow perform a DoS attack using malicious request with specially crafted JSON payload. |
7.5 | 2017-09-20 | CVE-2017-9804 | In Apache Struts 2.3.7 through 2.3.33 and 2.5 through 2.5.12, if an application allows entering a 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. NOTE: this vulnerability exists because of an incomplete fix for S2-047 / CVE-2017-7672. |
7.5 | 2017-09-20 | CVE-2017-9793 | The REST Plugin in Apache Struts 2.1.x, 2.3.7 through 2.3.33 and 2.5 through 2.5.12 is using an outdated XStream library which is vulnerable and allow perform a DoS attack using malicious request with specially crafted XML payload. |
9.8 | 2017-09-20 | CVE-2017-12611 | In Apache Struts 2.0.0 through 2.3.33 and 2.5 through 2.5.10.1, using an unintentional expression in a Freemarker tag instead of string literals can lead to a RCE attack. |
5.9 | 2017-09-20 | CVE-2016-8738 | In Apache Struts 2.5 through 2.5.5, if an application allows entering a URL in a form field and the 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. |
8.1 | 2017-09-15 | CVE-2017-9805 | The REST Plugin in Apache Struts 2.1.1 through 2.3.x before 2.3.34 and 2.5.x before 2.5.13 uses an XStreamHandler with an instance of XStream for deserialization without any type filtering, which can lead to Remote Code Execution when deserializing XML payloads. |
7.5 | 2017-07-13 | CVE-2017-9787 | When using a Spring AOP functionality to secure Struts actions it is possible to perform a DoS attack. Solution is to upgrade to Apache Struts version 2.5.12 or 2.3.33. |
5.9 | 2017-07-13 | 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. Solution is to upgrade to Apache Struts version 2.5.12. |
9.8 | 2017-03-10 | CVE-2017-5638 | The Jakarta Multipart parser in Apache Struts 2 2.3.x before 2.3.32 and 2.5.x before 2.5.10.1 has incorrect exception handling and error-message generation during file-upload attempts, which allows remote attackers to execute arbitrary commands via a crafted Content-Type, Content-Disposition, or Content-Length HTTP header, as exploited in the wild in March 2017 with a Content-Type header containing a #cmd= string. |
CWE : Common Weakness Enumeration
% | id | Name |
---|---|---|
54% (6) | CWE-20 | Improper Input Validation |
9% (1) | CWE-755 | Improper Handling of Exceptional Conditions |
9% (1) | CWE-502 | Deserialization of Untrusted Data |
9% (1) | CWE-459 | Incomplete Cleanup |
9% (1) | CWE-281 | Improper Preservation of Permissions |
9% (1) | CWE-78 | Improper Sanitization of Special Elements used in an OS Command ('O... |
SAINT Exploits
Description | Link |
---|---|
Apache Struts file upload directory traversal | More info here |
Apache Struts forced OGNL evaluation | More info here |
Apache Struts 2 Jakarta Multipart Parser file upload command execution | More info here |
Apache Struts undefined namespace vulnerability | More info here |
Apache Struts double OGNL evaluation | More info here |
Apache Struts REST plugin XStream deserialization vulnerability | More info here |
Apache Struts forced OGNL evaluation incomplete fix | More info here |
Snort® IPS/IDS
Date | Description |
---|---|
2020-11-18 | Apache Struts denial of service attempt RuleID : 56001 - Type : SERVER-APACHE - Revision : 1 |
2020-11-18 | Apache Struts denial of service attempt RuleID : 56000 - Type : SERVER-APACHE - Revision : 1 |
2020-11-18 | Apache Struts denial of service attempt RuleID : 55999 - Type : SERVER-APACHE - Revision : 1 |
2019-09-17 | XStream void primitive denial of service attempt RuleID : 51020 - Type : SERVER-WEBAPP - Revision : 1 |
2019-04-11 | Apache Struts remote code execution attempt RuleID : 49377 - Type : SERVER-APACHE - Revision : 1 |
2019-04-11 | Apache Struts remote code execution attempt RuleID : 49376 - Type : SERVER-APACHE - Revision : 2 |
2018-10-09 | Apache Struts ognl remote code execution attempt RuleID : 47691 - Type : SERVER-APACHE - Revision : 1 |
2018-10-09 | Apache Struts java.lang.ProcessBuilder class access attempt RuleID : 47690 - Type : SERVER-APACHE - Revision : 2 |
2018-10-09 | Apache Struts java.net.Socket class access attempt RuleID : 47689 - Type : SERVER-APACHE - Revision : 1 |
2018-09-27 | Apache Struts remote code execution attempt RuleID : 47649 - Type : SERVER-WEBAPP - Revision : 1 |
2018-09-25 | Apache Struts OGNL getRuntime.exec static method access attempt RuleID : 47634 - Type : SERVER-APACHE - Revision : 1 |
2017-10-19 | XStream void primitive denial of service attempt RuleID : 44373 - Type : SERVER-WEBAPP - Revision : 4 |
2017-10-10 | Apache Struts freemarker tag OGNL expression injection attempt RuleID : 44330 - Type : SERVER-APACHE - Revision : 2 |
2017-10-10 | Apache Struts freemarker tag OGNL expression injection attempt RuleID : 44329 - Type : SERVER-APACHE - Revision : 2 |
2017-10-10 | Apache Struts freemarker tag OGNL expression injection attempt RuleID : 44328 - Type : SERVER-APACHE - Revision : 3 |
2017-10-10 | Apache Struts freemarker tag OGNL expression injection attempt RuleID : 44327 - Type : SERVER-APACHE - Revision : 3 |
2017-10-10 | Java XML deserialization remote code execution attempt RuleID : 44315 - Type : SERVER-WEBAPP - Revision : 3 |
2017-04-12 | Apache Struts remote code execution attempt RuleID : 41923 - Type : SERVER-APACHE - Revision : 4 |
2017-04-12 | Apache Struts remote code execution attempt RuleID : 41922 - Type : SERVER-APACHE - Revision : 4 |
2017-04-12 | Apache Struts remote code execution attempt RuleID : 41819 - Type : SERVER-APACHE - Revision : 3 |
2017-04-12 | Apache Struts remote code execution attempt RuleID : 41818 - Type : SERVER-APACHE - Revision : 4 |
2016-07-13 | Apache Struts remote code execution attempt RuleID : 39191 - Type : SERVER-APACHE - Revision : 3 |
2016-07-13 | Apache Struts remote code execution attempt RuleID : 39190 - Type : SERVER-APACHE - Revision : 3 |
2014-03-13 | Apache Struts wildcard matching OGNL remote code execution attempt RuleID : 29639 - Type : SERVER-APACHE - Revision : 4 |
2014-03-06 | Apache Struts wildcard matching OGNL remote code execution attempt RuleID : 29592 - Type : SERVER-APACHE - Revision : 4 |
Nessus® Vulnerability Scanner
id | Description |
---|---|
2018-09-05 | Name: The remote device is missing a vendor-supplied security patch. File: cisco-sa-20180823-apache-struts-cups.nasl - Type: ACT_GATHER_INFO |
2018-09-05 | Name: The remote device is affected by an information disclosure vulnerability. File: cisco-sa-20180823-apache-struts-ucm.nasl - Type: ACT_GATHER_INFO |
2018-08-31 | Name: The remote device is missing a vendor-supplied security patch. File: cisco-sa-20180823-apache-struts-ise.nasl - Type: ACT_GATHER_INFO |
2017-12-04 | Name: A web application running on the remote host uses a Java framework that is af... File: struts_2_5_14_1.nasl - Type: ACT_GATHER_INFO |
2017-09-28 | Name: A web application running on the remote host is affected by a denial of servi... File: mysql_enterprise_monitor_3_4_3_4225.nasl - Type: ACT_GATHER_INFO |
2017-09-06 | Name: The remote web server contains a web application that uses a Java framework t... File: struts_2_5_13_rest_rce.nasl - Type: ACT_ATTACK |
2017-09-05 | Name: A web application running on the remote host uses a Java framework that is af... File: struts_2_5_13.nasl - Type: ACT_GATHER_INFO |
2017-07-19 | Name: An application server installed on the remote host is affected by multiple vu... File: oracle_weblogic_server_cpu_jul_2017.nasl - Type: ACT_GATHER_INFO |
2017-07-14 | Name: A web application running on the remote host uses a Java framework that is af... File: struts_2_5_12.nasl - Type: ACT_GATHER_INFO |
2017-04-21 | Name: A web application running on the remote host is affected by multiple vulnerab... File: mysql_enterprise_monitor_3_3_3_1199.nasl - Type: ACT_GATHER_INFO |
2017-04-21 | Name: An application server installed on the remote host is affected by multiple vu... File: oracle_weblogic_server_cpu_apr_2017.nasl - Type: ACT_GATHER_INFO |
2017-03-08 | Name: The remote web server contains a web application that uses a Java framework t... File: struts_2_5_10_1_rce.nasl - Type: ACT_ATTACK |
2017-03-07 | Name: The remote host contains a web application that uses a Java framework that is... File: struts_2_5_10_1_win_local.nasl - Type: ACT_GATHER_INFO |
2016-12-15 | Name: The remote Windows host contains a web application that uses a Java framework... File: struts_2_5_8_win_local.nasl - Type: ACT_GATHER_INFO |