smtp_mailaddr in smtp_session.c in OpenSMTPD 6.6, as used in OpenBSD 6.6 and other products, allows remote attackers to execute arbitrary co
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
OpenSMTPD 6.6, the mail server software included in OpenBSD 6.6 and some other products, is affected. A remote attacker who sends a specially crafted SMTP session can run arbitrary commands with root privileges, which could lead to complete control of the affected system.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original description
smtp_mailaddr in smtp_session.c in OpenSMTPD 6.6, as used in OpenBSD 6.6 and other products, allows remote attackers to execute arbitrary commands as root via a crafted SMTP session, as demonstrated by shell metacharacters in a MAIL FROM field. This affects the "uncommented" default configuration. The issue exists because of an incorrect return value upon failure of input validation.
Timeline
- CVE published
- Added to CISA KEV
CISA has evidence of exploitation in the wild
- CISA remediation deadline
Due date for US federal agencies to patch
- Record last updated
- EPSS reached 10%
FIRST estimates at least a 10% chance of exploitation in the next 30 days
Affected versions
- n/a n/a
Version range not reported
References 14
openbsd.org
openwall.com
GitHub · openbsd/src
packetstormsecurity.com
- files/156137/OpenBSD-OpenSMTPD-Privilege-Escalation-Code-Execution.html
- files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.html
- files/156249/OpenSMTPD-MAIL-FROM-Remote-Code-Execution.html
- files/156295/OpenSMTPD-6.6.1-Local-Privilege-Escalation.html
- files/162093/OpenBSD-OpenSMTPD-6.6-Remote-Code-Execution.html