CVE-2010-4345
CONFIRMED EXPLOITEDExim Privilege Escalation Vulnerability
Is Exim Exim affected by CVE-2010-4345?
Exim Exim is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2010-4345, added on 2022-03-25. 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 (10 vulnerable CPE entries): canonical ubuntu_linux, debian debian_linux, exim exim and opensuse opensuse.
Published CPE version bounds mark releases up to and including 4.72 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-04-15.
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-4344Same productExim Exim
Exim Heap-Based Buffer Overflow Vulnerability
- CVE-2018-6789Same productExim Exim
Exim Buffer Overflow Vulnerability
- CVE-2019-16928Same vendorExim Exim Internet Mailer
Exim Out-of-bounds Write Vulnerability
- CVE-2019-10149Same vendorExim Mail Transfer Agent (MTA)
Exim Mail Transfer Agent (MTA) Improper Input Validation
- CVE-2012-1823Neighboring entryPHP PHP
PHP-CGI Query String Parameter Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
Exim allows local users to gain privileges by leveraging the ability of the exim user account to specify an alternate configuration file with a directive that contains arbitrary commands.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
Exim 4.72 and earlier allows local users to gain privileges by leveraging the ability of the exim user account to specify an alternate configuration file with a directive that contains arbitrary commands, as demonstrated by the spool_directory directive.
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-03-25. 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 Exim 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 Exim): 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 Exim 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://bugs.exim.org/show_bug.cgi?id=1044Issue TrackingPatch
- http://lists.exim.org/lurker/message/20101209.172233.abcba158.en.htmlMailing ListPatch
- http://lists.exim.org/lurker/message/20101210.164935.385e04d0.en.htmlMailing List
- http://lists.opensuse.org/opensuse-security-announce/2010-12/msg00003.htmlMailing ListThird Party Advisory
- http://openwall.com/lists/oss-security/2010/12/10/1Mailing List
- http://secunia.com/advisories/42576Broken LinkVendor Advisory
- http://secunia.com/advisories/42930Broken Link
- http://secunia.com/advisories/43128Broken Link
- http://secunia.com/advisories/43243Broken Link
- http://www.cpanel.net/2010/12/critical-exim-security-update.htmlBroken Link
- http://www.debian.org/security/2010/dsa-2131Mailing ListThird Party Advisory
- http://www.debian.org/security/2011/dsa-2154Mailing ListThird Party Advisory
- http://www.exim.org/lurker/message/20101207.215955.bb32d4f2.en.htmlMailing ListVendor Advisory
- http://www.kb.cert.org/vuls/id/758489Third Party AdvisoryUS Government Resource
- http://www.metasploit.com/modules/exploit/unix/smtp/exim4_string_formatThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/05/04/7Mailing List
- http://www.redhat.com/support/errata/RHSA-2011-0153.htmlBroken Link
- http://www.securityfocus.com/archive/1/515172/100/0/threadedBroken LinkThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/bid/45341Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id?1024859Broken LinkThird Party AdvisoryVDB Entry
- http://www.theregister.co.uk/2010/12/11/exim_code_execution_peril/Press/Media CoverageThird Party Advisory
- http://www.ubuntu.com/usn/USN-1060-1Third Party Advisory
- http://www.vupen.com/english/advisories/2010/3171Broken LinkVendor Advisory
- http://www.vupen.com/english/advisories/2010/3204Broken LinkVendor Advisory
- http://www.vupen.com/english/advisories/2011/0135Broken Link
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