CVE-2019-10149
CONFIRMED EXPLOITEDExim Mail Transfer Agent (MTA) Improper Input Validation
Is Exim Mail Transfer Agent (MTA) affected by CVE-2019-10149?
Exim Mail Transfer Agent (MTA) is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2019-10149, added on 2022-01-10. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (4 vulnerable CPE entries): canonical ubuntu_linux, debian debian_linux and exim exim.
Published CPE version bounds mark releases up to and including 4.91 as vulnerable. Confirm the patched release in the vendor advisory below before treating any upgrade as complete.
The CISA remediation deadline for this entry is 2022-07-10.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2010-4345Same vendorExim Exim
Exim Privilege Escalation Vulnerability
- CVE-2010-4344Same vendorExim Exim
Exim Heap-Based Buffer Overflow Vulnerability
- CVE-2019-16928Same vendorExim Exim Internet Mailer
Exim Out-of-bounds Write Vulnerability
- CVE-2018-6789Same vendorExim Exim
Exim Buffer Overflow Vulnerability
- CVE-2018-13383Neighboring entryFortinet FortiOS and FortiProxy
Fortinet FortiOS and FortiProxy Out-of-bounds Write
- CVE-2019-1458Neighboring entryMicrosoft Win32k
Microsoft Win32k Privilege Escalation Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
Improper validation of recipient address in deliver_message() function in /src/deliver.c may lead to remote command execution.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
A flaw was found 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 remote command execution.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2022-01-10. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Mail Transfer Agent (MTA) has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- Mail / messaging surface (Exim Mail Transfer Agent (MTA)): inspect MTA transaction and authentication logs (`/var/log/mail.log`, Exchange message tracking), `Zeek smtp.log` / `ssl.log`, and webmail access logs for anomalous auth sequences or unexpected child processes.
- Command/Argument Injection class (CWE-77/78/88): monitor process trees for `/bin/sh`, `bash`, `cmd.exe`, `powershell`, `curl`, or `wget` spawned as child processes of the service daemon.
- Inventory all hosts running Exim Mail Transfer Agent (MTA) and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00020.htmlMailing ListThird Party Advisory
- http://packetstormsecurity.com/files/153218/Exim-4.9.1-Remote-Command-Execution.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/153312/Exim-4.91-Local-Privilege-Escalation.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/154198/Exim-4.91-Local-Privilege-Escalation.htmlExploitThird Party AdvisoryVDB Entry
- http://seclists.org/fulldisclosure/2019/Jun/16Mailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2019/06/05/2Mailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2019/06/05/3Mailing ListPatchThird Party Advisory
- http://www.openwall.com/lists/oss-security/2019/06/05/4ExploitMailing List
- http://www.openwall.com/lists/oss-security/2019/06/06/1ExploitMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2019/07/25/6Mailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2019/07/25/7Mailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2019/07/26/4Mailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/05/04/7Mailing ListThird Party Advisory
- http://www.securityfocus.com/bid/108679Broken LinkThird Party AdvisoryVDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10149Issue TrackingThird Party Advisory
- https://seclists.org/bugtraq/2019/Jun/5Mailing ListThird Party Advisory
- https://security.gentoo.org/glsa/201906-01Third Party Advisory
- https://usn.ubuntu.com/4010-1/Third Party Advisory
- https://www.debian.org/security/2019/dsa-4456Third Party Advisory
- https://www.exim.org/static/doc/security/CVE-2019-10149.txtVendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00020.htmlMailing ListThird Party Advisory
- http://packetstormsecurity.com/files/153218/Exim-4.9.1-Remote-Command-Execution.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/153312/Exim-4.91-Local-Privilege-Escalation.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/154198/Exim-4.91-Local-Privilege-Escalation.htmlExploitThird Party AdvisoryVDB Entry
- http://seclists.org/fulldisclosure/2019/Jun/16Mailing ListThird Party Advisory
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Endpoint visibility, digital forensics, and incident response (DFIR) platform
Network security monitoring (NSM) and protocol metadata extraction framework
Multi-threaded IDS, IPS, and network security monitoring engine
VirusTotal's memory-safe Rust rewrite of YARA for binary & implant hunting