BitDefender - Module pdf.xmd Infinite Loop Denial of Service (PoC)

EDB-ID:

7178

Author:

ProTeuS

Type:

dos

Platform:

Windows

Published:

2008-11-20

Deny Of Service and infinite loop in BitDefender (module pdf.xmd)
/* ProTeuS @ cih.ms */
tested on pdf.xmd BitDefender's pdf engine by Alexandru Matei (0.1,Oct 8 2008), CRC32=A393F805
and on pdf.xmd last update by the moment of publication

Deny of service occurs during parsing of included compressed streams (gotta use bdc.exe /arc option) in cause of using /FlateDecode /ASCIIHexDecode compression options and object tag /JavaScript in pdf. From time to time occurs either DoS with rewriting of arithmetic registers with the contents of user's decrypted buffer or an infinite loop during scanning after modifying stream-buffer we have such results:

775781CB 8B49 04 MOV ECX,DWORD PTR DS:[ECX+4]

Access violation when reading [30333037] - use Shift+F7/F8/F9 to pass exception to program

EAX 04354E20
ECX 30333033
EDX 30333033
EBX 01BF0000
ESP 0012D5B8
EBP 0012D5E0
ESI 04354E18
EDI 04352100
EIP 775781CB ntdll.775781CB

https://github.com/offensive-security/exploitdb-bin-sploits/raw/master/bin-sploits/7178.zip (2008-BitDefenderDOS.zip)

# milw0rm.com [2008-11-20]