CVE-2023-26314
High · 8.8CVSS
8.8
EPSS
1.0%
Published
Feb 22, 2023
CISA due date
—
Cloudanix analysis
A setup problem in Mono software on Debian lets attackers run unwanted programs if someone opens certain executable files.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Full Compromise
- Component
- Application
- Class
- Misconfiguration
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw associates the application/x-ms-dos-executable MIME type with an unsandboxed Mono CLR interpreter, allowing arbitrary code execution when such files are processed.
Why it matters to the business
Organizations using affected Mono packages on Debian systems face elevated risk of remote code execution from opening or processing Windows executable files, though low EPSS and absence from KEV indicate limited active exploitation after over three years of public disclosure.
How an attack unfolds
An attacker crafts or obtains a malicious Windows executable file, hosts it or delivers it via email or web, and relies on the victim's system MIME configuration to invoke the Mono interpreter without sandboxing to execute attacker-controlled code.
How to fix it
Update the mono package to version 6.8.0.105+dfsg-3.3 or later on Debian systems and review MIME type handlers to ensure executable types are not routed to interpreters without isolation.
How to confirm the fix worked
Confirm the mono package version is at or above 6.8.0.105+dfsg-3.3, inspect /etc/mime.types and mailcap entries for application/x-ms-dos-executable, and test that .exe files no longer invoke mono without explicit sandboxing.
Typical attack path
- Identify or create a malicious .exe file that triggers code execution via Mono CLR
- Deliver the file to the target via web download, email attachment, or shared storage
- Victim system processes the file based on MIME type association
- Unsandboxed Mono interpreter executes the payload granting code execution
How to detect it
Review system logs for unexpected mono process invocations on files with .exe extensions or application/x-ms-dos-executable MIME types, and examine mailcap or MIME handler configurations for unsafe entries.
What your security team should do
- Prioritize package updates for all Debian systems running mono below the fixed version
- Audit MIME type configurations across endpoints to remove unsafe interpreter associations
- Monitor EPSS and threat intelligence for any future increase in exploitation activity
The record
The mono package before 6.8.0.105+dfsg-3.3 for Debian allows arbitrary code execution because the application/x-ms-dos-executable MIME type is associated with an un-sandboxed Mono CLR interpreter.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | mono | 0 | 5.18.0.240+dfsg-3+deb10u1 |
| Debian:11 | mono | 0 | 6.8.0.105+dfsg-3.3~deb11u1 |
| Debian:12 | mono | 0 | 6.8.0.105+dfsg-3.3 |
| Debian:13 | mono | 0 | 6.8.0.105+dfsg-3.3 |
| Ubuntu:14.04:LTS | mono | 0 | No fix |
| Ubuntu:16.04:LTS | mono | 0 | No fix |
| Ubuntu:18.04:LTS | mono | 0 | No fix |
| Ubuntu:20.04:LTS | mono | 0 | No fix |
| Ubuntu:22.04:LTS | mono | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | mono | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | mono | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mono | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | mono | 0 | No fix |
Related vulnerabilities
- CVE-2005-0509 Multiple cross-site scripting (XSS) vulnerabilities in the Mono 1.0.5 implementation of… Also affects mono
- CVE-2009-0689 Array index error in the (1) dtoa implementation in dtoa.c (aka pdtoa.c) and the (2)… Also affects mono
- CVE-2011-0992 Use-after-free vulnerability in Mono, when Moonlight 2.x before 2.4.1 or 3.x before… Also affects mono