Debian Bug report logs -
#649511
CVE-2011-4318
Reported by: Moritz Muehlenhoff <jmm@debian.org>
Date: Mon, 21 Nov 2011 18:27:02 UTC
Severity: important
Tags: security
Fixed in version 1:2.0.18-1
Done: Yves-Alexis Perez <corsac@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, team@security.debian.org, secure-testing-team@lists.alioth.debian.org, Dovecot Maintainers <jaldhar-dovecot@debian.org>
:
Bug#649511
; Package src:dovecot
.
(Mon, 21 Nov 2011 18:27:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Moritz Muehlenhoff <jmm@debian.org>
:
New Bug report received and forwarded. Copy sent to team@security.debian.org, secure-testing-team@lists.alioth.debian.org, Dovecot Maintainers <jaldhar-dovecot@debian.org>
.
(Mon, 21 Nov 2011 18:27:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: dovecot
Severity: important
Tags: security
Please see the following summary from Red Hat's Jan Lieskovsky:
---------
Hello Kurt, Steve, vendors,
a security flaw was found in the way Dovecot, an IMAP and POP3 email
server, performed remote server identity verification (x509
certificate's Common Name field was not checked to match provided
remote server host name), when Dovecot was configured to proxy IMAP and
POP3 connections to remote hosts and TLS/SSL protocols were requested
(ssl=yes or starttls=yes) in the configuration to secure these
connections to the destination server. A remote attacker could use
this flaw to conduct man-in-the-middle (MITM) attacks via specially-
crafted x509v3 certificate.
References:
[1] http://www.dovecot.org/list/dovecot-news/2011-November/000200.html
[2] https://secunia.com/advisories/46886/
[3] https://bugs.gentoo.org/show_bug.cgi?id=390887
[4] http://wiki.dovecot.org/PasswordDatabase/ExtraFields/Proxy
Relevant upstream patch:
[5] http://hg.dovecot.org/dovecot-2.0/rev/5e9eaf63a6b1
Could you allocate a CVE id for this?
Note: This isn't a 'direct security flaw', in the sense it would be
discovered / reported at some time point. This behaviour (do not check
x509v3 cert CN against remote server hostname), when TLS/SSL protocols
are configured, and the danger of MITM is already described
on relevant Dovecot's page:
http://wiki.dovecot.org/PasswordDatabase/ExtraFields/Proxy
thus one could say, for those administrators, who are aware of [4]
page and configured Dovecot in safe way there is no trust boundary
crossing and this upstream change is just security hardening.
But on the other hand, this change is important enough, to be
backported to all affected versions, (regardless to the fact if
particular administrator has or hasn't read [4]). Thus I would vote
for a CVE identifier to be assigned to this issue. But opened for
discussion if someone else (MITRE?) thinks this should be dealt
with rather as with security hardening, than with a real security
flaw.
-------------
Also, please see Timo Sirainen's followup:
-------------
SSL proxy connections were added in some Dovecot v1.x version, but v1.x
doesn't support giving hostname as proxy destination, only IP address.
So this can't really be backported to v1.x.
My v2.0 change keeps this backwards compatible with existing setups that
use IP addresses, so that the hostname check is skipped when connecting
with IP.
Upcoming v2.1 is stricter and doesn't skip the check, which basically
means that ssl=yes with IP address as destination always fails.
-------------
We don't need to do anything wrt stable/oldstable, but please fix this
up for Wheezy.
Cheers,
Moritz
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Information forwarded
to debian-bugs-dist@lists.debian.org, Dovecot Maintainers <jaldhar-dovecot@debian.org>
:
Bug#649511
; Package src:dovecot
.
(Tue, 22 Nov 2011 17:03:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Marco Nenciarini <mnencia@prato.linux.it>
:
Extra info received and forwarded to list. Copy sent to Dovecot Maintainers <jaldhar-dovecot@debian.org>
.
(Tue, 22 Nov 2011 17:03:06 GMT) (full text, mbox, link).
Message #10 received at 649511@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Is it urgent? I'm ultra-busy until Friday 25 for the Italian PostgreSQL
Conference (PGDay), but if needed I take some time from my sleep to
upload the 2.0.16 version.
Regards,
Marco
--
---------------------------------------------------------------------
| Marco Nenciarini | Debian/GNU Linux Developer - Plug Member |
| mnencia@prato.linux.it | http://www.prato.linux.it/~mnencia |
---------------------------------------------------------------------
Key fingerprint = FED9 69C7 9E67 21F5 7D95 5270 6864 730D F095 E5E4
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Dovecot Maintainers <jaldhar-dovecot@debian.org>
:
Bug#649511
; Package src:dovecot
.
(Tue, 22 Nov 2011 18:54:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Timo Sirainen <tss@iki.fi>
:
Extra info received and forwarded to list. Copy sent to Dovecot Maintainers <jaldhar-dovecot@debian.org>
.
(Tue, 22 Nov 2011 18:54:03 GMT) (full text, mbox, link).
Message #15 received at 649511@bugs.debian.org (full text, mbox, reply):
On 22.11.2011, at 18.53, Marco Nenciarini wrote:
> Is it urgent? I'm ultra-busy until Friday 25 for the Italian PostgreSQL
> Conference (PGDay), but if needed I take some time from my sleep to
> upload the 2.0.16 version.
Not urgent. I estimate there are approximately 0 installations where this is exploitable.
Reply sent
to Yves-Alexis Perez <corsac@debian.org>
:
You have taken responsibility.
(Mon, 10 Jun 2013 20:39:32 GMT) (full text, mbox, link).
Notification sent
to Moritz Muehlenhoff <jmm@debian.org>
:
Bug acknowledged by developer.
(Mon, 10 Jun 2013 20:39:32 GMT) (full text, mbox, link).
Message #20 received at 649511-done@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Version: 1:2.0.18-1
Seems this one was never closed, so doing it now.
--
Yves-Alexis
[signature.asc (application/pgp-signature, inline)]
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org
.
(Tue, 09 Jul 2013 07:26:19 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Jun 19 13:14:58 2019;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.