GLSA-200803-25 : Dovecot: Multiple vulnerabilities

medium Nessus Plugin ID 31612

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-200803-25 (Dovecot: Multiple vulnerabilities)

Dovecot uses the group configured via the 'mail_extra_groups' setting, which should be used to create lockfiles in the /var/mail directory, when accessing arbitrary files (CVE-2008-1199). Dovecot does not escape TAB characters in passwords when saving them, which might allow for argument injection in blocking passdbs such as MySQL, PAM or shadow (CVE-2008-1218).
Impact :

Remote attackers can exploit the first vulnerability to disclose sensitive data, such as the mail of other users, or modify files or directories that are writable by group via a symlink attack. Please note that the 'mail_extra_groups' setting is set to the 'mail' group by default when the 'mbox' USE flag is enabled.
The second vulnerability can be abused to inject arguments for internal fields. No exploitation vectors are known for this vulnerability that affect previously stable versions of Dovecot in Gentoo.
Workaround :

There is no known workaround at this time.

Solution

All Dovecot users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-mail/dovecot-1.0.13-r1' This version removes the 'mail_extra_groups' option and introduces a 'mail_privileged_group' setting which is handled safely.

See Also

https://security.gentoo.org/glsa/200803-25

Plugin Details

Severity: Medium

ID: 31612

File Name: gentoo_GLSA-200803-25.nasl

Version: 1.16

Type: local

Published: 3/19/2008

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

Vulnerability Information

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

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/18/2008

Reference Information

CVE: CVE-2008-1199, CVE-2008-1218

BID: 28092, 28181

CWE: 16, 255, 59

GLSA: 200803-25