Lucene search

K
gentooGentoo FoundationGLSA-200409-32
HistorySep 23, 2004 - 12:00 a.m.

getmail: Filesystem overwrite vulnerability

2004-09-2300:00:00
Gentoo Foundation
security.gentoo.org
8

2.1 Low

CVSS2

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:L/AC:L/Au:N/C:N/I:P/A:N

0.0004 Low

EPSS

Percentile

5.1%

Background

getmail is a reliable fetchmail replacement that supports Maildir, Mboxrd and external MDA delivery.

Description

David Watson discovered a vulnerability in getmail when it is configured to run as root and deliver mail to the maildirs/mbox files of untrusted local users. A malicious local user can then exploit a race condition, or a similar symlink attack, and potentially cause getmail to create or overwrite files in any directory on the system.

Impact

An untrusted local user could potentially create or overwrite files in any directory on the system. This vulnerability may also be exploited to have arbitrary commands executed as root.

Workaround

Do not run getmail as a privileged user; or, in version 4, use an external MDA with explicitly configured user and group privileges.

Resolution

All getmail users should upgrade to the latest version:

 # emerge sync
 
 # emerge -pv ">=net-mail/getmail-4.2.0"
 # emerge ">=net-mail/getmail-4.2.0"
OSVersionArchitecturePackageVersionFilename
Gentooanyallnet-mail/getmail< 4.2.0UNKNOWN

2.1 Low

CVSS2

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:L/AC:L/Au:N/C:N/I:P/A:N

0.0004 Low

EPSS

Percentile

5.1%