Rapid7

module

ClamAV Milter Blackhole-Mode Remote Code Execution

Disclosed
Aug 24, 2007
Created
May 30, 2018

Description

This module exploits a flaw in the Clam AntiVirus suite 'clamav-milter'
(Sendmail mail filter). Versions prior to v0.92.2 are vulnerable.
When implemented with black hole mode enabled, it is possible to execute
commands remotely due to an insecure popen call.

Author

Platform

Unix

Architectures

cmd

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/unix/smtp/clamav_milter_blackhole
msf exploit(clamav_milter_blackhole) > show targets
...targets...
msf exploit(clamav_milter_blackhole) > set TARGET < target-id >
msf exploit(clamav_milter_blackhole) > show options
...show and set options...
msf exploit(clamav_milter_blackhole) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.