]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fixed rebinding protection bug when using forwarder setups
authorDiego Fronza <diego@isc.org>
Thu, 13 Feb 2020 23:17:13 +0000 (20:17 -0300)
committerOndřej Surý <ondrej@isc.org>
Wed, 8 Apr 2020 06:52:58 +0000 (08:52 +0200)
commitbba353d512bf72bdc91f6fd8aadda494a378ccfd
tree5a38b8683b35513716b6b32900c58c061ca3121f
parente12ea4f4db8adc7bb9889c3f568ca9b084c76bc0
Fixed rebinding protection bug when using forwarder setups

BIND wasn't honoring option "deny-answer-aliases" when configured to
forward queries.

Before the fix it was possible for nameservers listed in "forwarders"
option to return CNAME answers pointing to unrelated domains of the
original query, which could be used as a vector for rebinding attacks.

The fix ensures that BIND apply filters even if configured as a forwarder
instance.

(cherry picked from commit af6a4de3d5ad6c1967173facf366e6c86b3ffc28)
lib/dns/resolver.c