Joined: 27 Jun 2003
Location: Gothenburg, Sweden
|Posted: Mon Apr 04, 2005 12:48 pm Post subject: [ GLSA 200504-03 ] Dnsmasq: Poisoning and Denial of Service
|Gentoo Linux Security Advisory
Title: Dnsmasq: Poisoning and Denial of Service vulnerabilities (GLSA 200504-03)
Date: April 04, 2005
Dnsmasq is vulnerable to DNS cache poisoning attacks and a potential Denial of Service from the local network.
Dnsmasq is a lightweight and easily-configurable DNS forwarder and DHCP server.
Vulnerable: < 2.22
Unaffected: >= 2.22
Architectures: All supported architectures
Dnsmasq does not properly detect that DNS replies received do not correspond to any DNS query that was sent. Rob Holland of the Gentoo Linux Security Audit team also discovered two off-by-one buffer overflows that could crash DHCP lease files parsing.
A remote attacker could send malicious answers to insert arbitrary DNS data into the Dnsmasq cache. These attacks would in turn help an attacker to perform man-in-the-middle and site impersonation attacks. The buffer overflows might allow an attacker on the local network to crash Dnsmasq upon restart.
There is no known workaround at this time.
All Dnsmasq users should upgrade to the latest version:
|# emerge --sync
# emerge --ask --oneshot --verbose ">=net-dns/dnsmasq-2.22"
Last edited by GLSA on Sun May 07, 2006 4:55 pm; edited 1 time in total