dnsmasq < 2.21.0 Multiple Remote Vulnerabilities

high Nessus Plugin ID 17631

Synopsis

The remote DNS / DHCP service is affected by multiple vulnerabilities.

Description

The remote host is running dnsmasq, a DHCP and DNS server.

The version of dnsmasq installed on the remote host contains an off-by-one boundary error when reading a DHCP lease file. An attacker can leverage this issue to cause the application to crash or possible execute arbitrary code the next time it is restarted by sending a long hostname and client-id when requesting a DHCP lease.

In addition, the application only checks the 16-bit ID against current queries when receiving DNS replies. An attacker may be able to send a flood of DNS replies and poison the DNS cache.

Solution

Upgrade to dnsmasq 2.21.0 or later.

See Also

https://secuniaresearch.flexerasoftware.com/advisories/14691

http://www.thekelleys.org.uk/dnsmasq/CHANGELOG

Plugin Details

Severity: High

ID: 17631

File Name: dnsmasq_multiple_flaws.nasl

Version: 1.23

Type: remote

Family: DNS

Published: 3/25/2005

Updated: 11/15/2018

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS v3

Risk Factor: High

Base Score: 7.3

Temporal Score: 6.4

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:thekelleys:dnsmasq

Required KB Items: Settings/ParanoidReport, dns_server/version

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 3/23/2005

Reference Information

CVE: CVE-2005-0876, CVE-2005-0877

BID: 12897