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: 5.3 [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]
CVE-ID: CVE-2017-15093
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

PowerDNS Recursor
Arch Linux
Fedora
pdns-recursor (Alpine package)
pdns-recursor

How to mitigate CVE-2017-15093

Update PowerDNS Recursor to version 4.0.7.

pdns-recursor (Alpine package) - update to 4.0.7-r0
pdns-recursor - addressed in versions 4.0.7-1.fc25, 4.0.7-1.fc26, 4.0.7-1.fc27, 4.1.3-2.el7, 4.1.3-2.fc27

External References

Related Security Bulletins