module

Exim and Dovecot Insecure Configuration Command Injection

Disclosed
2013-05-03
Created
2018-05-30

Description

This module exploits a command injection vulnerability against Dovecot with
Exim using the "use_shell" option. It uses the sender's address to inject arbitrary
commands, since this is one of the user-controlled variables. It has been
successfully tested on Debian Squeeze using the default Exim4 with the dovecot-common
packages.

Authors

Unknown
eKKiM
juan vazquez juan.vazquez@metasploit.com

Platform

Linux

Architectures

x86

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/linux/smtp/exim4_dovecot_exec
msf exploit(exim4_dovecot_exec) > show targets
...targets...
msf exploit(exim4_dovecot_exec) > set TARGET < target-id >
msf exploit(exim4_dovecot_exec) > show options
...show and set options...
msf exploit(exim4_dovecot_exec) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.