Vulnerabilities · 2023 · Postfix
CVE-2023-51764
Postfix vulnerability
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 products
Postfix, Fedora, Enterprise Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Postfix runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.postfix.org/smtp-smuggling.html · Exploit
- www.openwall.com/lists/oss-security/2023/12/24/1 · Third Party Advisory
- www.openwall.com/lists/oss-security/2023/12/25/1 · Third Party Advisory
- access.redhat.com/security/cve/CVE-2023-51764 · Third Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2255563 · Third Party Advisory
- github.com/duy-31/CVE-2023-51764 · Exploit
- github.com/eeenvik1/CVE-2023-51764 · Exploit
- sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2023-51764
- cve.org/CVERecord?id=CVE-2023-51764
More vulnerabilities in Postfix products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.