漏洞描述
OpenSMTPD versions 6.4.0 - 6.6.1 are susceptible to remote code execution. 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.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
www.openwall.comhttps://www.openwall.com/lists/oss-security/2020/01/28/3↗nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2020-7247↗github.comhttps://github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45↗www.openwall.comhttp://www.openwall.com/lists/oss-security/2020/01/28/3↗packetstormsecurity.comhttp://packetstormsecurity.com/files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.html↗