Executive Summary

Summary
Title Cyrus IMAPd buffer overflow vulnerability
Informations
Name VU#336053 First vendor Publication 2009-09-09
Vendor VU-CERT Last vendor Modification 2009-09-11
Severity (Vendor) N/A Revision M

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:L/AC:M/Au:N/C:P/I:P/A:P)
Cvss Base Score 4.4 Attack Range Local
Cvss Impact Score 6.4 Attack Complexity Medium
Cvss Expoit Score 3.4 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Vulnerability Note VU#336053

Cyrus IMAPd buffer overflow vulnerability

Overview

The Cyrus IMAP server contains a vulnerability that may allow an authenticated attacker to execute code.

I. Description

The Cyrus IMAP mail server supports the SIEVE mail filtering language. Cyrus IMAP versions 2.2 through 2.3.14 contain a buffer overflow vulnerability that may be triggered by a specially crafted SIEVE script. To install this type of script, the attacker would need to have direct access to a mail account on the server.

II. Impact

An attacker with the ability to install SIEVE scripts may be able to gain elevated privileges and use the new permissions to execute code, read other user's mail, or send spoofed email messages.

III. Solution

Update

The Cyrus IMAP team has released an update to address this issue. See http://lists.andrew.cmu.edu/pipermail/cyrus-announce/2009-September/000068.html for more information.

Disable SIEVE

Administrators who compile Cyrus IMAP from source can use the --disable-sieve option to mitigate this issue.

Systems Affected

VendorStatusDate NotifiedDate Updated
Apple Inc.Unknown2009-09-042009-09-05
Conectiva Inc.Unknown2009-09-042009-09-05
Cray Inc.Unknown2009-09-042009-09-05
Debian GNU/LinuxVulnerable2009-09-042009-09-10
DragonFly BSD ProjectUnknown2009-09-042009-09-05
EMC CorporationUnknown2009-09-042009-09-05
Engarde Secure LinuxUnknown2009-09-042009-09-05
F5 Networks, Inc.Unknown2009-09-042009-09-05
Fedora ProjectUnknown2009-09-042009-09-05
FreeBSD, Inc.Unknown2009-09-042009-09-05
FujitsuUnknown2009-09-042009-09-05
Gentoo LinuxUnknown2009-09-042009-09-05
Hewlett-Packard CompanyUnknown2009-09-042009-09-05
HitachiUnknown2009-09-042009-09-05
IBM CorporationUnknown2009-09-042009-09-05
IBM eServerUnknown2009-09-042009-09-05
InfobloxUnknown2009-09-042009-09-05
Juniper Networks, Inc.Unknown2009-09-042009-09-05
Mandriva S. A.Unknown2009-09-042009-09-05
Microsoft CorporationUnknown2009-09-042009-09-05
MontaVista Software, Inc.Unknown2009-09-042009-09-05
NEC CorporationUnknown2009-09-042009-09-05
NetBSDUnknown2009-09-042009-09-05
NokiaUnknown2009-09-042009-09-05
Novell, Inc.Unknown2009-09-042009-09-05
OpenBSDUnknown2009-09-042009-09-05
Openwall GNU/*/LinuxUnknown2009-09-042009-09-10
QNX Software Systems Inc.Unknown2009-09-042009-09-05
Red Hat, Inc.Unknown2009-09-042009-09-05
SafeNetUnknown2009-09-042009-09-05
Silicon Graphics, Inc.Unknown2009-09-042009-09-05
Slackware Linux Inc.Not Vulnerable2009-09-042009-09-11
Sony CorporationUnknown2009-09-042009-09-05
Sun Microsystems, Inc.Not Vulnerable2009-09-042009-09-10
SUSE LinuxVulnerable2009-09-042009-09-10
The SCO GroupVulnerable2009-09-042009-09-08
TurbolinuxUnknown2009-09-042009-09-05
UbuntuUnknown2009-09-042009-09-05
UnisysUnknown2009-09-042009-09-05
Wind River Systems, Inc.Unknown2009-09-042009-09-05

References


http://lists.andrew.cmu.edu/pipermail/cyrus-announce/2009-September/000068.html
http://cyrusimap.web.cmu.edu/imapd/install-compile.html
http://en.wikipedia.org/wiki/Sieve_(mail_filtering_language)

Credit

Thanks to the Cyrus IMAP development team and Bron Gondwana for information that was used in this report.

This document was written by Ryan Giobbi.

Other Information

Date Public:2009-09-07
Date First Published:2009-09-09
Date Last Updated:2009-09-11
CERT Advisory: 
CVE-ID(s):CVE-2009-2632
NVD-ID(s):CVE-2009-2632
US-CERT Technical Alerts: 
Metric:0.56
Document Revision:18

Original Source

Url : http://www.kb.cert.org/vuls/id/336053

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-119 Failure to Constrain Operations within the Bounds of a Memory Buffer

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:10082
 
Oval ID: oval:org.mitre.oval:def:10082
Title: Buffer overflow in the SIEVE script component (sieve/script.c), as used in cyrus-imapd in Cyrus IMAP Server 2.2.13 and 2.3.14, and Dovecot 1.0 before 1.0.4 and 1.1 before 1.1.7, allows local users to execute arbitrary code and read or modify arbitrary messages via a crafted SIEVE script, related to the incorrect use of the sizeof operator for determining buffer length, combined with an integer signedness error.
Description: Buffer overflow in the SIEVE script component (sieve/script.c), as used in cyrus-imapd in Cyrus IMAP Server 2.2.13 and 2.3.14, and Dovecot 1.0 before 1.0.4 and 1.1 before 1.1.7, allows local users to execute arbitrary code and read or modify arbitrary messages via a crafted SIEVE script, related to the incorrect use of the sizeof operator for determining buffer length, combined with an integer signedness error.
Family: unix Class: vulnerability
Reference(s): CVE-2009-2632
Version: 5
Platform(s): Red Hat Enterprise Linux 4
CentOS Linux 4
Oracle Linux 4
Red Hat Enterprise Linux 5
CentOS Linux 5
Oracle Linux 5
Product(s):
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 2

OpenVAS Exploits

Date Description
2012-02-12 Name : Gentoo Security Advisory GLSA 201110-16 (Cyrus IMAP Server)
File : nvt/glsa_201110_16.nasl
2011-08-09 Name : CentOS Update for cyrus-imapd CESA-2009:1459 centos4 i386
File : nvt/gb_CESA-2009_1459_cyrus-imapd_centos4_i386.nasl
2011-08-09 Name : CentOS Update for cyrus-imapd CESA-2009:1459 centos5 i386
File : nvt/gb_CESA-2009_1459_cyrus-imapd_centos5_i386.nasl
2010-10-19 Name : Mandriva Update for dovecot MDVSA-2010:196 (dovecot)
File : nvt/gb_mandriva_MDVSA_2010_196.nasl
2010-08-02 Name : Cyrus IMAP Server SIEVE Script Handling Buffer Overflow Vulnerability
File : nvt/secpod_cyrus_imap_server_bof_vuln.nasl
2010-05-12 Name : Mac OS X 10.6.3 Update / Mac OS X Security Update 2010-002
File : nvt/macosx_upd_10_6_3_secupd_2010-002.nasl
2009-12-10 Name : Mandriva Security Advisory MDVSA-2009:229-1 (cyrus-imapd)
File : nvt/mdksa_2009_229_1.nasl
2009-10-19 Name : SuSE Security Summary SUSE-SR:2009:016
File : nvt/suse_sr_2009_016.nasl
2009-10-06 Name : Ubuntu USN-838-1 (dovecot)
File : nvt/ubuntu_838_1.nasl
2009-09-28 Name : Debian Security Advisory DSA 1893-1 (cyrus-imapd-2.2 kolab-cyrus-imapd)
File : nvt/deb_1893_1.nasl
2009-09-28 Name : Mandrake Security Advisory MDVSA-2009:242 (dovecot)
File : nvt/mdksa_2009_242.nasl
2009-09-28 Name : Mandrake Security Advisory MDVSA-2009:242-1 (dovecot)
File : nvt/mdksa_2009_242_1.nasl
2009-09-28 Name : CentOS Security Advisory CESA-2009:1459 (cyrus-imapd)
File : nvt/ovcesa2009_1459.nasl
2009-09-28 Name : Debian Security Advisory DSA 1892-1 (dovecot)
File : nvt/deb_1892_1.nasl
2009-09-28 Name : RedHat Security Advisory RHSA-2009:1459
File : nvt/RHSA_2009_1459.nasl
2009-09-15 Name : FreeBSD Ports: cyrus-imapd
File : nvt/freebsd_cyrus-imapd4.nasl
2009-09-15 Name : Fedora Core 10 FEDORA-2009-9559 (dovecot)
File : nvt/fcore_2009_9559.nasl
2009-09-15 Name : Fedora Core 11 FEDORA-2009-9417 (cyrus-imapd)
File : nvt/fcore_2009_9417.nasl
2009-09-15 Name : Mandrake Security Advisory MDVSA-2009:229 (cyrus-imapd)
File : nvt/mdksa_2009_229.nasl
2009-09-15 Name : Debian Security Advisory DSA 1881-1 (cyrus-imapd-2.2)
File : nvt/deb_1881_1.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
57843 Cyrus IMAP Server (cyrus-imapd) SIEVE Script Component (sieve/script.c) Craft...

Nessus® Vulnerability Scanner

Date Description
2013-07-12 Name : The remote Oracle Linux host is missing one or more security updates.
File : oraclelinux_ELSA-2009-1459.nasl - Type : ACT_GATHER_INFO
2012-08-01 Name : The remote Scientific Linux host is missing one or more security updates.
File : sl_20090923_cyrus_imapd_on_SL4_x.nasl - Type : ACT_GATHER_INFO
2011-10-24 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201110-16.nasl - Type : ACT_GATHER_INFO
2010-10-06 Name : The remote Mandriva Linux host is missing one or more security updates.
File : mandriva_MDVSA-2010-196.nasl - Type : ACT_GATHER_INFO
2010-03-29 Name : The remote host is missing a Mac OS X update that fixes various security issues.
File : macosx_SecUpd2010-002.nasl - Type : ACT_GATHER_INFO
2010-02-24 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-1881.nasl - Type : ACT_GATHER_INFO
2010-02-24 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-1893.nasl - Type : ACT_GATHER_INFO
2010-02-24 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-1892.nasl - Type : ACT_GATHER_INFO
2010-01-06 Name : The remote CentOS host is missing one or more security updates.
File : centos_RHSA-2009-1459.nasl - Type : ACT_GATHER_INFO
2009-10-13 Name : The remote openSUSE host is missing a security update.
File : suse_11_0_dovecot-091007.nasl - Type : ACT_GATHER_INFO
2009-10-13 Name : The remote openSUSE host is missing a security update.
File : suse_11_1_dovecot-091008.nasl - Type : ACT_GATHER_INFO
2009-10-13 Name : The remote openSUSE host is missing a security update.
File : suse_dovecot-6539.nasl - Type : ACT_GATHER_INFO
2009-10-06 Name : The remote openSUSE host is missing a security update.
File : suse_cyrus-imapd-6483.nasl - Type : ACT_GATHER_INFO
2009-09-29 Name : The remote Ubuntu host is missing one or more security-related patches.
File : ubuntu_USN-838-1.nasl - Type : ACT_GATHER_INFO
2009-09-24 Name : The remote Red Hat host is missing one or more security updates.
File : redhat-RHSA-2009-1459.nasl - Type : ACT_GATHER_INFO
2009-09-23 Name : The remote Mandriva Linux host is missing one or more security updates.
File : mandriva_MDVSA-2009-242.nasl - Type : ACT_GATHER_INFO
2009-09-22 Name : The remote openSUSE host is missing a security update.
File : suse_11_0_cyrus-imapd-090908.nasl - Type : ACT_GATHER_INFO
2009-09-22 Name : The remote openSUSE host is missing a security update.
File : suse_11_1_cyrus-imapd-090908.nasl - Type : ACT_GATHER_INFO
2009-09-16 Name : The remote Fedora host is missing a security update.
File : fedora_2009-9559.nasl - Type : ACT_GATHER_INFO
2009-09-14 Name : The remote Mandriva Linux host is missing one or more security updates.
File : mandriva_MDVSA-2009-229.nasl - Type : ACT_GATHER_INFO
2009-09-10 Name : The remote FreeBSD host is missing one or more security-related updates.
File : freebsd_pkg_012b495c9d5111de8d20001bd3385381.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2014-02-17 12:07:44
  • Multiple Updates