SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (E-mail Server)  >   Cyrus IMAP Server Vendors:   Carnegie Mellon University
(Gentoo Issues Fix) Cyrus IMAP Server Memory Errors May Let Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1012336
SecurityTracker URL:  http://securitytracker.com/id/1012336
CVE Reference:   CVE-2004-1011, CVE-2004-1012, CVE-2004-1013   (Links to External Site)
Date:  Nov 26 2004
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 2.2.8 and prior versions
Description:   Several vulnerabilities were reported in the Cyrus IMAP server. A remote user can execute arbitrary code on the target system.

Stefan Esser of e-matters GmbH reported a variety of bugs. A remote user can trigger a stack overflow in the PROXY and LOGIN commands when the imapmagicplus is enabled on the target server [CVE: CVE-2004-1011]. The username value is not properly validated. Versions 2.2.4 - 2.2.8 are affected.

It is also reported that a remote authenticated user can trigger a memory corruption error in the PARTIAL command [CVE: CVE-2004-1012], exploitable in versions 2.2.6 and prior versions. A remote authenticated user can execute arbitrary code.

It is also reported that a remtoe authenticated user can trigger a memory corruption error in the processing of the FETCH command [CVE: CVE-2004-1013] to execute arbitrary code.

In versions 2.2.7 and 2.2.8, it is also reported that a flaw in processing the MULTIAPPENDS command may cause uninitialized memory to be freed, which may lead to arbitrary code execution.

The vendor was notified on November 6, 2004.

The original advisory is available at:

http://security.e-matters.de/advisories/152004.html

Impact:   A remote user can execute arbitrary code on the target system with the privileges of the imapd process.
Solution:   Gentoo has released a fix and indicates that all Cyrus-IMAP Server users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-mail/cyrus-imapd-2.2.10"

Vendor URL:  asg.web.cmu.edu/cyrus/ (Links to External Site)
Cause:   Boundary error
Underlying OS:  Linux (Gentoo)

Message History:   This archive entry is a follow-up to the message listed below.
Nov 23 2004 Cyrus IMAP Server Memory Errors May Let Remote Users Execute Arbitrary Code



 Source Message Contents

Subject:  [gentoo-announce] [ GLSA 200411-34 ] Cyrus IMAP Server: Multiple remote vulnerabilities


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig03CA3C5EFDA4F1306B9A67DC
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200411-34
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: High
     Title: Cyrus IMAP Server: Multiple remote vulnerabilities
      Date: November 25, 2004
      Bugs: #72194
        ID: 200411-34

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

The Cyrus IMAP Server contains multiple vulnerabilities which could
lead to remote execution of arbitrary code.

Background
==========

The Cyrus IMAP Server is an efficient, highly-scalable IMAP e-mail
server.

Affected packages
=================

    -------------------------------------------------------------------
     Package               /  Vulnerable  /                 Unaffected
    -------------------------------------------------------------------
  1  net-mail/cyrus-imapd      < 2.2.10                      >= 2.2.10

Description
===========

Multiple vulnerabilities have been discovered in the argument parsers
of the 'partial' and 'fetch' commands of the Cyrus IMAP Server
(CAN-2004-1012, CAN-2004-1013). There are also buffer overflows in the
'imap magic plus' code that are vulnerable to exploitation as well
(CAN-2004-1011, CAN-2004-1015).

Impact
======

An attacker can exploit these vulnerabilities to execute arbitrary code
with the rights of the user running the Cyrus IMAP Server.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Cyrus-IMAP Server users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=net-mail/cyrus-imapd-2.2.10"

References
==========

  [ 1 ] CAN-2004-1011
        http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1011
  [ 2 ] CAN-2004-1012
        http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1012
  [ 3 ] CAN-2004-1013
        http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1013
  [ 4 ] CAN-2004-1015
        http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1015
  [ 5 ] e-matters Advisory
        http://security.e-matters.de/advisories/152004.html
  [ 6 ] Cyrus IMAP Server ChangeLog
        http://asg.web.cmu.edu/cyrus/download/imapd/changes.html

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200411-34.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2004 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0


--------------enig03CA3C5EFDA4F1306B9A67DC
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBpajtvcL1obalX08RAi++AJ9x8ys0gEQchmXG3QIg9lKmjGudagCdHunj
CjGi/H+AXlqrdeSlqAeevP4=
=mi4I
-----END PGP SIGNATURE-----

--------------enig03CA3C5EFDA4F1306B9A67DC--

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC