OpenBSD · OpenSMTPD
CVE-2020-7247
OpenSMTPD Remote Code Execution Vulnerability
概要
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.
CISA: 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.
対処法
Apply updates per vendor instructions.
米国連邦機関の対応期限:2022年4月15日
- CISAのリストに追加
- 2022年3月25日
- 公開日
- 2020年1月29日
- 深刻度
- 緊急 9.8 CVSS 3.1
- 今後30日間に攻撃される可能性(EPSS)
- 99% 既知の全脆弱性の上位0.1%
- 脆弱性の種類
- CWE-755 CWE-78
- 詳細
- NVD · CVE.org · CISA
すべての参照(14件)
- https://www.debian.org/security/2020/dsa-4611
- https://usn.ubuntu.com/4268-1/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPH4QU4DNVHA…
- https://www.openbsd.org/security.html
- http://www.openwall.com/lists/oss-security/2020/01/28/3
- https://github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45
- http://packetstormsecurity.com/files/156137/OpenBSD-OpenSMTPD-Privilege-Escalation-Code-Execution.html
- https://seclists.org/bugtraq/2020/Jan/51
- http://packetstormsecurity.com/files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.html
- https://www.kb.cert.org/vuls/id/390745
- http://seclists.org/fulldisclosure/2020/Jan/49
- http://packetstormsecurity.com/files/156249/OpenSMTPD-MAIL-FROM-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/156295/OpenSMTPD-6.6.1-Local-Privilege-Escalation.html
- http://packetstormsecurity.com/files/162093/OpenBSD-OpenSMTPD-6.6-Remote-Code-Execution.html
OpenBSDのその他の悪用された脆弱性
| 追加日 | 脆弱性 | 製品 | 深刻度 | 攻撃の可能性 |
|---|---|---|---|---|
| 2026/11/09 | Unexpected Status Code or Return Value | OpenSSH | 高 8.1 | 19% |
出典:Known Exploited Vulnerabilities(CISA、パブリックドメイン)、CVE records(cve.org)、EPSS(FIRST)。攻撃の可能性は、今後30日以内に誰かがその脆弱性の悪用を試みるというEPSSの推定値です。