Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (E-mail Server)  >   Fetchmail Vendors:   Raymond, Eric S.
(Debian Issues Fix) Fetchmail Executes Arbitrary Code Supplied By Remote Servers
SecurityTracker Alert ID:  1002281
SecurityTracker URL:
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Aug 27 2001
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): prior to 5.8.17
Description:   A memory modification vulnerability was reported in Fetchmail, allowing remote users to execute arbitrary code on the fetchmail server in certain situations.

It is reported that flaws in the pop3.c and imap.c files allow a remote user to 'poke' arbitrary memory addresses with 32 bit data. A remote user that is impersonating a POP3 or IMAP server that fetchmail queries can trigger this vulnerability. If the remote user can spoof the fetchmail server's DNS, then the remote user can potentially trigger the vulnerability without impersonating the POP3 or IMAP mail server.

Some demonstration exploit code is included in the Source Message.

Impact:   A remote user can cause fetchmail to execute arbitrary code with the privileges of the user account running fetchmail.
Solution:   The vendor has released a fix. See the Source Message for the vendor's advisory containing directions on how to obtain the appropriate fix.
Vendor URL: (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Debian)

Message History:   This archive entry is a follow-up to the message listed below.
Aug 11 2001 Fetchmail Executes Arbitrary Code Supplied By Remote Servers

 Source Message Contents

Subject:  [SECURITY] [DSA-071-1] fetchmail remote exploit


- ------------------------------------------------------------------------
Debian Security Advisory DSA-071-1                                  Wichert Akkerman
August 10, 2001
- ------------------------------------------------------------------------

Package        : fetchmail
Problem type   : memory corruption
Debian-specific: no

Salvatore Sanfilippo found two remotely exploitable problems in
fetchmail while doing a security audit. In both the imap and pop3 code
the input is not verified and used to store a number in an array. Since
no bounds checking is done this can be used by an attacker to write
arbitrary data in memory. An attacker can use this if we can get a user
to transfer mail from a custom imap or pop3 server he controls.

This has been fixed in version 5.3.3-3.

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

Debian GNU/Linux 2.2 alias potato
- ---------------------------------

  Potato was released for alpha, arm, i386, m68k, powerpc and sparc.

  Source archives:
      MD5 checksum: a1ba0691be21e100b10beded89813911
      MD5 checksum: b49e9eacda18f237ae066f085647d3f7
      MD5 checksum: d2cffc4594ec2d36db6681b800f25e2a

  Architecture independent archives:
      MD5 checksum: 223c6590b7495a41d4743d526222bc4f

  Alpha architecture:
      MD5 checksum: 75249ba9604e732e07a1b2147b6e155e

  ARM architecture:
      MD5 checksum: 80a201b1e25ff5c301ccfd2cbfa6cd8e

  Intel IA-32 architecture:
      MD5 checksum: 1d9e300f957b35486e2aefcff87e43c7

  Motorola 680x0 architecture:
      MD5 checksum: 9bdf5c4712b7dec94f644e58635bee9b

  PowerPC architecture:
      MD5 checksum: 1f97930cf7c8c4442362d6c5f27465cb

  Sun Sparc architecture:
      MD5 checksum: fb060d4e74f6f1a84823829a21d54b19

  These packages will be moved into the stable distribution on its next

For not yet released architectures please refer to the appropriate
directory$arch/ .

- -- 
- ----------------------------------------------------------------------------
apt-get: deb stable/updates main
dpkg-ftp: dists/stable/updates/main
Mailing list:

Version: 2.6.3ia
Charset: noconv


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact


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 2021, LLC