[dovecot] [CVE-2008-1199, CVE-2008-1218] privilege escalation

Bug #203449 reported by disabled.user
258
Affects Status Importance Assigned to Milestone
dovecot (Debian)
Fix Released
Unknown
dovecot (Ubuntu)
Fix Released
Medium
Kees Cook
Dapper
Fix Released
Medium
Kees Cook
Edgy
Fix Released
Medium
Kees Cook
Feisty
Fix Released
Medium
Kees Cook
Gutsy
Fix Released
Medium
Kees Cook
Hardy
Fix Released
Medium
Kees Cook

Bug Description

Binary package hint: dovecot

References:
DSA-1516-1 (http://www.debian.org/security/2008/dsa-1516)

Quoting:
"Prior to this update, the default configuration for Dovecot used by
Debian runs the server daemons with group mail privileges. This means
that users with write access to their mail directory by other means
(for example, through an SSH login) could read mailboxes owned by
other users for which they do not have direct write access
(CVE-2008-1199). In addition, an internal interpretation conflict in
password handling has been addressed proactively, even though it is
not known to be exploitable (CVE-2008-1218).

Note that applying this update requires manual action: The
configuration setting "mail_extra_groups = mail" has been replaced
with "mail_privileged_group = mail". The update will show a
configuration file conflict in /etc/dovecot/dovecot.conf. It is
recommended that you keep the currently installed configuration file,
and change the affected line. For your reference, the sample
configuration (without your local changes) will have been written to
/etc/dovecot/dovecot.conf.dpkg-new.

If your current configuration uses mail_extra_groups with a value
different from "mail", you may have to resort to the
mail_access_groups configuration directive."

CVE References

Changed in dovecot:
status: Unknown → Fix Released
Revision history for this message
Nicolas Valcarcel (nvalcarcel) wrote :

Attaching debdiff

Changed in dovecot:
status: New → Confirmed
Changed in dovecot:
importance: Undecided → High
Revision history for this message
Nicolas Valcarcel (nvalcarcel) wrote :

Attaching correct debdiff, sorry for the mistake.

Revision history for this message
C de-Avillez (hggdh2) wrote :

CVE-2008-1199 states this affects all versions of Dovecot before 1.0.11; CVE-2008-1218 states all 1.0.x prior to 1.0.13. So...
Gutsy, at 1.0.5,
Feisty, at 1.0.rc17,
Edgy, at 1.0.rc2, and
dapper, at 1.0.beta3

should also be affected.

@nxvl: could you check on it?

Revision history for this message
Ante Karamatić (ivoks) wrote :

I'm testing fix on dapper.

For Hardy, I suggest pulling 1.0.13 from Debian.

Revision history for this message
Ante Karamatić (ivoks) wrote :

This is a debdiff for dapper, fixes:

CVE-2008-1199
CVE-2008-1218
dovecot's security hole #6 (Some passdbs allowed users to log in without a valid password) - http://dovecot.org/list/dovecot-news/2008-March/000064.html

Patch is tested in production environments.

Revision history for this message
Ante Karamatić (ivoks) wrote : Re: [Bug 203449] Re: [dovecot] [CVE-2008-1199, CVE-2008-1218] privilege escalation

On Sat, 22 Mar 2008 11:04:18 -0000
Ante Karamatić <email address hidden> wrote:

> CVE-2008-1199
> CVE-2008-1218
> dovecot's security hole #6 (Some passdbs allowed users to log in without a valid password) - http://dovecot.org/list/dovecot-news/2008-March/000064.html

Fixed in Hardy.

Revision history for this message
Kees Cook (kees) wrote :

Fixed in Hardy with 1:1.0.10-1ubuntu3.

Changed in dovecot:
assignee: nobody → keescook
status: Confirmed → Fix Released
importance: High → Medium
assignee: nobody → keescook
importance: Undecided → Medium
status: New → Fix Released
assignee: nobody → keescook
importance: Undecided → Medium
status: New → Fix Released
assignee: nobody → keescook
importance: Undecided → Medium
status: New → Fix Released
assignee: nobody → keescook
importance: Undecided → Medium
status: New → Fix Released
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.