DBmail: Data disclosure

Security Team  Contact Address

Updated April 18, 2008

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200804-24 / dbmail
Release Date April 18, 2008
Latest Revision April 18, 2008: 01
Impact low
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-mail/dbmail < 2.2.9 >= 2.2.9 All supported architectures

Related bugreports: #218154

Synopsis

A vulnerability in DBMail could allow for passwordless login to any account under certain configurations.

2.  Impact Information

Background

DBMail is a mail storage and retrieval daemon that uses SQL databases as its data store. IMAP and POP3 can be used to retrieve mails from the database.

Description

A vulnerability in DBMail's authldap module when used in conjunction with an Active Directory server has been reported by vugluskr. When passing a zero length password to the module, it tries to bind anonymously to the LDAP server. If the LDAP server allows anonymous binds, this bind succeeds and results in a successful authentication to DBMail.

Impact

By passing an empty password string to the server, an attacker could be able to log in to any account.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All DBMail users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-mail/dbmail-2.2.9"

4.  References