getmail mbox file race condition

getmail-mbox-race-condition (17437) The risk level is classified as MediumMedium Risk

Description:

getmail is vulnerable to a race condition. getmail handles temporary files insecurely. A local attacker could use this vulnerability to launch a symlink attack by creating a symbolic link from a temporary file to an arbitrary mbox file, which could allow the attacker to create or overwrite files on the system with root privileges.


Consequences:

Gain Privileges

Remedy:

Upgrade to the latest version of getmail (4.2.0 or later), available from the getmail documentation Web page. See References.

For Gentoo Linux:
Upgrade to the latest version of getmail (4.2.0 or later), as listed in GLSA 200409-32. See References.

For Debian GNU/Linux 3.0 (alias woody):
Upgrade to the latest getmail package (2.3.7-2 or later), as listed in DSA-553-1. See References.

For Slackware Linux:
Upgrade to the latest getmail package, as listed below. Refer to Slackware Security Announcement SSA:2004-278-01 for more information. See References.

Slackware Linux 9.1: getmail-3.2.5 or later
Slackware Linux 10: getmail-4.2.0 or later
Slackware Linux -current: getmail-4.2.0 or later

For other distributions:
Contact your vendor for upgrade or patch information.

References:

Platforms Affected:

  • Charles Cazabon getmail 4.x prior to 4.2.0
  • Debian Debian Linux 3.0
  • Gentoo Linux

Reported:

Sep 19, 2004

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page