File injection in PowerDNS Recursor - CVE-2017-15093

 

File injection in PowerDNS Recursor - CVE-2017-15093

Published: November 29, 2017


Vulnerability identifier: #VU9440
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/E:U/U:Clear
CVE-ID: CVE-2017-15093
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: PowerDNS.COM B.V.
Affected software:
PowerDNS Recursor

Detailed vulnerability description

The vulnerability allows a remote authenticated attacker to inject API file on the target system.

The vulnerability exists in the API of PowerDNS Recursor during a source code audit by Nixu due to insufficient validation of the new netmask and IP addresses of forwarded zones. A remote attacker can add and remove netmasks when api-config-dir is set to a non-empty value and inject new configuration directives into the Recursor’s configuration.


How to mitigate CVE-2017-15093

Update PowerDNS Recursor to version 4.0.7.

Sources