Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
text4shell-exploit — CVE-2022-42889 - Text4Shell 漏洞利用 | Kitploit
工具/GitHubGitHub/gokul-ramesh/text4shell-exploit
漏洞分析漏洞利用Web应用程序漏洞利用渗透测试Payload 开发
GitHubgokul-ramesh/text4shell-exploit

text4shell-exploit

CVE-2022-42889 - Text4Shell 漏洞利用

查看仓库
133年前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

Text4shell-exploit

这是一个概念验证(PoC),用于利用 Apache Commons Text 中的漏洞 [CVE-2022-42889]

受影响版本:1.5.0 至(不含)1.10.0

影响

成功利用此漏洞,可使未经身份验证的攻击者在易受攻击的资产上执行任意代码

用于验证 PoC 的易受攻击应用程序

由 @securekomodo 开发的应用程序,附加在 此处。

Docker

该应用程序也可以从 docker-registry 加载

root@kitploit:~
docker run -p 8080:8080 gokul2/text4shell-poc:latest

现在该应用程序将在 localhost:8080 上可用。

验证

为了验证任意命令执行,我们使用 interactsh —— 一个由 @projectdiscovery 开发的用于捕获 OOB 交互的工具。

设置 Interactsh-client

在执行实际漏洞利用之前,请先设置好 interactsh 客户端。

root@kitploit:~
docker run projectdiscovery/interactsh-client:latest

记下应用程序启动后列出的域名

root@kitploit:~
[INF] Listing 1 payload for OOB Testing
[INF] xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.oast.pro

用法

root@kitploit:~
python3 exploit.py -u [host] -i [input-file-with-targets] -v [interactsh client domain] -p [proxy(optional)]
python3 exploit.py -u [host] -t [single target path] -v [interactsh client domain] -p [proxy(optional)]

验证

检查 interactsh-client 中的日志,以验证漏洞利用是否成功。

下载工具