Vulnerability in Postfix
CVE-2023-51764
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS 0.026, 85.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Postfix
- Fedoraproject Fedora — versions 38, 39
- Red Hat Enterprise Linux — versions 8.0, 9.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
4 public repositories with exploit or proof-of-concept code for this CVE:
- duy-31/CVE-2023-51764 (23 stars, last pushed 2023-12-26): Postfix SMTP Smuggling - Expect Script POC
- eeenvik1/CVE-2023-51764 (4 stars, last pushed 2023-12-28): PoC CVE-2023-51764
- d4op/CVE-2023-51764-POC (1 star, last pushed 2024-01-03): just idea, no cp pls
- Double-q1015/CVE-2023-51764 (last pushed 2024-01-05): CVE-2023-51764 poc
Also mentioned in 4 other repositories (fkie-cad/nvd-json-data-feeds, hannob/smtpsmug, marklogic/marklogic-docker, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.postfix.org/smtp-smuggling.html (Exploit, Mitigation, Vendor Advisory)
- sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide/ (Technical Description, Third Party Advisory)
- [oss-security] 20231224 Re: Re: New SMTP smuggling attack (mailing-list, Mailing List, Third Party Advisory)
- [oss-security] 20231225 Re: Re: New SMTP smuggling attack (mailing-list, Mailing List, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- access.redhat.com/security/cve/CVE-2023-51764 (Third Party Advisory)
- fahrplan.events.ccc.de/congress/2023/fahrplan/events/11782.html (Technical Description)
- github.com/eeenvik1/CVE-2023-51764 (Exploit, Third Party Advisory)
- github.com/duy-31/CVE-2023-51764 (Exploit, Third Party Advisory)
- www.youtube.com/watch (Exploit)
This CVE has public exploit evidence. See the latest CVEs with public exploits.