CVE-2020-7247: OpenSMTPD Remote Code Execution Vulnerability
Critical · CVSS 9.8 (CVSS 3.1)KEV known exploitedEPSS 99.0%, 100th percentilePublished Updated Assigner: mitre
In CISA’s Known Exploited Vulnerabilities catalog: OpenSMTPD Remote Code Execution Vulnerability.
Added , federal remediation due . Known ransomware use: Unknown.
Required action: Apply updates per vendor instructions.
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.
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
OpenBSD: OpenSMTPD
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- packetstormsecurity.com/files/156137/OpenBSD-OpenSMTPD-Privilege-Escalation-Code-Execution.ht… (opens in new tab)
- packetstormsecurity.com/files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.html (opens in new tab)
- packetstormsecurity.com/files/156249/OpenSMTPD-MAIL-FROM-Remote-Code-Execution.html (opens in new tab)
- packetstormsecurity.com/files/156295/OpenSMTPD-6.6.1-Local-Privilege-Escalation.html (opens in new tab)
- packetstormsecurity.com/files/162093/OpenBSD-OpenSMTPD-6.6-Remote-Code-Execution.html (opens in new tab)
- seclists.org/fulldisclosure/2020/Jan/49 (opens in new tab)
- github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45 (opens in new tab)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPH4… (opens in new tab)
- seclists.org/bugtraq/2020/Jan/51 (opens in new tab)
- usn.ubuntu.com/4268-1/ (opens in new tab)
- www.debian.org/security/2020/dsa-4611 (opens in new tab)
- www.kb.cert.org/vuls/id/390745 (opens in new tab)
- www.openbsd.org/security.html (opens in new tab)
- www.openwall.com/lists/oss-security/2020/01/28/3 (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)