Rapid7 Vulnerability & Exploit Database

ClamAV Milter Blackhole-Mode Remote Code Execution

Back to Search

ClamAV Milter Blackhole-Mode Remote Code Execution

Disclosed
08/24/2007
Created
05/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(s)

  • aushack <patrick@osisecurity.com.au>

Platform

Unix

Architectures

cmd

Development

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

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;