CVE-2026-124727

Description

A flaw was found in PowerDNS Authoritative Server. A remote attacker can cause a Denial of Service (DoS) by sending obsolete DNS record types during an Authoritative Zone Transfer (AXFR) to a BIND backend. Improper handling of these deprecated records causes the generated zone file to become malformed, preventing the zone from loading afterwards and requiring manual intervention to restore service.

Statement

This vulnerability is rated Moderate rather than Important because exploitation requires specific non-default architectural prerequisites, specifically configuring the PowerDNS Authoritative Server to sync secondary zones via AXFR directly into the BIND backend driver. In typical production environments, zone replication is restricted to trusted primary servers through network access controls and TSIG authentication, which significantly limits exposure to untrusted transfer payloads. Although malformed zone files can prevent subsequent zone reloading and disrupt availability for that domain, unrelated zones and overall daemon stability remain unaffected.

Mitigation

Restrict zone transfer (AXFR) access strictly to authenticated, trusted primary servers, or migrate secondary zones away from the BIND backend to an alternative backend (such as LMDB or generic SQL backends).

1. Restrict inbound TCP port 53 traffic to designated master nameserver IP addresses using firewalld:

firewall-cmd --permanent --zone=trusted --add-source=<PRIMARY_SERVER_IP>
firewall-cmd --permanent --zone=trusted --add-port=53/tcp
firewall-cmd --reload

2. Enforce Transaction Signatures (TSIG) between the primary server and PowerDNS secondary to ensure zone transfers originate from an authenticated source.

Caveats:
Restricting TCP port 53 to specific addresses prevents unauthorized hosts from triggering zone replication; however, if standard clients require TCP fallback for large query responses, ensure public client resolution is segregated from zone transfer interfaces. Migrating to an alternative backend requires reconfiguring zone definitions.

Warning:
Reloading firewall configurations or restarting the PowerDNS service (such as running `systemctl restart pdns`) can temporarily disrupt active DNS traffic.

Understanding the Weakness (CWE)

Integrity,Other

Technical Impact: Varies by Context; Unexpected State

Frequently Asked Questions

Want to get errata notifications? Sign up here.