UBUNTU-CVE-2020-7247
Dashboard / Vulnerabilities / UBUNTU-CVE-2020-7247
UBUNTU-CVE-2020-7247
Summary:
Details: 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.
References: https://ubuntu.com/security/CVE-2020-7247, https://www.openwall.com/lists/oss-security/2020/01/28/3, https://ftp.openbsd.org/pub/OpenBSD/patches/6.6/common/019_smtpd_exec.patch.sig, https://github.com/OpenSMTPD/OpenSMTPD/commit/be6ef06cba9484d008d9f057e6b25d863cf278ff, http://packetstormsecurity.com/files/156137/OpenBSD-OpenSMTPD-Privilege-Escalation-Code-Execution.html, http://packetstormsecurity.com/files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.html, http://www.openwall.com/lists/oss-security/2020/01/28/3, https://seclists.org/bugtraq/2020/Jan/51, https://www.debian.org/security/2020/dsa-4611, https://www.kb.cert.org/vuls/id/390745, https://www.openbsd.org/security.html, https://ubuntu.com/security/notices/USN-4268-1, https://www.cve.org/CVERecord?id=CVE-2020-7247, https://www.cisa.gov/known-exploited-vulnerabilities-catalog, https://ubuntu.com/security/notices/USN-4875-1
Affected packages
Package
Name: opensmtpd
Purl: pkg:deb/ubuntu/[email protected]~esm1?arch=source&distro=trusty/esm
Affected ranges
Type: ECOSYSTEM
Events:
