首页 AI 资讯 技术前沿 KnowSafe 安全预警:Apache Struts2 目录遍历漏洞(CVE-2023-50164)
技术前沿

KnowSafe 安全预警:Apache Struts2 目录遍历漏洞(CVE-2023-50164)

KnowSafe 安全预警:KnowSafe 安全团队监测到编号 AVD-2023-50164 的安全漏洞(危害等级:高危)已公开披露,相关用户应尽快排查并完成修复。

漏洞介绍

Apache Struts 是一个开源的、用于构建企业级Java Web应用的MVC框架。2023年12月,官方披露 CVE-2023-50164 Apache Struts 文件上传漏洞。

攻击者可以通过污染相关上传参数导致目录遍历,若在具体代码环境中允许上传危险后缀文件(例如 jsp文件),则攻击者可能结合该目录遍历漏洞,可能导致上传webshell 至可解析目录,执行任意代码。

影响范围:

Struts 2.0.0 - Struts 2.3.37

Struts 2.5.0- Struts 2.5.32

Struts 6.0.0- Struts 6.3.0

安全版本

Struts 2.5.33

Struts 6.3.0.2

影响范围

应用:apache struts(影响面 Up to (excluding) 2.5.33)

应用:apache struts(影响面 Up to (excluding) 6.3.0.2)

解决方案

升级至Struts 2.5.33或Struts 6.3.0.2或更高版本

参考信息

http://packetstormsecurity.com/files/176157/Struts-S2-066-File-Upload-Remote-Code-Execution.html

https://cwiki.apache.org/confluence/display/WW/S2-066

https://lists.apache.org/thread/yh09b3fkf6vz5d6jdgrlvmg60lfwtqhj

https://security.netapp.com/advisory/ntap-20231214-0010/

https://www.openwall.com/lists/oss-security/2023/12/07/1

KnowSafe 将持续跟踪该漏洞的利用情况与修复进展,如需漏洞管理与应急响应支持,欢迎联系 KnowSafe 安全团队。