Debian DSA-1881-1 : cyrus-imapd-2.2 - buffer overflow

medium Nessus Plugin ID 44746

Language:

Synopsis

The remote Debian host is missing a security-related update.

Description

It was discovered that the SIEVE component of cyrus-imapd, a highly scalable enterprise mail system, is vulnerable to a buffer overflow when processing SIEVE scripts. Due to incorrect use of the sizeof() operator an attacker is able to pass a negative length to snprintf() calls resulting in large positive values due to integer conversion.
This causes a buffer overflow which can be used to elevate privileges to the cyrus system user. An attacker who is able to install SIEVE scripts executed by the server is therefore able to read and modify arbitrary email messages on the system.

Solution

Upgrade the cyrus-imapd-2.2 packages.

For the oldstable distribution (etch), this problem has been fixed in version 2.2.13-10+etch2.

For the stable distribution (lenny), this problem has been fixed in version 2.2.13-14+lenny1.

See Also

https://www.debian.org/security/2009/dsa-1881

Plugin Details

Severity: Medium

ID: 44746

File Name: debian_DSA-1881.nasl

Version: 1.10

Type: local

Agent: unix

Published: 2/24/2010

Updated: 1/4/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 4.4

Vector: CVSS2#AV:L/AC:M/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:cyrus-imapd-2.2, cpe:/o:debian:debian_linux:4.0, cpe:/o:debian:debian_linux:5.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Patch Publication Date: 9/7/2009

Reference Information

CVE: CVE-2009-2632

CWE: 119

DSA: 1881