
Spring4Shell RCE是一个关键漏洞,FullHunt自其发布以来一直在研究。我们与客户合作,扫描其环境中的Spring4Shell和Spring Cloud RCE漏洞。
我们开源了一个开放式检测扫描工具,用于发现Spring4Shell(CVE-2022-22965)和Spring Cloud RCE(CVE-2022-22963)漏洞。安全团队可用它扫描其基础设施,并测试可能导致成功利用组织环境的WAF绕过方法。
如果您的组织需要帮助,请直接联系 (team at fullhunt.io) 以获取全面的攻击面发现和Spring4Shell漏洞扫描。
$ ./spring4shell-scan.py -h
[•] CVE-2022-22965 - Spring4Shell RCE Scanner
[•] Scanner provided by FullHunt.io - The Next-Gen Attack Surface Management Platform.
[•] Secure your External Attack Surface with FullHunt.io.
usage: spring4shell-scan.py [-h] [-u URL] [-p PROXY] [-l USEDLIST] [--payloads-file PAYLOADS_FILE] [--waf-bypass] [--request-type REQUEST_TYPE] [--test-CVE-2022-22963]
optional arguments:
-h, --help show this help message and exit
-u URL, --url URL Check a single URL.
-p PROXY, --proxy PROXY
Send requests through proxy
-l USEDLIST, --list USEDLIST
Check a list of URLs.
--payloads-file PAYLOADS_FILE
Payloads file - [default: payloads.txt].
--waf-bypass Extend scans with WAF bypass payloads.
--request-type REQUEST_TYPE
Request Type: (get, post, all) - [Default: all].
--test-CVE-2022-22963
Test for CVE-2022-22963 (Spring Cloud RCE).
$ python3 spring4shell-scan.py -u https://spring4shell.lab.secbot.local
$ python3 spring4shell-scan.py -u https://spring4shell.lab.secbot.local --waf-bypass
$ python3 spring4shell-scan.py -l urls.txt
$ python3 spring4shell-scan.py -l urls.txt --test-CVE-2022-22963
$ pip3 install -r requirements.txt
git clone https://github.com/fullhunt/spring4shell-scan.git
cd spring4shell-scan
sudo docker build -t spring4shell-scan .
sudo docker run -it --rm spring4shell-scan
# With URL list "urls.txt" in current directory
docker run -it --rm -v $PWD:/data spring4shell-scan -l /data/urls.txt
FullHunt是新一代攻击面管理(ASM)平台。FullHunt使企业能够发现所有攻击面,监控其暴露情况,并持续扫描最新安全漏洞。这一切都在一个平台上,且功能不止于此。
FullHunt为组织提供企业级平台。FullHunt企业平台为客户提供扩展扫描和能力。FullHunt企业平台允许组织密切监控其外部攻击面,并获取每次变化的详细警报。世界各地的组织使用FullHunt企业平台来解决其持续安全和外部攻击面安全挑战。
本项目仅供教育和道德测试目的。未经事先双方同意,使用spring4shell-scan攻击目标是违法的。最终用户有责任遵守所有适用的地方、州和联邦法律。开发者不承担任何责任,也不对因使用本程序而造成的任何误用或损害负责。
本项目采用MIT许可证。
Mazin Ahmed