ClamAV clamav-milter black-hole-mode Sendmail Recipient Field Arbitrary Command Execution

High Nessus Plugin ID 29830

Synopsis

The remote mail server allows execution of arbitrary commands.

Description

The remote host appears to be running a version of Clamav-milter, a filter for sendmail, configured with '--black-hole-mode' that fails to sanitize recipient addresses of shell metacharacters before using them in a call to 'popen()' to determine whether to discard incoming messages. An unauthenticated, remote attacker can leverage this issue to execute arbitrary code, typically as root.

Solution

Upgrade to ClamAV 0.91.2 or later.

See Also

https://piratebay-proxies.com/best-internet-security/

https://www.securityfocus.com/archive/1/477723/100/0/threaded

https://seclists.org/fulldisclosure/2007/Dec/518

Plugin Details

Severity: High

ID: 29830

File Name: clamav_milter_blackhole_cmd_exec.nasl

Version: 1.28

Type: remote

Published: 2008/01/03

Updated: 2018/11/15

Dependencies: 10263, 11936

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.6

Temporal Score: 6.3

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

Temporal Vector: CVSS2#E:F/RL:OF/RC:C

Vulnerability Information

CPE: cpe:/a:clamav:clamav

Required KB Items: Settings/ThoroughTests

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2007/08/24

Vulnerability Publication Date: 2007/08/24

Exploitable With

CANVAS (D2ExploitPack)

Metasploit (ClamAV Milter Blackhole-Mode Remote Code Execution)

Reference Information

CVE: CVE-2007-4560

BID: 25439

CWE: 78