UW-IMAP mailbox name buffer overflow

uw-imap-mailbox-name-bo (22518) The risk level is classified as HighHigh Risk

Description:

UW-IMAP is vulnerable to a buffer overflow caused by improper bounds checking of mailbox names by the mail_valid_net_parse_work() function. By sending a specially-crafted mailbox name containing a quote (") character, a remote attacker with valid credentials could overflow a buffer and execute arbitrary code on the system with the privileges of the IMAP server.


Consequences:

Gain Access

Remedy:

Upgrade to the latest version of IMAP (imap-2005g or later), available from the UW-IMAP Web site. See References.

For Red Hat Linux:
Refer to RHSA-2005:848-6 or RHSA-2005:850-5 for patch, upgrade, or suggested workaround information. See References.

For Red Hat Linux (php-imap):
Refer to RHSA-2006:0501-6 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 2005-10-10 for patch, upgrade, or suggested workaround information. See References.

References:

Platforms Affected:

  • Debian Debian Linux 3.1
  • Gentoo Linux
  • MandrakeSoft Mandrake Linux 10.1
  • MandrakeSoft Mandrake Linux 10.1 X86_64
  • MandrakeSoft Mandrake Linux 2006 X86_64
  • MandrakeSoft Mandrake Linux 2006
  • MandrakeSoft Mandrake Linux LE2005
  • MandrakeSoft Mandrake Linux LE2005 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 2.1 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 2.1
  • MandrakeSoft Mandrake Linux Corporate Server 3.0
  • MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
  • RedHat Enterprise Linux 2.1 WS
  • RedHat Enterprise Linux 2.1 ES
  • RedHat Enterprise Linux 2.1 AS
  • RedHat Enterprise Linux 3 AS
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Enterprise Linux 3 ES
  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 4 ES
  • RedHat Enterprise Linux 4 AS
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4 Desktop
  • RedHat Linux Advanced Workstation 2.1 Itanium
  • RedHat Stronghold
  • University of Washington of Washington UW-IMAP 2004c1

Reported:

Oct 04, 2005

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page