GLSA-200809-02 : dnsmasq: Denial of Service and DNS spoofing

Medium Nessus Plugin ID 34091

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200809-02 (dnsmasq: Denial of Service and DNS spoofing)

Dan Kaminsky of IOActive reported that dnsmasq does not randomize UDP source ports when forwarding DNS queries to a recursing DNS server (CVE-2008-1447).
Carlos Carvalho reported that dnsmasq in the 2.43 version does not properly handle clients sending inform or renewal queries for unknown DHCP leases, leading to a crash (CVE-2008-3350).
Impact :

A remote attacker could send spoofed DNS response traffic to dnsmasq, possibly involving generating queries via multiple vectors, and spoof DNS replies, which could e.g. lead to the redirection of web or mail traffic to malicious sites. Furthermore, an attacker could generate invalid DHCP traffic and cause a Denial of Service.
Workaround :

There is no known workaround at this time.

Solution

All dnsmasq users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-dns/dnsmasq-2.45'

See Also

https://security.gentoo.org/glsa/200809-02

Plugin Details

Severity: Medium

ID: 34091

File Name: gentoo_GLSA-200809-02.nasl

Version: 1.28

Type: local

Published: 2008/09/05

Updated: 2019/08/02

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 5

Temporal Score: 3.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

Temporal Vector: CVSS2#E:POC/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:dnsmasq, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2008/09/04

Reference Information

CVE: CVE-2008-1447, CVE-2008-3350

GLSA: 200809-02

IAVA: 2008-A-0045