GLSA-200909-19 : Dnsmasq: Multiple vulnerabilities

medium Nessus Plugin ID 41023

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-200909-19 (Dnsmasq: Multiple vulnerabilities)

Multiple vulnerabilities have been reported in the TFTP functionality included in Dnsmasq:
Pablo Jorge and Alberto Solino discovered a heap-based buffer overflow (CVE-2009-2957).
An anonymous researcher reported a NULL pointer reference (CVE-2009-2958).
Impact :

A remote attacker in the local network could exploit these vulnerabilities by sending specially crafted TFTP requests to a machine running Dnsmasq, possibly resulting in the remote execution of arbitrary code with the privileges of the user running the daemon, or a Denial of Service. NOTE: The TFTP server is not enabled by default.
Workaround :

You can disable the TFTP server either at buildtime by not enabling the 'tftp' USE flag, or at runtime. Make sure '--enable-tftp' is not set in the DNSMASQ_OPTS variable in the /etc/conf.d/dnsmasq file and 'enable-tftp' is not set in /etc/dnsmasq.conf, either of which would enable TFTP support if it is compiled in.

Solution

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

See Also

https://security.gentoo.org/glsa/200909-19

Plugin Details

Severity: Medium

ID: 41023

File Name: gentoo_GLSA-200909-19.nasl

Version: 1.15

Type: local

Published: 9/21/2009

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

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: 9/20/2009

Reference Information

CVE: CVE-2009-2957, CVE-2009-2958

BID: 36120

CWE: 119, 399

GLSA: 200909-19