Cloudanix VulnDB

CVE-2015-8899

High · 7.5

CVSS

7.5

EPSS

2.5%

Published

Jun 30, 2016

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in the DNS software can let a remote system send bad data that makes the service crash and stop answering name lookups.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Network Service
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Dnsmasq crashes when processing a DNS reply containing an empty address for a locally defined A or AAAA record due to improper input validation on the response data.

Why it matters to the business

DNS resolution services become unavailable, disrupting network name lookup for applications and users until the service is restarted.

How an attack unfolds

An attacker controlling a remote DNS server sends a crafted reply with an empty address record that matches a locally configured name; Dnsmasq fails to handle the empty data and terminates.

How to fix it

Upgrade Dnsmasq to version 2.76 or later on all affected systems; apply vendor patches for Ubuntu and other distributions.

How to confirm the fix worked

Confirm Dnsmasq version is 2.76 or newer; test resolution of locally defined names against external queries that return empty address records.

Typical attack path

  1. Attacker positions a malicious DNS server in the query path or poisons upstream resolution
  2. Victim Dnsmasq instance issues a query for a locally defined name
  3. Attacker returns a reply with an empty A or AAAA record
  4. Dnsmasq crashes on input validation failure

How to detect it

Review system logs for Dnsmasq segmentation faults or crashes coinciding with DNS query activity; inspect packet captures for DNS responses containing empty A/AAAA records.

What your security team should do

  • Prioritize upgrade of all Dnsmasq instances to 2.76+
  • Monitor for unexpected Dnsmasq process restarts
  • Review upstream DNS server configurations for exposure

The record

Dnsmasq before 2.76 allows remote servers to cause a denial of service (crash) via a reply with an empty DNS address that has an (1) A or (2) AAAA record defined locally.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 dnsmasq 0 2.76-1
Debian:12 dnsmasq 0 2.76-1
Debian:13 dnsmasq 0 2.76-1
SUSE:Cloud Compute Node for SUSE Linux Enterprise 12 5 dnsmasq 0 2.71-6.3.1
SUSE:Linux Enterprise Desktop 12 SP1 dnsmasq 0 2.71-13.1
SUSE:Linux Enterprise Desktop 12 SP2 dnsmasq 0 2.71-13.1
SUSE:Linux Enterprise Point of Sale 11 SP3 dnsmasq 0 2.78-0.16.5.1
SUSE:Linux Enterprise Server 11 SP3-LTSS dnsmasq 0 2.78-0.16.5.1
SUSE:Linux Enterprise Server 11 SP3-TERADATA dnsmasq 0 2.78-0.16.5.1
SUSE:Linux Enterprise Server 11 SP4 dnsmasq 0 2.71-0.16.3
SUSE:Linux Enterprise Server 11 SP4 dnsmasq 0 2.78-0.17.5.1
SUSE:Linux Enterprise Server 12 SP1 dnsmasq 0 2.71-13.1
SUSE:Linux Enterprise Server 12 SP2 dnsmasq 0 2.71-13.1
SUSE:Linux Enterprise Server 12-LTSS dnsmasq 0 2.78-6.6.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 dnsmasq 0 2.71-13.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 dnsmasq 0 2.71-0.16.3
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 dnsmasq 0 2.78-0.17.5.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 dnsmasq 0 2.71-13.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 dnsmasq 0 2.71-13.1
SUSE:OpenStack Cloud 6 dnsmasq 0 2.71-13.1
Ubuntu:16.04:LTS dnsmasq 0 2.75-1ubuntu0.16.04.1
openSUSE:Tumbleweed dnsmasq 0 2.76-1.3

Related vulnerabilities