CVE-2023-42115 is a critical remote code execution vulnerability in Exim’s SMTP service affecting the AUTH handling path, specifically the SASL EXTERNAL authentication mechanism. The flaw is caused by insufficient validation of user-supplied data, leading to an out-of-bounds write condition in which data can be written past the end of a buffer. A remote attacker can trigger the issue over SMTP without authentication and potentially execute arbitrary code in the context of the Exim service account. The issue was tracked by ZDI as ZDI-CAN-17434 and associated with Exim bug 2999.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
2 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos.
Small standalone C++ proof-of-concept exploit for CVE-2023-42115 targeting Exim over SMTP. The repository contains one code file (main.cpp) and a README with build and usage instructions. The program implements a minimal TCP client using POSIX sockets, connects to a user-supplied SMTP server, reads the banner, verifies that it contains 'Exim', sends 'EHLO anon', and then sends a crafted MAIL FROM command containing a shell payload. The payload invokes 'sh -i' and redirects the shell over /dev/udp to an attacker-specified IP and UDP port, effectively attempting unauthenticated remote code execution with a reverse shell. No advanced exploitation framework, target discovery, or payload customization beyond callback host/port is present.
This repository provides a practical exploit for CVE-2023-42115, targeting Exim SMTP servers. It contains two main Python scripts: 'exploit.py' and 'generate_payload.py'. 'exploit.py' is the primary exploit script. It allows the user to scan a target for vulnerability or exploit it by sending a crafted SMTP command (MAIL FROM) containing a payload. The script connects to the target's SMTP service (default port 25) and checks for an Exim banner to determine vulnerability. In exploit mode, it reads a user-supplied payload file and injects it into the SMTP conversation, aiming to trigger the vulnerability and execute the payload on the target. 'generate_payload.py' is a helper script that interactively generates reverse shell payloads for Linux (bash+nc) or Windows (PowerShell). The user specifies the local IP and port for the reverse connection, and the script outputs a payload file suitable for use with 'exploit.py'. The repository also includes a README.md with detailed usage instructions and a requirements.txt listing Python dependencies. The exploit is operational, providing a working reverse shell payload and clear instructions for both payload generation and exploitation. The attack vector is network-based, requiring access to the target's SMTP service. The main fingerprintable endpoints are the target's IP and port, and the temporary file '/tmp/f' used in the Linux payload. The exploit is not part of a framework and is intended for direct use by penetration testers or researchers.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A vulnerability in Exim email server, discussed as a prime target by Black Basta despite no public PoC being available.
One of six reported Exim vulnerabilities affecting Exim versions before 4.96.1 and 4.97; fixes were released on 2023-09-02.
One of six reported Exim vulnerabilities affecting Exim versions before 4.96.1 and 4.97; fixes were released on 2023-09-02.
Vulnérabilité critique dans le mécanisme EXTERNAL de SASL d'Exim permettant l'exécution de code arbitraire à distance via une mauvaise validation des données utilisateur.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.