First published: Wed Jan 29 2020(Updated: )
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.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
OpenBSD OpenSMTPD | ||
=6.6 | ||
=9.0 | ||
=10.0 | ||
=32 | ||
=18.04 | ||
=19.10 | ||
OpenBSD OpenSMTPD | =6.6 | |
Debian Debian Linux | =9.0 | |
Debian Debian Linux | =10.0 | |
Fedoraproject Fedora | =32 | |
Canonical Ubuntu Linux | =18.04 | |
Canonical Ubuntu Linux | =19.10 | |
debian/opensmtpd | 6.0.3p1-5+deb10u4 6.8.0p2-3 6.8.0p2-4 7.4.0p1-1 | |
ubuntu/opensmtpd | <6.0.3 | 6.0.3 |
ubuntu/opensmtpd | <6.0.3 | 6.0.3 |
ubuntu/opensmtpd | <5.4.1 | 5.4.1 |
ubuntu/opensmtpd | <6.6.2 | 6.6.2 |
ubuntu/opensmtpd | <5.7.3 | 5.7.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2020-7247 is a remote code execution vulnerability in OpenSMTPD.
CVE-2020-7247 allows remote attackers to execute arbitrary commands as root via a crafted SMTP session, using shell metacharacters in a MAIL FROM field.
CVE-2020-7247 has a severity rating of 9.8 (Critical).
OpenSMTPD 6.6 in OpenBSD 6.6 and other products are affected by CVE-2020-7247.
To fix CVE-2020-7247, you should update to the patched version of OpenSMTPD provided by your vendor or distribution.