Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99352 - net-dns/pdns: 2 Denial of Service vulnerabilities (CAN-2005-230{1|2})
Summary: net-dns/pdns: 2 Denial of Service vulnerabilities (CAN-2005-230{1|2})
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Security
URL: http://doc.powerdns.com/changelog.htm...
Whiteboard: C3 [noglsa] jaervosz
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-17 12:22 UTC by Stefan Cornelius (RETIRED)
Modified: 2005-07-27 06:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Cornelius (RETIRED) gentoo-dev 2005-07-17 12:22:47 UTC
There are two bugs with security implications, which only apply to installations running with the LDAP backend, or installations providing recursion to a limited range of IP addresses. If any of these apply to you, an upgrade is highly advised:
* The LDAP backend did not properly escape all queries, allowing it to fail and not answer questions. We have not investigated further risks involved, but we advise LDAP users to update as quickly as possible (Norbert Sendetzky, Jan de Groot)
* Questions from clients denied recursion could blank out answers to clients who are allowed recursion services, temporarily. Reported by Wilco Baan. This would've made it possible for outsiders to blank out a domain temporarily to your users. Luckily PowerDNS would send out SERVFAIL or Refused, and not a denial of a domain's existence.
Comment 1 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2005-07-17 22:46:59 UTC
We already have an ebuild: 
 
*pdns-2.9.18 (17 Jul 2005) 
 
Arches please test and mark stable. 
Comment 2 Sven Wegener gentoo-dev 2005-07-18 07:16:08 UTC
Stable on x86.
Comment 3 Danny van Dyk (RETIRED) gentoo-dev 2005-07-20 14:40:29 UTC
Doesn't compile on amd64 when USE=ldap is set :-/

 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -D_GNU_SOURCE -march=k8
-O2 -pipe -ftracer -Wall -O2 -MT ldapbackend.lo -MD -MP -MF
.deps/ldapbackend.Tpo -c ldapbackend.cc  -fPIC -DPIC -o .libs/ldapbackend.o
ldapbackend.cc: In member function `bool LdapBackend::list_simple(const
std::string&, int)':
ldapbackend.cc:135: error: `strbind' undeclared (first use this function)
ldapbackend.cc:135: error: (Each undeclared identifier is reported only once for
each function it appears in.)
ldapbackend.cc: In member function `void LdapBackend::lookup_simple(const
QType&, const std::string&, DNSPacket*, int)':
ldapbackend.cc:218: error: `strbind' undeclared (first use this function)
ldapbackend.cc: In member function `void LdapBackend::lookup_strict(const
QType&, const std::string&, DNSPacket*, int)':
ldapbackend.cc:263: error: `strbind' undeclared (first use this function)
ldapbackend.cc: In member function `void LdapBackend::lookup_tree(const QType&,
const std::string&, DNSPacket*, int)':
ldapbackend.cc:291: error: `strbind' undeclared (first use this function)

It's to late for me to look at this tonight... Will have a look tomorrow.
Comment 4 Sven Wegener gentoo-dev 2005-07-20 16:17:30 UTC
sorry, blame it on me, doesn't compile on x86 either. seems lilke i missed it in
my tests. should be fixed now!
Comment 5 Danny van Dyk (RETIRED) gentoo-dev 2005-07-22 08:51:03 UTC
stable on amd64.
Comment 6 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2005-07-22 09:03:54 UTC
Thx this one is ready for GLSA decision. 
 
I tend to vote NO. 
Comment 7 Stefan Cornelius (RETIRED) gentoo-dev 2005-07-22 09:12:50 UTC
Tend to say no over here, too. DoS is temporary, the existance of a domain is
not denied and it requires special setup-scenarios. I might change my mind if
somebody reports that the inproper escaping of LDAP queries can exploited for
something worse than causing it not to answer.
Comment 8 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2005-07-23 05:00:51 UTC
Any other votes? 
Comment 9 Thierry Carrez (RETIRED) gentoo-dev 2005-07-27 06:42:39 UTC
Voting no too. Closing.