GLSA-200409-32 : getmail: Filesystem overwrite vulnerability

low Nessus Plugin ID 14809

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200409-32 (getmail: Filesystem overwrite vulnerability)

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.

Solution

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'

See Also

http://article.gmane.org/gmane.mail.getmail.user/1430

https://security.gentoo.org/glsa/200409-32

http://www.qcc.ca/~charlesc/software/getmail-4/CHANGELOG

Plugin Details

Severity: Low

ID: 14809

File Name: gentoo_GLSA-200409-32.nasl

Version: 1.16

Type: local

Published: 9/24/2004

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.4

CVSS v2

Risk Factor: Low

Base Score: 2.1

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:getmail, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 9/23/2004

Vulnerability Publication Date: 9/19/2004

Reference Information

CVE: CVE-2004-0880, CVE-2004-0881

GLSA: 200409-32