OS Command Injection in Exim - CVE-2019-15846

 

OS Command Injection in Exim - CVE-2019-15846

Published: September 6, 2019


Vulnerability identifier: #VU20924
CSH Severity: High
CVSS v4: 9.3 [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]
CVE-ID: CVE-2019-15846
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

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

The vulnerability exists due to incorrect processing of trailing backslash during TLS connection. A remote unauthenticated attacker can send specially crafted command via an established TLS connection and execute arbitrary OS commands on the target system with root privileges.

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


Affected software

Exim
Arch Linux
Amazon Linux AMI
Gentoo Linux
Fedora
Opensuse
exim4 (Debian package)
exim (Alpine package)
exim4 (Ubuntu package)
exim

How to mitigate CVE-2019-15846

Install updates from vendor's website.

Exim - update to 4.92.2
exim4 (Debian package) - addressed in versions 4.89-2+deb9u6, 4.92-8+deb10u2
exim (Alpine package) - update to 4.91-r2
exim4 (Ubuntu package) - addressed in versions 4.86.2-2ubuntu2.5, 4.90.1-1ubuntu1.4, 4.92-4ubuntu1.3
exim - addressed in versions 4.92.2-1.el6, 4.92.2-1.el7, 4.92.2-1.fc29, 4.92.2-1.fc30, 4.92.2-1.fc31

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins