CVE-2023-51764
JSON

5.3medium

Postfix through 3.8.5 allows SMTP smuggling unless configured with smtpddatarestrictions=rejectunauthpipelining and smtpddiscardehlokeyword…

Severity
5.3medium CVSS:3.1 by NVD
Exploit likelihood
2.63% (higher than 85% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

Postfix through 3.8.5 allows SMTP smuggling unless configured with smtpd_data_restrictions=reject_unauth_pipelining and smtpd_discard_ehlo_keywords=chunking (or certain other options that exist in recent versions). Remote attackers can use a published exploitation technique to inject e-mail messages with a spoofed MAIL FROM address, allowing bypass of an SPF protection mechanism. This occurs because Postfix supports <LF>.<CR><LF> but some other popular e-mail servers do not. To prevent attack variants (by always disallowing <LF> without <CR>), a different solution is required, such as the smtpd_forbid_bare_newline=yes option with a Postfix minimum version of 3.5.23, 3.6.13, 3.7.9, 3.8.4, or 3.9.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
postfix postfixbefore 3.5.23, from 3.6.0 before 3.6.13, from 3.7.0 before 3.7.9, from 3.8.0 before 3.8.4NVD
fedoraproject fedora38, 39NVD
redhat enterprise_linux8.0, 9.0NVD

Classification

CWE-345

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

Postfix through 3.8.5 allows SMTP smuggling unless configured with smtpd_data_restrictions=reject_unauth_pipelining and smtpd_discard_ehlo_keywords=chunking (or certain other options that exist in recent versions). Remote attackers can use a published exploitation technique to inject e-mail messages with a spoofed MAIL FROM address, allowing bypass of an SPF protection mechanism. This occurs because Postfix supports <LF>.<CR><LF> but some other popular e-mail servers do not. To prevent attack variants (by always disallowing <LF> without <CR>), a different solution is required, such as the smtpd_forbid_bare_newline=yes option with a Postfix minimum version of 3.5.23, 3.6.13, 3.7.9, 3.8.4, or 3.9.

NVD (es)

Postfix hasta 3.8.4 permite el contrabando SMTP a menos que se configure con smtpd_data_restrictions=reject_unauth_pipelining (u otras opciones que existen en versiones recientes). Los atacantes remotos pueden utilizar una técnica de explotación publicada para inyectar mensajes de correo electrónico que parecen originarse en el servidor Postfix, lo que permite omitir un mecanismo de protección SPF. Esto ocurre porque Postfix admite . pero algunos otros servidores de correo electrónico populares no lo hacen. Para evitar variantes de ataque (al no permitir siempre sin ), se requiere una solución diferente: la opción smtpd_forbid_bare_newline=yes con una versión mínima de Postfix de 3.5.23, 3.6.13, 3.7.9, 3.8.4, o 3.9.

References

https://www.postfix.org/smtp-smuggling.htmlexploit, mitigation, vendor-advisory
https://sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide/technical-description, third-party-advisory
http://www.openwall.com/lists/oss-security/2023/12/24/1mailing-list, third-party-advisory
http://www.openwall.com/lists/oss-security/2023/12/25/1mailing-list, third-party-advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2255563issue-tracking, third-party-advisory
https://access.redhat.com/security/cve/CVE-2023-51764third-party-advisory
https://fahrplan.events.ccc.de/congress/2023/fahrplan/events/11782.htmltechnical-description
https://github.com/eeenvik1/CVE-2023-51764exploit, third-party-advisory
https://github.com/duy-31/CVE-2023-51764exploit, third-party-advisory
https://www.youtube.com/watch?v=V8KPV96g1Toexploit
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QRLF5SOS7TP5N7FQSEK2NFNB44ISVTZC/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JQ5WXFCW2N6G2PH3JXDTYW5PH5EBQEGO/vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2023-51764 changed 2026-10-08CVE Terms of Use
NVDCVE-2023-51764 changed 2026-10-08Public domain