ZDI-23-1472: (0Day) Exim libspf2 Integer Underflow Remote Code Execution Vulnerability
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Exim libspf2. Authentication is not required to exploit this vulnerability. The specific flaw exists within the parsing of SPF macros. When parsing SPF macros, the process does not properly validate user-supplied data, which can result in an integer underflow before writing to memory. An attacker can leverage this vulnerability to execute code in the context of the service account.
Other sources
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Exim libspf2. Authentication is not required to exploit this vulnerability. The ZDI has assigned a CVSS rating of 7.5. The following CVEs are assigned: CVE-2023-42118.
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-23-1472?
The severity of ZDI-23-1472 is critical due to the potential for arbitrary code execution without authentication.
How do I fix ZDI-23-1472?
To fix ZDI-23-1472, it is recommended to update Exim libspf2 to the latest patched version.
Who is affected by ZDI-23-1472?
ZDI-23-1472 affects installations of Exim libspf2 that utilize SPF macros.
Can ZDI-23-1472 be exploited remotely?
Yes, ZDI-23-1472 can be exploited remotely by network-adjacent attackers without requiring authentication.
What mechanisms in ZDI-23-1472 are vulnerable?
The specific flaw in ZDI-23-1472 lies within the parsing of SPF macros, which can be manipulated for malicious code execution.