CVE-2023-51764
Last modified
CVE-2023-51764 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 2.60% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Postfix | Postfix | < 3.5.23 |
| Postfix | Postfix | >= 3.6.0, < 3.6.13 |
| Postfix | Postfix | >= 3.7.0, < 3.7.9 |
| Postfix | Postfix | >= 3.8.0, < 3.8.4 |
| Fedoraproject | Fedora | 38 |
| Fedoraproject | Fedora | 39 |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Enterprise Linux | 9.0 |
References
- 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://access.redhat.com/security/cve/CVE-2023-51764Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2255563Issue Tracking, Third Party Advisory
- https://fahrplan.events.ccc.de/congress/2023/fahrplan/events/11782.htmlTechnical Description
- https://github.com/duy-31/CVE-2023-51764Exploit, Third Party Advisory
- https://github.com/eeenvik1/CVE-2023-51764Exploit, Third Party Advisory
- https://sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide/Technical Description, Third Party Advisory
- https://www.postfix.org/smtp-smuggling.htmlExploit, Mitigation, Vendor 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://access.redhat.com/security/cve/CVE-2023-51764Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2255563Issue Tracking, Third Party Advisory
- https://fahrplan.events.ccc.de/congress/2023/fahrplan/events/11782.htmlTechnical Description
- https://github.com/duy-31/CVE-2023-51764Exploit, Third Party Advisory
- https://github.com/eeenvik1/CVE-2023-51764Exploit, Third Party Advisory
- https://sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide/Technical Description, Third Party Advisory
- https://www.postfix.org/smtp-smuggling.htmlExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-51764?
How severe is CVE-2023-51764?
How do I fix CVE-2023-51764?
Are you affected by CVE-2023-51764?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
