Struts2漏洞扫描工具发布:支持多版本漏洞检测

需积分: 10 2 下载量 134 浏览量 更新于2024-10-16 收藏 57KB ZIP 举报
资源摘要信息:"Struts2 远程命令执行---检测.zip"是一个针对Struts2框架存在的远程命令执行漏洞进行检测的工具。该工具能够帮助用户检查自己的Struts2应用程序是否存在已知的漏洞,以便及时修复,防止潜在的安全风险。本工具支持检测的漏洞包括但不限于S2-057 CVE-2018-11776、S2-048 CVE-2017-9791、S2-046 CVE-2017-5638、S2-045 CVE-2017-5638、S2-037 CVE-2016-4438、S2-032 CVE-2016-3081、S2-020 CVE-2014-0094、S2-019 CVE-2013-4316等。开发该工具的官方仓库位于GitHub,用户可访问"***"获取更多信息和下载链接。请注意,该工具仅供漏洞自查使用,严禁用于非法攻击他人网站或进行任何形式的非法活动。 从描述中我们可以得知,该工具主要针对的是一系列特定的Struts2框架漏洞。Struts2是一个广泛使用的开源MVC框架,它帮助开发者创建Java EE Web应用程序。由于其广泛的应用,Struts2的安全性受到了广泛关注,尤其是在漏洞修复方面。该工具支持的漏洞检测列表包含了历史上较为著名的Struts2漏洞,每一个漏洞都与特定的CVE(Common Vulnerabilities and Exposures)编号关联,这有助于开发者针对特定的安全缺陷进行精确的检测。 例如,S2-057 CVE-2018-11776漏洞是一个远程代码执行漏洞,它允许攻击者通过发送特定构造的HTTP请求触发应用程序执行任意代码。而S2-048 CVE-2017-9791漏洞则涉及到Struts2框架的一个REST插件,攻击者可以通过该漏洞执行服务器端代码。类似地,S2-046 CVE-2017-5638和S2-037 CVE-2016-4438等漏洞也都允许不同程度的代码执行或命令注入。 这些漏洞的发现和利用可能给应用程序带来严重的安全隐患,可能导致数据泄露、系统控制权被夺取等多种风险。因此,定期进行漏洞检测和及时应用安全补丁是非常重要的安全措施。 在使用此类漏洞检测工具时,开发者和安全测试人员应该遵循合法合规的原则,确保在拥有合法授权的条件下进行安全测试。同时,应当关注Struts2官方发布的安全公告,及时更新到安全的版本,采用最新的安全实践,以减少潜在的安全威胁。 最后,本工具的下载文件名"Struts2 远程命令执行---检测.exe"表明该工具可能是一个可执行文件,用户在使用时应确保来源的安全性,避免下载和运行可能含有恶意软件的程序,以免对系统造成损害或泄露敏感信息。在使用过程中还应当注意查看工具的使用说明,了解其具体用法和检测范围,确保检测过程的正确性和有效性。

192.168.85.1 - - [26/Jun/2022:06:07:07 -0400] "POST /struts2-showcase/index.action HTTP/1.1" 500 24 192.168.85.1 - - [26/Jun/2022:06:07:11 -0400] "POST /struts2-showcase/index.action HTTP/1.1" 500 24 192.168.85.1 - - [26/Jun/2022:06:07:11 -0400] "POST /struts2-showcase/index.action HTTP/1.1" 500 24 192.168.85.1 - - [26/Jun/2022:06:07:11 -0400] "POST /struts2-showcase/index.action HTTP/1.1" 200 12925 192.168.85.1 - - [26/Jun/2022:06:07:11 -0400] "POST /struts2-showcase/index.action HTTP/1.1" 200 12925 192.168.85.1 - - [26/Jun/2022:06:07:11 -0400] "POST /struts2-showcase/index.action HTTP/1.1" 200 12925 192.168.85.1 - - [26/Jun/2022:06:07:11 -0400] "POST /struts2-showcase/index.action HTTP/1.1" 200 14 192.168.85.1 - - [26/Jun/2022:06:08:06 -0400] "POST /struts2-showcase/index.action HTTP/1.1" 500 15 192.168.85.1 - - [26/Jun/2022:06:08:16 -0400] "POST /struts2-showcase/index.action HTTP/1.1" 500 1227 192.168.85.1 - - [26/Jun/2022:06:10:15 -0400] "POST /struts2-showcase/index.action HTTP/1.1" 500 79 192.168.85.1 - - [26/Jun/2022:06:13:25 -0400] "POST /struts2-showcase/index.action HTTP/1.1" 404 752 192.168.85.1 - - [26/Jun/2022:06:16:42 -0400] "POST /struts2-showcase/index.action HTTP/1.1" 500 35 192.168.85.1 - - [26/Jun/2022:06:16:57 -0400] "GET //struts2-showcase/hhh.jsp HTTP/1.1" 403 642 192.168.85.1 - - [26/Jun/2022:06:18:55 -0400] "POST /struts2-showcase/index.action HTTP/1.1" 500 35 192.168.85.1 - - [26/Jun/2022:06:19:02 -0400] "POST /struts2-showcase/index.action HTTP/1.1" 500 35 192.168.85.1 - - [26/Jun/2022:06:19:09 -0400] "GET //struts2-showcase/hhh1.jsp HTTP/1.1" 403 642 192.168.85.1 - - [26/Jun/2022:06:19:34 -0400] "POST /struts2-showcase/index.action HTTP/1.1" 500 400 192.168.85.1 - - [26/Jun/2022:06:20:37 -0400] "POST /struts2-showcase/index.action HTTP/1.1" 500 5 192.168.85.1 - - [26/Jun/2022:06:20:42 -0400] "GET //struts2-showcase/hhh1.jsp HTTP/1.1" 403 642 192.168.85.1 - - [26/Jun/2022:06:20:46 -0400] "GET //struts2-showcase/hhh.jsp HTTP/1.1" 403 642 192.168.85.1 - - [26/Jun/2022:06:20:51 -0400] "GET /struts2-showcase/hhh.jsp HTTP/1.1" 403 642

2023-07-12 上传

我用Spring5的aop应用时报这个错误Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from file [D:\ecliple\web5\WEB-INF\applicationContext.xml]; nested exception is java.nio.file.NoSuchFileException: WEB-INF\applicationContext.xml,他说我的applicationContext.xml文件不存在,可是我明明有这个文件,另外我的web.xml需要更改吗<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0"> <context-param> <param-name>contextConfigLocation </param-name> <param-value>/WEB-INF/applicationContext.xml</param-value> </context-param> <display-name>Struts2</display-name> <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> <filter> <filter-name>struts2</filter-name> <filter-class> org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter </filter-class> </filter> <filter> <filter-name>OpenSessionInViewFilter</filter-name> <filter-class>org.springframework.orm.hibernate5.support.OpenSessionInViewFilter</filter-class> </filter> <filter-mapping> <filter-name>OpenSessionInViewFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>struts2</filter-name> <url-pattern>/* </url-pattern> </filter-mapping> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> </web-app>

2023-05-30 上传