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 rec...
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
11 packages: 9 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/postfix(Debian 12) | < 3.7.9-0+deb12u1; = 3.7.5-2; = 3.7.6-0+deb12u1; = 3.7.6-0+deb12u2 | 3.7.9-0+deb12u1 | Fixed |
| debian/postfix(Debian 13) | < 3.8.4-1 | 3.8.4-1 | Fixed |
| debian/postfix(Debian 14) | < 3.8.4-1 | 3.8.4-1 | Fixed |
| postfix | < 3.5.23; >= 3.6.0, < 3.6.13; >= 3.7.0, < 3.7.9; >= 3.8.0, < 3.8.4 | 3.5.23, 3.6.13, 3.7.9, 3.8.4 | Fixed |
| ubuntu/postfix(Ubuntu 20.04) | < 3.4.13-0ubuntu1.4; = 3.4.5-1ubuntu1; = 3.4.7-1; = 3.4.7-2 +8 more | 3.4.13-0ubuntu1.4 | Fixed |
| ubuntu/postfix(Ubuntu 22.04) | < 3.6.4-1ubuntu1.3; = 3.5.6-1ubuntu2; = 3.5.13-1ubuntu1; = 3.5.13-1ubuntu2 +7 more | 3.6.4-1ubuntu1.3 | Fixed |
| ubuntu/postfix(Ubuntu Pro 14.04) | < 2.11.0-1ubuntu1.2+esm3; = 2.10.2-1; = 2.10.2-1build1; = 2.11.0-1 +3 more | 2.11.0-1ubuntu1.2+esm3 | Fixed |
| ubuntu/postfix(Ubuntu Pro 16.04) | < 3.1.0-3ubuntu0.4+esm3; = 2.11.3-1ubuntu2; = 2.11.3-1ubuntu3; = 3.0.4-1ubuntu1 +10 more | 3.1.0-3ubuntu0.4+esm3 | Fixed |
| ubuntu/postfix(Ubuntu Pro 18.04) | < 3.3.0-1ubuntu0.4+esm3; = 3.2.3-1; = 3.2.3-1build1; = 3.2.4-1 +8 more | 3.3.0-1ubuntu0.4+esm3 | Fixed |
| fedoraproject fedora | = 38; = 39 | No fix listed | Versions listed |
| redhat enterprise linux | = 8.0; = 9.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/postfix(Debian:12) | < 3.7.9-0+deb12u1 | 3.7.9-0+deb12u1 |
| debian/postfix(Debian:12) | = 3.7.5-2 | No fix listed |
| debian/postfix(Debian:12) | = 3.7.6-0+deb12u1 | No fix listed |
| debian/postfix(Debian:12) | = 3.7.6-0+deb12u2 | No fix listed |
| debian/postfix(Debian:13) | < 3.8.4-1 | 3.8.4-1 |
| debian/postfix(Debian:14) | < 3.8.4-1 | 3.8.4-1 |
| ubuntu/postfix(Ubuntu:22.04) | < 3.6.4-1ubuntu1.3 | 3.6.4-1ubuntu1.3 |
| postfix | < 3.5.23 | 3.5.23 |
| postfix | >= 3.6.0, < 3.6.13 | 3.6.13 |
| postfix | >= 3.7.0, < 3.7.9 | 3.7.9 |
| postfix | >= 3.8.0, < 3.8.4 | 3.8.4 |
| fedoraproject fedora | = 38 | No fix listed |
| fedoraproject fedora | = 39 | No fix listed |
| redhat enterprise linux | = 8.0 | No fix listed |
| redhat enterprise linux | = 9.0 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:14.04) | < 2.11.0-1ubuntu1.2+esm3 | 2.11.0-1ubuntu1.2+esm3 |
| ubuntu/postfix(Ubuntu:Pro:14.04) | = 2.10.2-1 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:14.04) | = 2.10.2-1build1 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:14.04) | = 2.11.0-1 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:14.04) | = 2.11.0-1ubuntu1 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:14.04) | = 2.11.0-1ubuntu1.2 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:14.04) | = 2.11.0-1ubuntu1.2+esm2 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:16.04) | < 3.1.0-3ubuntu0.4+esm3 | 3.1.0-3ubuntu0.4+esm3 |
| ubuntu/postfix(Ubuntu:Pro:16.04) | = 2.11.3-1ubuntu2 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:16.04) | = 2.11.3-1ubuntu3 | No fix listed |
Show 45 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/postfix(Ubuntu:Pro:16.04) | = 3.0.4-1ubuntu1 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:16.04) | = 3.0.4-2 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:16.04) | = 3.0.4-3 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:16.04) | = 3.0.4-5 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:16.04) | = 3.0.4-5build1 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:16.04) | = 3.1.0-3 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:16.04) | = 3.1.0-3ubuntu0.1 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:16.04) | = 3.1.0-3ubuntu0.2 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:16.04) | = 3.1.0-3ubuntu0.3 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:16.04) | = 3.1.0-3ubuntu0.4 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:16.04) | = 3.1.0-3ubuntu0.4+esm2 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:18.04) | < 3.3.0-1ubuntu0.4+esm3 | 3.3.0-1ubuntu0.4+esm3 |
| ubuntu/postfix(Ubuntu:Pro:18.04) | = 3.2.3-1 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:18.04) | = 3.2.3-1build1 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:18.04) | = 3.2.4-1 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:18.04) | = 3.2.5-1 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:18.04) | = 3.2.5-1build1 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:18.04) | = 3.3.0-1 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:18.04) | = 3.3.0-1ubuntu0.1 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:18.04) | = 3.3.0-1ubuntu0.2 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:18.04) | = 3.3.0-1ubuntu0.3 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:18.04) | = 3.3.0-1ubuntu0.4 | No fix listed |
| ubuntu/postfix(Ubuntu:Pro:18.04) | = 3.3.0-1ubuntu0.4+esm2 | No fix listed |
| ubuntu/postfix(Ubuntu:20.04) | < 3.4.13-0ubuntu1.4 | 3.4.13-0ubuntu1.4 |
| ubuntu/postfix(Ubuntu:20.04) | = 3.4.5-1ubuntu1 | No fix listed |
| ubuntu/postfix(Ubuntu:20.04) | = 3.4.7-1 | No fix listed |
| ubuntu/postfix(Ubuntu:20.04) | = 3.4.7-2 | No fix listed |
| ubuntu/postfix(Ubuntu:20.04) | = 3.4.8-1 | No fix listed |
| ubuntu/postfix(Ubuntu:20.04) | = 3.4.9-1 | No fix listed |
| ubuntu/postfix(Ubuntu:20.04) | = 3.4.10-1 | No fix listed |
| ubuntu/postfix(Ubuntu:20.04) | = 3.4.10-1ubuntu1 | No fix listed |
| ubuntu/postfix(Ubuntu:20.04) | = 3.4.13-0ubuntu1 | No fix listed |
| ubuntu/postfix(Ubuntu:20.04) | = 3.4.13-0ubuntu1.1 | No fix listed |
| ubuntu/postfix(Ubuntu:20.04) | = 3.4.13-0ubuntu1.2 | No fix listed |
| ubuntu/postfix(Ubuntu:20.04) | = 3.4.13-0ubuntu1.3 | No fix listed |
| ubuntu/postfix(Ubuntu:22.04) | = 3.5.6-1ubuntu2 | No fix listed |
| ubuntu/postfix(Ubuntu:22.04) | = 3.5.13-1ubuntu1 | No fix listed |
| ubuntu/postfix(Ubuntu:22.04) | = 3.5.13-1ubuntu2 | No fix listed |
| ubuntu/postfix(Ubuntu:22.04) | = 3.5.13-1ubuntu3 | No fix listed |
| ubuntu/postfix(Ubuntu:22.04) | = 3.6.3-4ubuntu1 | No fix listed |
| ubuntu/postfix(Ubuntu:22.04) | = 3.6.3-5ubuntu1 | No fix listed |
| ubuntu/postfix(Ubuntu:22.04) | = 3.6.3-5ubuntu2 | No fix listed |
| ubuntu/postfix(Ubuntu:22.04) | = 3.6.4-1ubuntu1 | No fix listed |
| ubuntu/postfix(Ubuntu:22.04) | = 3.6.4-1ubuntu1.1 | No fix listed |
| ubuntu/postfix(Ubuntu:22.04) | = 3.6.4-1ubuntu1.2 | No fix listed |
References
- Debian Security Tracker CVE-2023-51764 vendor-advisory
- www.postfix.org exploit issue-tracking mitigation vendor-advisory
- sec-consult.com issue-tracking technical-description third-party-advisory
- [oss-security] 20231224 Re: Re: New SMTP smuggling attack mailing-list third-party-advisory
- [oss-security] 20231225 Re: Re: New SMTP smuggling attack mailing-list third-party-advisory
- bugzilla.redhat.com issue-tracking third-party-advisory
- access.redhat.com third-party-advisory
- fahrplan.events.ccc.de technical-description
- github.com exploit third-party-advisory
- github.com exploit third-party-advisory
- www.youtube.com exploit
- FEDORA-2024-c839e7294f vendor-advisory
- FEDORA-2024-5c186175f2 vendor-advisory
- lwn.net
- www.openwall.com
- www.postfix.org
- [debian-lts-announce] 20240130 [SECURITY] [DLA 3725-1] postfix security update mailing-list
- [oss-security] 20240508 Re: New SMTP smuggling attack mailing-list
- lists.fedoraproject.org
- lists.fedoraproject.org
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-6591-1 vendor-advisory
- USN-6591-2 vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking
- www.openwall.com issue-tracking
- www.mail-archive.com issue-tracking
- www.openwall.com issue-tracking
- ENISA EUVD EUVD-2023-56453 third-party-advisory