Vulnerabilities > CVE-2007-6341 - Buffer Errors vulnerability in NET DNS NET DNS 0.60
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
NONE Integrity impact
NONE Availability impact
PARTIAL Summary
Net/DNS/RR/A.pm in Net::DNS 0.60 build 654, as used in packages such as SpamAssassin and OTRS, allows remote attackers to cause a denial of service (program "croak") via a crafted DNS response.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Exploit-Db
description | Perl Net::DNS 0.48/0.59/0.60 DNS Response Remote Denial of Service Vulnerability. CVE-2007-6341. Dos exploit for linux platform |
id | EDB-ID:30895 |
last seen | 2016-02-03 |
modified | 2007-12-17 |
published | 2007-12-17 |
reporter | beSTORM |
source | https://www.exploit-db.com/download/30895/ |
title | Perl Net::DNS 0.48/0.59/0.60 - DNS Response Remote Denial of Service Vulnerability |
Nessus
NASL family Ubuntu Local Security Checks NASL id UBUNTU_USN-594-1.NASL description It was discovered that Net::DNS did not correctly validate the size of DNS replies. A remote attacker could send a specially crafted DNS response and cause applications using Net::DNS to abort, leading to a denial of service. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 31702 published 2008-03-28 reporter Ubuntu Security Notice (C) 2008-2019 Canonical, Inc. / NASL script (C) 2018 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/31702 title Ubuntu 6.06 LTS / 6.10 : libnet-dns-perl vulnerability (USN-594-1) NASL family Debian Local Security Checks NASL id DEBIAN_DSA-1515.NASL description Several remote vulnerabilities have been discovered in libnet-dns-perl. The Common Vulnerabilities and Exposures project identifies the following problems : It was discovered that libnet-dns-perl generates very weak transaction IDs when sending queries (CVE-2007-3377 ). This update switches transaction ID generation to the Perl random generator, making prediction attacks more difficult. Compression loops in domain names resulted in an infinite loop in the domain name expander written in Perl (CVE-2007-3409 ). The Debian package uses an expander written in C by default, but this vulnerability has been addressed nevertheless. Decoding malformed A records could lead to a crash (via an uncaught Perl exception) of certain applications using libnet-dns-perl (CVE-2007-6341 ). last seen 2020-06-01 modified 2020-06-02 plugin id 31426 published 2008-03-13 reporter This script is Copyright (C) 2008-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/31426 title Debian DSA-1515-1 : libnet-dns-perl - several vulnerabilities NASL family Mandriva Local Security Checks NASL id MANDRIVA_MDVSA-2008-073.NASL description A vulnerability in the Net::DNS perl module was found that could allow remote attackers to cause a denial of service via a crafted DNS response. The updated packages have been patched to correct this issue. last seen 2020-06-01 modified 2020-06-02 plugin id 36350 published 2009-04-23 reporter This script is Copyright (C) 2009-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/36350 title Mandriva Linux Security Advisory : perl-Net-DNS (MDVSA-2008:073)
Seebug
bulletinFamily | exploit |
description | BUGTRAQ ID: 26902 CVE ID:CVE-2007-6341 Perl Net::DNS是一款使用Perl实现的DNS解析应用程序。 Perl Net::DNS不正确处理畸形应答请求,远程攻击者可以利用漏洞对应用程序进行拒绝服务攻击。 问题存在于Net/DNS/RR/A.pm: if ($self->{"rdlength"} > 0) { $self->{"address"} = inet_ntoa(substr($$data, $offset, 4)); } 由于在使用substr时不正确验证$$data有4字节可读,可导致数据发送给inet_ntoa不足够而导致触发如下代码: ip_address = SvPVbyte(ip_address_sv, addrlen); if (addrlen == sizeof(addr) || addrlen == 4) addr.s_addr = (ip_address[0] & 0xFF) << 24 | (ip_address[1] & 0xFF) << 16 | (ip_address[2] & 0xFF) << 8 | (ip_address[3] & 0xFF); else croak("Bad arg length for %s, length is %d, should be %d", "Socket::inet_ntoa", addrlen, sizeof(addr)); 构建恶意的DNS应答可触发此漏洞,并导致PERL崩溃。 Net::DNS Net::DNS 0.60 目前没有解决方案提供: <a href=http://www.net-dns.org/ target=_blank>http://www.net-dns.org/</a> |
id | SSV:2638 |
last seen | 2017-11-19 |
modified | 2007-12-18 |
published | 2007-12-18 |
reporter | Root |
source | https://www.seebug.org/vuldb/ssvid-2638 |
title | Perl Net::DNS DNS应答远程拒绝服务漏洞 |
Statements
contributor | Joshua Bressers |
lastmodified | 2008-01-07 |
organization | Red Hat |
statement | Red Hat does not consider this flaw to be a security issue. For more information please see: https://bugzilla.redhat.com/show_bug.cgi?id=426437 |
References
- http://search.cpan.org/src/OLAF/Net-DNS-0.63/Changes
- http://secunia.com/advisories/29343
- http://secunia.com/advisories/29354
- http://secunia.com/advisories/29446
- http://secunia.com/advisories/29555
- http://www.debian.org/security/2008/dsa-1515
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:073
- http://www.securiteam.com/unixfocus/6I00E0UKKQ.html
- http://www.securityfocus.com/bid/26902
- http://www.securitytracker.com/id?1019104
- https://rt.cpan.org/Public/Bug/Display.html?id=30316
- https://usn.ubuntu.com/594-1/