CVE-2023-42115
JSON

9.8critical

Exim AUTH Out-Of-Bounds Write Remote Code Execution Vulnerability

Severity
9.8critical CVSS:3.0 by zdi
Exploit likelihood
11.5% (higher than 96% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
zdi

Description

Exim AUTH Out-Of-Bounds Write Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Exim. Authentication is not required to exploit this vulnerability. The specific flaw exists within the smtp service, which listens on TCP port 25 by default. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of a buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. . Was ZDI-CAN-17434.

Affected

Product or packageVersionsReported by
Exim Eximexim 4.95, before 4.95, before 4.96.1CVE List, NVD

Classification

CWE-787

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

Exim AUTH Out-Of-Bounds Write Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Exim. Authentication is not required to exploit this vulnerability. The specific flaw exists within the smtp service, which listens on TCP port 25 by default. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of a buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. . Was ZDI-CAN-17434.

NVD (es)

Vulnerabilidad de ejecución remota de código de escritura fuera de los límites de Exim AUTH. Esta vulnerabilidad permite a atacantes remotos ejecutar código arbitrario en las instalaciones afectadas de Exim. No se requiere autenticación para aprovechar esta vulnerabilidad. La falla específica existe dentro del servicio smtp, que escucha en el puerto TCP 25 de forma predeterminada. El problema se debe a la falta de una validación adecuada de los datos proporcionados por el usuario, lo que puede provocar una escritura más allá del final de un búfer. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto de la cuenta de servicio. Era ZDI-CAN-17434.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-42115 changed 2024-09-20CVE Terms of Use
NVDCVE-2023-42115 changed 2026-06-17Public domain