Remote code execution in Exim



Published: 2019-06-05
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-10149
CWE-ID CWE-78
Exploitation vector Network
Public exploit Vulnerability #1 is being exploited in the wild.
Vulnerable software
Subscribe
Exim
Server applications / Mail servers

Vendor Exim

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) OS Command Injection

EUVDB-ID: #VU18686

Risk: High

CVSSv3.1:

CVE-ID: CVE-2019-10149

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Exploit availability: Yes

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.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Exim: 4.87 - 4.91


CPE2.3 External links

http://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10149
http://www.exim.org/static/doc/security/CVE-2019-10149.txt
http://www.qualys.com/2019/06/05/cve-2019-10149/return-wizard-rce-exim-abridged.txt

Q & A

Can this vulnerability be exploited remotely?

How the attacker can exploit this vulnerability?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###