module

Exim 4.87 - 4.91 Local Privilege Escalation

Disclosed
Jun 5, 2019
Created
Aug 23, 2019

Description

This module exploits a flaw in Exim versions 4.87 to 4.91 (inclusive).
Improper validation of recipient address in deliver_message()
function in /src/deliver.c may lead to command execution with root privileges
(CVE-2019-10149).

Authors

Qualys
Dennis Herrmann
Marco Ivaldi
Guillaume André

Platform

Linux

Architectures

x86, x64

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