PowerDNS and dnsdist wave (18 GHSAs): DNS frontends fail open¶
Date reviewed: 2026-11-27 (15:31Z coordinated release) Advisories: dnsdist seven legs: CVE-2026-85561 / GHSA-pfcg-2qv4-2hhc, CVE-2026-85562 / GHSA-r88w-f445-hm79 (both medium, XFF trust fail-open), CVE-2026-85566 / GHSA-wgjg-j93w-pmj9 (medium, ECS source-IP forgery + record smuggling + EDNS filter bypass), CVE-2026-85563 / GHSA-2r6w-6m86-rp5f (medium, DoH response caching by fronting reverse proxy), CVE-2026-85564 / GHSA-pmj8-r9cv-4vf9 (medium, QUIC stream-cancel memory retention DoS), CVE-2026-85565 / GHSA-36m3-pjq4-jhpv (low, outgoing TCP sync issue), CVE-2026-85567 / GHSA-hq88-ff66-4f2g (low, empty API key does not disable the internal HTTP API). PowerDNS Authoritative eleven legs (CVE-2026-123755..123764 + 124727..124728 family), including CVE-2026-123757 / GHSA-m3w4-q6rx-xcwx (high, notify-driven root-zone config corruption), CVE-2026-123759 / GHSA-xqhr-xfxp-4g7p (medium, catalog provider provisions the root zone from an attacker-chosen source), CVE-2026-123762 / GHSA-fgp5-c28j-26c3 (high, cross-backend duplicate zone hides the existing zone), CVE-2026-123761 / GHSA-g3p7-v525-g9rv (high, view-processing logic errors return wrong cached results). Affected: PowerDNS Authoritative Server (all supported branches, vendor fixed releases of 2026) and dnsdist before 2.x release carrying these fixes; the GitHub version fields were shipped empty for several legs, so pin bands from the vendor advisory page per CVE. Boundary class: DNS frontend trust boundaries on both sides of the resolver: what dnsdist trusts about the transport standing in front of it (reverse proxies, forwarding headers, EDNS options), and what the authoritative server trusts about inputs that are normally treated as read-only protocol traffic (NOTIFY, AXFR, catalog membership, TSIG/TKEY state).
Wave in one line: the six dnsdist legs are a transport-adjacency lesson (a caching proxy in front of DoH turns confidential DNS into cacheable HTTP content, an empty API key means "on" not "off", ECS lets a client forge its own subnet), and the PowerDNS Authoritative legs show control-adjacent write primitives hiding in read-only protocol paths: a NOTIFY request can rewrite a backend's on-disk config into an invalid state that only breaks on next restart, and a catalog zone member entry can make the server provision zones, including the root zone, from a source the catalog provider picks.
Why this is worth an operator page¶
DNS infrastructure is usually fuzzed for parser crashes; this wave is almost entirely about trust placement, and the durable axes generalize to every proxy-in-front-of-service pattern, not just DNS. Three concrete operator takeaways:
- Enumerate what stands in front of the resolver before trusting any dnsdist control. The DoH caching-proxy leg (85563) means an ordinary caching HTTP reverse proxy, deployed for TLS termination or CDN, silently becomes a shared DNS response cache with attacker-influenced keys.
- Test empty/degenerate values on every security-relevant config knob. The internal-API key leg (85567) is the classic "documented as disabled when empty, actually still listening" fail-open: the gate is
key != null, notkey is non-empty, so whoever's IP passes the webserver ACL gets read-only API without a credential. - Protocol inputs that look read-only (NOTIFY, AXFR, catalog updates) are write paths into backend configuration, with effects that surface only at restart, which is exactly the kind of latent-state bug that survives "we patched it" claims (the root-zone leg was the leftover of an earlier fix, SA-2026-05).
Boundary 1, dnsdist trusts the transport in front of it¶
dnsdist's DoH and ECS handling both trust intermediate HTTP infrastructure to behave, and both break when it doesn't:
- DoH responses cacheable by a fronting reverse proxy (85563): with DoH enabled and a caching HTTP reverse proxy in front of dnsdist, the proxy caches DoH responses it was never meant to share. dnsdist set no cache-control semantics strong enough to opt out, so a CDN/proxy tier converts per-client DNS answers into a shared cache an attacker can poison or read across clients. The pre-test question for any DoH endpoint: what is the
Cache-Control/Vary/privateshape of a DoH response, and what happens if you put a stock nginx/varnishproxy_cacheblock in front? - XFF trust fails open for the whole unit (85561/85562): dnsdist's documented behavior is that
setACLplus thetrustForwardedForHeaderoption only accepts XFF from webserver ranges. The shipped behavior let a client forge its source IP, and the smuggling variant (85562) goes further: when DoH + XFF-trust are both on, forged forwarding headers on one request affect other clients on the same HTTP connection, so a keep-alive neighbor poisons the peer's source-IP-derived policy (ACL decisions, ECS outgoing value, rules keyed onclient). Connection-reuse differential battery: two clients, one socket, one set of headers. - EDNS Client Subnet is an attacker-chosen source claim (85566): with ECS enabled between dnsdist and its backend, a specially crafted query lets the client forge its own source IP as far as the backend is concerned, smuggle DNS records past the response path, and bypass EDNS option filtering. Anything downstream that keys policy, geo-routing, or allowlists on the ECS value inherits the forgery.
Durable rule: the trust unit is the whole deployment shape (proxy tier + transport option + EDNS option), not each setting in isolation. Audit predicate: for every "only trusted when paired with X" setting in the config reference, build the counter-case where X is present but untrusted (a proxy you don't control, a client that sends the header anyway) and check which side of the boundary wins.
Boundary 2, degenerate config values mean "on", not "off"¶
The internal HTTP API (2.2.0-2.2.1, 85567) kept serving requests with an empty API key even though the documentation said setting the key to empty disables access. Impact is bounded (read-only API, webserver ACL still applies) but the shape is the reusable one: the presence check passed on an empty string, so the API behaves as unauthenticated for any ACL-allowed source. The internal API exposes stats, rules, and health state, enough to map the whole dnsdist policy set pre-auth.
Durable rule: for any product with an API key / token / password knob plus a documented "empty disables" contract, test the empty value, the whitespace value, and the null shape independently of the happy path. The grep for the audit: if (api_key.empty()) return true;-shaped auth functions, or auth wrappers that check != nullopt rather than non-empty. This is the same family as the Sep 21 precedence-page "auth-FAILURE branch accountability" battery: empty-key is the auth branch nobody tests.
Boundary 3, read-only DNS protocol inputs are config-write paths¶
The PowerDNS Authoritative legs cluster around the bind backend and catalog zones, and the impact language is about state the attacker writes that the operator has to fix by hand:
- NOTIFY to root-zone corruption (123757): an attacker can send a NOTIFY request that causes the root zone to be added as a secondary zone to the bind backend, and the backend rewrites its configuration into an invalid state, so it fails on the next restart and requires manual intervention. This is a delayed-fuse persistence class: nothing looks wrong until the ops reboot. The advisory explicitly notes the general case was fixed by SA-2026-05 and the root zone was the leftover special case.
- Catalog zone as a provisioning oracle (123759): whoever controls a catalog zone can add the root zone as a member and PowerDNS will provision it from the source given in the catalog entry. A catalog zone is meant to be a list of ordinary zones; treating membership as trusted config means the root-zone special case is another write primitive with the same "fix missed the special case" genealogy.
- Cross-backend duplicate zones hide live zones (123762): a catalog-zone update introducing a zone that already exists in a different backend creates a duplicate in that backend, and depending on backend load order the duplicate completely shadows the legitimate zone. Multi-backend installs have an order-dependent name-resolution race that any catalog write can trigger.
- AXFR sanitization and record handling into bind-backend files (123764 high, 124727 medium): zone data received via AXFR is serialized into the bind backend with incorrect sanitization, producing wrong or invalid data on disk; obsolete record types mishandled during the same path corrupt zone state. The transfer path is a file writer.
- View-processing logic errors return wrong cached results (123761): view split logic can serve another view's cached answer; view-scoping is a cache-key correctness property, and this is the split-view version of the cross-tenant cache rules already on the Oct 2 AI serving page.
- TSIG/TKEY state machine (124728 high): incomplete GSS negotiation handling and TKEY context deletion while a pending operation is in flight; the keyed-transaction state machine has a use-after-context-teardown window, and GSS is the auth path most deployments never exercise, so it rots quietly.
- The remaining legs (123755/123756/123758/123760 and neighbors) are DoS/robustness on AXFR-connection reuse, the internal webserver, notification-queue races, and the LMDB backend.
Durable rules:
- Enumerate config-write surfaces reachable via protocol verbs, not just admin APIs. NOTIFY, AXFR, catalog updates, and dynamic zone refresh are usually firewalled as "zone traffic" and never audited as writers. If a verb can touch config files, it belongs in the admin-plane threat model.
- The root/special-case battery. When a product has a named "general case fixed by SA-X" note (or any special-cased name like
.localhost@*), run every generic-input feature against the special case; this wave shipped two independent root-zone legs whose general siblings were already patched. - Delayed-fuse bugs are their own report class. A corrupt-config-that-fails-on-next-restart is not availability-only: it is operator-manual-intervention-required, latent across patch windows, and invisible to monitoring until reboot. Say so in the report; capture the config diff your NOTIFY produced in a lab.
Replayable validation (lab only)¶
Preconditions: your own lab box running PowerDNS Authoritative (bind backend + one catalog zone + a second backend) and dnsdist (DoH + ECS + internal API enabled), disposable zones, owned second resolver for comparison. Never point tests at production or third-party resolvers; never restart shared infrastructure as part of proving the delayed-fuse leg (snapshot the VM instead).
- Fronting-proxy cache probe: put nginx
proxy_cachein front of your DoH listener, send two distinct-client queries forprobe.<your-zone>, then check whether client B receives client A's cached answer and whetherCache-Control: privateis present on the origin response. - Empty-API-key gate: set the internal API key to empty and to a single space; from an ACL-allowed IP request
/jsonstat/ api endpoints; record the decision table (empty / space / real key) against the documented behavior. - XFF/keep-alive differential: one TCP/TLS connection, two requests: first request carries
X-Forwarded-For: <canary>while second carries none, then read back which source IP the rules/stats attributed to each; repeat over DoH with connection reuse to test the 85562 cross-client leg. - Root-zone NOTIFY + catalog battery: from an authorized sender, send NOTIFY for
., for@, for your zone, and for nonexistent names against the slave; snapshot the bind backend config dir before/after. Then add.as a member of your catalog zone and watch provisioning. Compare against an instance patched for SA-2026-05 to confirm the special-case gap. - TSIG/TKEY pending-op window: script TKEY establishment then immediate deletion while a signed update is in flight on your lab server; instrument for the teardown race with repeated trials.
Recon heuristics¶
- dnsdist/PowerDNS fingerprint: 53/tcp+udp, 853 (DoT), 443 DoH on resolvers, 8080/internal webserver (off by default but ships in packages), 9191 (webserver/API default),
Server:strings in DoH responses, andpdns_*metrics names if the API leaks. - For any DNS assessment, answer three questions before touching parsers: what proxy/CDN is in front of DoH, is ECS on end-to-end, and does the internal API respond at all. Those three produce the first findings without a single malformed packet.
- Empty-value auth battery generalizes past DNS: every "leave blank to disable" string in any product's config reference is a test case.
Reporting heuristics¶
- Lead with the trust-placement failure ("your DoH responses are cacheable by the CDN in front of you"), not the CVE count; the impact sentence for the delayed-fuse legs is "operator must manually repair config after next reboot", which is stronger than "DoS".
- Keep lab boundaries explicit: own domains, own resolvers, snapshot-restore for the config-corruption legs, no production restarts, no third-party NOTIFY.
Adjacent records processed without publication¶
- 389-ds-base CVE-2026-124825 / GHSA-p273-5gfj-99f7 content-synchronization cookie integer-truncation crash: input-controlled DoS on a real auth-adjacent protocol (replication cookie), availability-only, tracked no-publish.
- Dell Secure Connect Gateway ~17-leg boilerplate extension (80480..80508) continues the SCGW pack already tracked this week: same vendor/class, no new axis.
- ABB Relion protection relay authorization pair (CVE-2026-4641/4642, 615/620/640 series + SMU615): OT appliance authz descriptions too sparse to build a replayable check; watch for KEV before re-evaluating.
- Roundcube pair (137942 group-mutation IDOR, 137943 text/enriched compose XSS): known IDOR + pre-sanitize-conversion classes; the conversion-before-render axis is already covered by the sanitize/serve-target lineage.
- Mendix OIDC jti-only introspection and Mendix Runtime dormant-session legs are promoted as a fold on the Sept 16 identity-provider page; Payload client-supplied collection fold on the July 16 gateway/mesh page; GKE Fleet, Vertex AI private console, Application Integration deserialization, and Apigee report SQLi fold on the Google API black-box recon playbook.
- FFmpeg nine-leg encoder/memory-safety pack, Qt WAV DoS, Pillow ImageMath overflow, GNU m4 freeze overflow, PDFio AES underflow: memory-safety/DoS classes with no new operator axis.
- ~20 WPScan thin singles (XSS cluster, Everest Forms enumeration, WP ERP privilege assignment, Amelia/WebinarIgnition/Revertix/WPMasterToolKit sparse criticals with no mechanism detail): tracked no-publish per thin-singles rule; Amelia 2.4.14 identity-spoofing worth a re-check only if the mechanism surfaces.
- Seraphinite Accelerator
.../...//traversal: the double-dot-double-slash shape is already in the canonicalization lineage; IIS-specific niche product, tracked. - Apache JSPWiki Markdown renderer XSS (3.0.0), Airflow 404-page reflected XSS (1.9.0-era backfill), rejected/duplicate entries: tracked no-publish.