SB2020052032 - Multiple vulnerabilities in PowerDNS
Published: May 20, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 3 vulnerabilities.
1) Input validation error (CVE-ID: CVE-2020-10995)
CWE-ID: CWE-20 - Improper input validation
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient validation of user-supplied input when processing DNS responses. A remote attacker who controls a malicious DNS server can send a specially crafted response and perform a denial of service (DoS) attack against third-party DNS servers.
The attack is triggered by random subdomains in the NSDNAME in NS records.
2) Input validation error (CVE-ID: CVE-2020-12244)
CWE-ID: CWE-20 - Improper input validation
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to perform a spoofing attack.
The vulnerability exists due to records in the answer section of a NXDOMAIN response lacking an SOA are not properly validated in SyncRes::processAnswer. A remote attacker with ability to perform a Man-in-the-Middle (MitM) attack can send a NXDOMAIN answer for a name that does exist and bypass DNSSEC validation.
Successful exploitation of the vulnerability may allow an attacker to perform a spoofing attack.
3) Out-of-bounds read (CVE-ID: CVE-2020-10030)
CWE-ID: CWE-125 - Out-of-bounds read
CVSSv4: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a local user to gain access to potentially sensitive information.
The vulnerability exists due to a boundary condition when processing a hostname via the gethostname() function. A local user with ability to change system hostname can trigger out-of-bounds read error and read contents of memory on the system.
Remediation
Install update from vendor's website.
References
- http://www.nxnsattack.com
- https://doc.powerdns.com/recursor/security-advisories/powerdns-advisory-2020-01.html
- http://www.openwall.com/lists/oss-security/2020/05/19/3
- https://doc.powerdns.com/recursor/security-advisories/powerdns-advisory-2020-02.html
- https://doc.powerdns.com/recursor/security-advisories/powerdns-advisory-2020-03.html