FreeBSD : Cyrus IMAPd -- FETCH command out of bounds memory corruption (c0a269d5-3d16-11d9-8818-008088034841)

Critical Nessus Plugin ID 19109


The remote FreeBSD host is missing one or more security-related updates.


The argument parser of the fetch command suffers a bug very similiar to the partial command problem. Arguments like 'body[p', 'binary[p' or 'binary[p' will be wrongly detected and the bufferposition can point outside of the allocated buffer for the rest of the parsing process.
When the parser triggers the PARSE_PARTIAL macro after such a malformed argument was received this can lead to a similiar one byte memory corruption and allows remote code execution, when the heap layout was successfully controlled by the attacker.


Update the affected packages.

See Also

Plugin Details

Severity: Critical

ID: 19109

File Name: freebsd_pkg_c0a269d53d1611d98818008088034841.nasl

Version: $Revision: 1.14 $

Type: local

Published: 2005/07/13

Modified: 2015/05/13

Dependencies: 12634

Risk Information

Risk Factor: Critical


Base Score: 10

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:cyrus-imapd, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 2004/11/22

Vulnerability Publication Date: 2004/11/06

Reference Information

CVE: CVE-2004-1013