目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2021-31805 PoC — Apache Struts 2 安全漏洞

来源
关联漏洞
标题: Apache Struts 2 安全漏洞 (CVE-2021-31805)
Description:Apache Struts 2是美国阿帕奇(Apache)基金会的一个用于开发Java EE网络应用程序的开放源代码网页应用程序架构。 Apache Struts 2.0.0版本至2.5.29版本存在安全漏洞,该漏洞源于对不受信任的用户输入在标签属性中使用强制 OGNL 评估。攻击者可利用该漏洞进行远程代码执行并导致安全性降低。
Description
S2-062 (CVE-2021-31805) / S2-061 / S2-059 RCE
介绍
# CVE-2021-31805
## Remote code execution S2-062 (CVE-2021-31805) Due to Apache Struts2's incomplete fix for S2-061 (CVE-2020-17530), some tag attributes can still execute OGNL expressions, The vulnerability allows an attacker to construct malicious data to remotely execute arbitrary code.
### CVE_2021_31805_POC_EXP.py
#### POC
pocsuite -r CVE_2021_31805_POC_EXP.py -u url

![1649996853(1)](https://user-images.githubusercontent.com/54984589/163518507-b5732b18-a9f7-473b-93a8-712d08e1f7a6.png)

#### EXP
pocsuite -r CVE_2021_31805_POC_EXP.py -u url --attack --command "[command]"

![1650007730(1)](https://user-images.githubusercontent.com/54984589/163539455-ce3e948e-44f0-4879-946e-64687b49368f.png)


# 免责声明
## 此工具仅用于学习、研究和自查。不应将其用于非法目的。使用本工具产生的一切风险与我无关!
# Disclaimer
## This tool is for study, research, and self-examination only. It should not be used for illegal purposes. All risks arising from the use of this tool have nothing to do with me!
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →