OS Command Injection in Exim - CVE-2019-10149

 

OS Command Injection in Exim - CVE-2019-10149

Published: June 5, 2019 / Updated: February 20, 2022


Vulnerability identifier: #VU18686
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Amber
CVE-ID: CVE-2019-10149
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild
Vendor: Exim
Affected software:
Exim

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to insufficient validation of email address within the deliver_message() function in /src/deliver.c. A remote unauthenticated attacker can send an email containing a specially crafted email address and execute arbitrary OS commands on the target system via execv() call with superuser privileges.

This vulnerability can be also exploited by authenticated local users to escalate privileges on the system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2019-10149

Install updates from vendor's website.

Sources