CVE-2020-7247
Description
smtp_mailaddr in smtp_session.c in OpenSMTPD, as used in OpenBSD and other products, allows remote attackers to execute arbitrary commands as root via a crafted SMTP session.
CISA KEV
- Vendor
- OpenBSD
- Product
- OpenSMTPD
- Due date
- 2022-04-15
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
OpenSMTPD 6.4.0 < 6.6.1 - Local Privilege Escalation + Remote Code Execution
OpenSMTPD 6.6.1 - Remote Code Execution
OpenSMTPD - MAIL FROM Remote Code Execution (Metasploit)
Metasploit modules
OS impact
Arch Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Fixed | 6.6.2p1-1 |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 6.6.2p1-1 |
| sid | Fixed | 6.6.2p1-1 |
| forky | Fixed | 6.6.2p1-1 |
| bullseye | Fixed | 6.6.2p1-1 |
| bookworm | Fixed | 6.6.2p1-1 |
References
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.