Vulnerabilities > CVE-2012-2978 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Nlnetlabs NSD
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
query.c in NSD 3.0.x through 3.0.8, 3.1.x through 3.1.1, and 3.2.x before 3.2.12 allows remote attackers to cause a denial of service (NULL pointer dereference and child process crash) via a crafted DNS packet.
Vulnerable Configurations
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.
Nessus
NASL family FreeBSD Local Security Checks NASL id FREEBSD_PKG_CE82BFEBD27611E192C614DAE938EC40.NASL description Marek Vavrusa and Lubos Slovak report : It is possible to crash (SIGSEGV) a NSD child server process by sending it a non-standard DNS packet from any host on the internet. A crashed child process will automatically be restarted by the parent process, but an attacker may keep the NSD server occupied restarting child processes by sending it a stream of such packets effectively preventing the NSD server to serve. last seen 2020-06-01 modified 2020-06-02 plugin id 60089 published 2012-07-23 reporter This script is Copyright (C) 2012-2018 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/60089 title FreeBSD : dns/nsd -- DoS vulnerability from non-standard DNS packet (ce82bfeb-d276-11e1-92c6-14dae938ec40) NASL family Fedora Local Security Checks NASL id FEDORA_2012-11207.NASL description Updated upstream releasee for CVE-2012-2979 / VU#517036, our packages were not vulnerable Fix for CVE-2012-2978: NSD denial of service vulnerability from non-standard DNS packet from any host Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-03-17 modified 2012-08-10 plugin id 61470 published 2012-08-10 reporter This script is Copyright (C) 2012-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/61470 title Fedora 16 : nsd-3.2.13-1.fc16 (2012-11207) NASL family Fedora Local Security Checks NASL id FEDORA_2012-10893.NASL description Fix for CVE-2012-2978: NSD denial of service vulnerability from non-standard DNS packet from any host Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-03-17 modified 2012-07-30 plugin id 60145 published 2012-07-30 reporter This script is Copyright (C) 2012-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/60145 title Fedora 17 : nsd-3.2.12-1.fc17 (2012-10893) NASL family Fedora Local Security Checks NASL id FEDORA_2012-10887.NASL description Fix for CVE-2012-2978: NSD denial of service vulnerability from non-standard DNS packet from any host Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-03-17 modified 2012-07-30 plugin id 60143 published 2012-07-30 reporter This script is Copyright (C) 2012-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/60143 title Fedora 16 : nsd-3.2.12-1.fc16 (2012-10887) NASL family DNS NASL id NSD_NULL_POINTER_DEREFERENCE_DOS.NASL description According to its self-reported version number, the version of NSD running on the remote host is affected by a denial of service vulnerability because it fails to properly handle specially crafted DNS packets. This issue occurs because of a NULL pointer dereference error in the last seen 2020-06-01 modified 2020-06-02 plugin id 60153 published 2012-07-30 reporter This script is Copyright (C) 2012-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/60153 title NSD query_add_optional() Function NULL Pointer Dereference Malformed DNS Packet Parsing Remote DoS NASL family Debian Local Security Checks NASL id DEBIAN_DSA-2515.NASL description Marek Vavrusa and Lubos Slovak discovered that NSD, an authoritative domain name server, is not properly handling non-standard DNS packets. This can result in a NULL pointer dereference and crash the handling process. A remote attacker can abuse this flaw to perform denial of service attacks. last seen 2020-03-17 modified 2012-07-20 plugin id 60068 published 2012-07-20 reporter This script is Copyright (C) 2012-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/60068 title Debian DSA-2515-1 : nsd3 - NULL pointer dereference NASL family Fedora Local Security Checks NASL id FEDORA_2012-11203.NASL description Updated upstream releasee for CVE-2012-2979 / VU#517036, our packages were not vulnerable Fix for CVE-2012-2978: NSD denial of service vulnerability from non-standard DNS packet from any host Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-03-17 modified 2012-08-10 plugin id 61469 published 2012-08-10 reporter This script is Copyright (C) 2012-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/61469 title Fedora 17 : nsd-3.2.13-1.fc17 (2012-11203)