Sender spoofing via bare-LF message parsing
Published Mar 12, 2024 · Updated Aug 2, 2024
SMTP smuggling in aio-libs aiosmtpd before 1.4.5 allows remote attackers to spoof sender addresses through crafted message data. The smtp_DATA parser treated a bare line feed as a line ending, so an LF-dot-CRLF sequence could be interpreted differently by another SMTP server and aiosmtpd. Exploitation requires a mismatched SMTP server constellation and can deliver a spoofed message with an attacker-chosen envelope sender.
Summary
What happened
SMTP smuggling in aio-libs aiosmtpd before 1.4.5 allows remote attackers to spoof sender addresses through crafted message data. The smtp_DATA parser treated a bare line feed as a line ending, so an LF-dot-CRLF sequence could be interpreted differently by another SMTP server and aiosmtpd. Exploitation requires a mismatched SMTP server constellation and can deliver a spoofed message with an attacker-chosen envelope sender.
The record
- CVE
- CVE-2024-27305
- Published
- Mar 12, 2024
- Updated
- Aug 2, 2024
- Vendor
- aio-libs
- Product
- aiosmtpd
- Classifications
- CWE-345, T1566
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 12, 2024CVE publishedPublication date reported by the CVE source.
- Aug 2, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <1.4.5
- Affected versionversion=< 1.4.5
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Upstream SMTP smuggling regression testproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo