PowerDNS Recursor 3.3.x / 3.4.x / 3.5 RC1 Cache Update Policy Deleted Domain Name Resolving Weakness

medium Nessus Plugin ID 69429

Synopsis

The remote name server is affected by a ghost domain names vulnerability.

Description

According to its self-reported version number, the version of the PowerDNS Recursor service listening on the remote host is 3.3.x, 3.4.x, or 3.5 RC1. It is, therefore, affected by a ghost domain names vulnerability in the resolver service due to overwriting cached name servers and TTL values in NS records when processing a response of an A record query. A remote attacker can exploit this to resume the resolving of revoked domain names.

Note that Nessus has not attempted to exploit this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to PowerDNS Recursor 3.5.0 or later. Alternatively, apply the patch referenced in the vendor advisory.

See Also

https://github.com/PowerDNS/pdns/issues/668

https://doc.powerdns.com/md/changelog/#powerdns-recursor-version-35

http://www.nessus.org/u?70bb6cb5

Plugin Details

Severity: Medium

ID: 69429

File Name: powerdns_3_5_0.nasl

Version: 1.6

Type: remote

Family: DNS

Published: 7/25/2013

Updated: 7/25/2018

Configuration: Enable paranoid mode

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

Temporal Vector: E:U/RL:OF/RC:C

Vulnerability Information

CPE: cpe:/a:powerdns:powerdns, cpe:/a:powerdns:recursor

Required KB Items: pdns/version, pdns/version_full, pdns/version_source, pdns/type, Settings/ParanoidReport

Exploit Ease: No known exploits are available

Patch Publication Date: 4/15/2013

Vulnerability Publication Date: 2/7/2012

Reference Information

CVE: CVE-2012-1193

BID: 59348