DNS cache poisoning via out-of-bailiwick NS records
Published Mar 23, 2022 · Updated Sep 16, 2024
DNS cache poisoning in BIND 9 9.11.0 through 9.18.0 allows remote attackers controlling a forwarder to return false DNS answers. The resolver accepts and caches bogus NS records outside the configured bailiwick from a forwarder, then uses them when recursion occurs. Exposure requires forwarding plus possible recursion; authoritative-only servers are unaffected, and clients can be directed to incorrect servers.
Summary
What happened
DNS cache poisoning in BIND 9 9.11.0 through 9.18.0 allows remote attackers controlling a forwarder to return false DNS answers. The resolver accepts and caches bogus NS records outside the configured bailiwick from a forwarder, then uses them when recursion occurs. Exposure requires forwarding plus possible recursion; authoritative-only servers are unaffected, and clients can be directed to incorrect servers.
The record
- CVE
- CVE-2021-25220
- Published
- Mar 23, 2022
- Updated
- Sep 16, 2024
- Vendor
- Internet Systems Consortium
- Product
- BIND 9
- Classifications
- CWE-444
- Attack vector
- network
- Privileges
- admin
Timeline
How it unfolded
- Mar 23, 2022CVE publishedPublication date reported by the CVE source.
- Sep 16, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=Development Branch 9.17 BIND 9.17 all version
- Affected versionversion=Open Source Branch 9.11 9.11.0 through versions before 9.11.37
- Affected versionversion=Open Source Branch 9.12-16 9.12.0 through versions before 9.16.27
- Affected versionversion=Open Source Branch 9.18 9.18.0
- Affected versionversion=Supported Preview Branch 9.11-S 9.11.0-S through versions before 9.11.37-S
- Affected versionversion=Supported Preview Branch 9.16-S 9.16.0-S through versions before 9.16.27-S
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo