CVE-2010-4345 in Canonical Ubuntu Linux and 3 more products
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.
Affects 4 products from 4 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 6.06 8.04 9.10 10.04 10.10 |
| Debian | Debian Linux | 5.0 |
| Exim | Exim | ≤ 4.72 |
| Opensuse | Opensuse | 11.1 11.2 11.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Yes added 2022-03-25 |
|---|---|
| Public exploit | Reported · reference |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2010-4345 |
|---|---|
| BreachSpider ID | BS-2010-GLOBAL-158949-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2010-12-14 |
| Last modified | 2026-04-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-77: Command Injection
Attacker injects operating system commands through application inputs passed to a shell or system call.
Related attack patterns (CAPEC)
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-77
CAPEC-76 Manipulating Web Input to File System Calls via CWE-77
CAPEC-15 Command Delimiters via CWE-77
CAPEC-40 Manipulating Writeable Terminal Devices via CWE-77
CAPEC-75 Manipulating Writeable Configuration Files via CWE-77
Show all 8
CAPEC-136 LDAP Injection via CWE-77
CAPEC-183 IMAP/SMTP Command Injection via CWE-77
CAPEC-248 Command Injection via CWE-77
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2010-4345 affects Exim 4.72 and earlier versions, allowing local users to gain privileges by specifying an alternate configuration file with arbitrary commands. This vulnerability has a CVSS score of 7.8 and is listed in the KEV catalog. It has known exploits but no public proof-of-concept.
The vulnerability can be exploited by a local user who can leverage the exim user account to specify an alternate configuration file. The spool_directory directive can be used to include arbitrary commands, leading to privilege escalation.
Compensating controls AI-drafted, review before use
Implement strict file permissions and access controls on the Exim configuration files to prevent unauthorized modifications.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2010-4345?
CVE-2010-4345 affects Exim 4.72 and earlier versions, allowing local users to gain privileges by specifying an alternate configuration file with arbitrary commands. This vulnerability has a CVSS score of 7.8 and is listed in the KEV catalog. It has known exploits but no public proof-of-concept.
What is the CVSS score for CVE-2010-4345?
CVE-2010-4345 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 18.0%.
Is CVE-2010-4345 actively exploited?
Yes. CVE-2010-4345 is in the CISA known-exploited catalog (added 2022-03-25). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2010-4345?
Priority: HIGH. Advisory: http://www.exim.org/lurker/message/20101207.215955.bb32d4f2.en.html PSIRT: [email protected]
What systems are affected by CVE-2010-4345?
CVE-2010-4345 affects Canonical Ubuntu Linux; Debian Debian Linux; Exim Exim; Opensuse Opensuse.
What NERC-CIP standard applies to CVE-2010-4345?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access to critical cyber assets, which could compromise the security and reliability of the BES.
What IEC 62443 requirement maps to CVE-2010-4345?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that can be exploited to gain unauthorized access to system resources, which is a key security requirement for protecting industrial control systems.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-21.