Remote code execution in Exim

Published: 2019-06-05 | Updated: 2019-06-05
Severity High
Patch available YES
Number of vulnerabilities 1
CVE ID CVE-2019-10149
CWE ID CWE-78
Exploitation vector Network
Public exploit N/A
Vulnerable software Exim Subscribe
Vendor Exim

Security Advisory

This security advisory describes one high risk vulnerability.

1) OS Command Injection

Severity: High

CVSSv3: 8.5 [CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C] [PCI]

CVE-ID: CVE-2019-10149

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

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.87.1, 4.88, 4.89, 4.89.1, 4.90, 4.91

CPE External links

https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10149


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected application in order to exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.