Vulnerabilities > CVE-2002-1365 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in Fetchmail
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
PARTIAL Integrity impact
PARTIAL Availability impact
PARTIAL Summary
Heap-based buffer overflow in Fetchmail 6.1.3 and earlier does not account for the "@" character when determining buffer lengths for local addresses, which allows remote attackers to execute arbitrary code via a header with a large number of local addresses.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Nessus
NASL family Debian Local Security Checks NASL id DEBIAN_DSA-216.NASL description Stefan Esser of e-matters discovered a buffer overflow in fetchmail, an SSL enabled POP3, APOP and IMAP mail gatherer/forwarder. When fetchmail retrieves a mail all headers that contain addresses are searched for local addresses. If a hostname is missing, fetchmail appends it but doesn last seen 2020-06-01 modified 2020-06-02 plugin id 15053 published 2004-09-29 reporter This script is Copyright (C) 2004-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/15053 title Debian DSA-216-1 : fetchmail - buffer overflow NASL family SuSE Local Security Checks NASL id SUSE_SA_2003_001.NASL description The remote host is missing the patch for the advisory SUSE-SA:2003:001 (fetchmail). fetchmail is used to download emails from POP-, IMAP-, ETRN- or ODMR- servers. Stefan Esser of e-matters reported a bug in fetchmail last seen 2020-06-01 modified 2020-06-02 plugin id 13775 published 2004-07-25 reporter This script is Copyright (C) 2004-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/13775 title SUSE-SA:2003:001: fetchmail NASL family Red Hat Local Security Checks NASL id REDHAT-RHSA-2002-294.NASL description Updated Fetchmail packages are available for Red Hat Linux Advanced Server which close a remotely-exploitable vulnerability in unpatched versions of Fetchmail prior to 6.2.0. [Updated 06 Feb 2003] Added fixed packages for Advanced Workstation Fetchmail is a remote mail retrieval and forwarding utility intended for use over on-demand TCP/IP links such as SLIP and PPP connections. A bug has been found in the header parsing code in versions of Fetchmail prior to 6.2.0. The bug allows a remote attacker to crash Fetchmail and potentially execute arbitrary code by sending a carefully crafted email which is parsed by Fetchmail. All users of Fetchmail are advised to upgrade to the errata packages containing a backported fix which corrects this issue. last seen 2020-06-01 modified 2020-06-02 plugin id 12342 published 2004-07-06 reporter This script is Copyright (C) 2004-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/12342 title RHEL 2.1 : fetchmail (RHSA-2002:294) NASL family Mandriva Local Security Checks NASL id MANDRAKE_MDKSA-2003-011.NASL description A vulnerability was discovered in all versions of fetchmail prior to 6.2.0 that allows a remote attacker to crash fetchmail and potentially execute arbitrary code by sending carefully crafted email wihch is then parsed by fetchmail. The vulnerability has been fixed in these patched packages of fetchmail. last seen 2020-06-01 modified 2020-06-02 plugin id 13996 published 2004-07-31 reporter This script is Copyright (C) 2004-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/13996 title Mandrake Linux Security Advisory : fetchmail (MDKSA-2003:011)
Redhat
advisories |
|
References
- ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2003-001.0.txt
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000554
- http://marc.info/?l=bugtraq&m=103979751818638&w=2
- http://marc.info/?l=bugtraq&m=104004858802000&w=2
- http://security.e-matters.de/advisories/052002.html
- http://www.debian.org/security/2002/dsa-216
- http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:011
- http://www.redhat.com/support/errata/RHSA-2002-293.html
- http://www.redhat.com/support/errata/RHSA-2002-294.html
- http://www.redhat.com/support/errata/RHSA-2003-155.html
- http://www.securityfocus.com/bid/6390
- https://exchange.xforce.ibmcloud.com/vulnerabilities/10839