CVE-2020-7247

CriticalActively exploited (CISA KEV)

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductOpenBSD OpenSMTPD
PublishedJan 29, 2020
First seenJan 29, 2020
Added to KEVMar 25, 2022
Weakness typeCWE-755CWE-755

How to fix

Affected products

ProductAffected versionsFixed in
openbsd opensmtpd6.6—
debian debian_linux9.0, 10.0—
fedoraproject fedora32—
canonical ubuntu_linux18.04, 19.10—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.