BLACKOUT MAP

OpenBSD · OpenSMTPD

CVE-2020-7247

OpenSMTPD Remote Code Execution Vulnerability

Exploited in attacks Critical 9.8 Attack chance: 99%
Share

What it is

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.

What to do

Apply updates per vendor instructions.

Deadline for US federal agencies: April 15, 2022

Added to the CISA list
March 25, 2022
Published
January 29, 2020
Severity
Critical 9.8 CVSS 3.1
Chance of attacks in the next 30 days (EPSS)
99% in the top 0.1% of all known vulnerabilities
Weakness
CWE-755 CWE-78
More details
NVD · CVE.org · CISA
All references (14)

Sources: Known Exploited Vulnerabilities (CISA, public domain), CVE records (cve.org) and EPSS (FIRST). The chance of attacks is the EPSS estimate that someone will try to exploit the flaw in the next 30 days.