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.29

Type: remote

Published: 1/3/2008

Updated: 4/11/2022

Configuration: Enable thorough checks

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 6.3

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

Temporal Vector: 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: 8/24/2007

Vulnerability Publication Date: 8/24/2007

Exploitable With

CANVAS (D2ExploitPack)

Metasploit (ClamAV Milter Blackhole-Mode Remote Code Execution)

Reference Information

CVE: CVE-2007-4560

BID: 25439

CWE: 78