GLSA-200606-09 : SpamAssassin: Execution of arbitrary code

medium Nessus Plugin ID 21702

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-200606-09 (SpamAssassin: Execution of arbitrary code)

When spamd is run with both the '--vpopmail' (-v) and '--paranoid' (-P) options, it is vulnerable to an unspecified issue.
Impact :

With certain configuration options, a local or even remote attacker could execute arbitrary code with the rights of the user running spamd, which is root by default, by sending a crafted message to the spamd daemon. Furthermore, the attack can be remotely performed if the '--allowed-ips' (-A) option is present and specifies non-local adresses. Note that Gentoo Linux is not vulnerable in the default configuration.
Workaround :

Don't use both the '--paranoid' (-P) and the '--vpopmail' (-v) options.

Solution

All SpamAssassin users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=mail-filter/spamassassin-3.1.3'

See Also

https://security.gentoo.org/glsa/200606-09

Plugin Details

Severity: Medium

ID: 21702

File Name: gentoo_GLSA-200606-09.nasl

Version: 1.16

Type: local

Published: 6/16/2006

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.8

CVSS v2

Risk Factor: Medium

Base Score: 5.1

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:spamassassin, 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: 6/11/2006

Vulnerability Publication Date: 6/6/2006

Exploitable With

Metasploit (SpamAssassin spamd Remote Command Execution)

Reference Information

CVE: CVE-2006-2447

GLSA: 200606-09