Critical severity · published Jan 29, 2020
CVE-2020-7247
OpenSMTPD Remote Code Execution Vulnerability
In wildKEV
9.8
CVSS
99%
EPSS
Yes
On 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)99.0% · higher than 100% of CVEs
Exploited in the wildYes
CISA KEVListed Mar 25, 2022
Federal remediation dueApr 15, 2022
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
9.0; 10.0 · source: NVD
FE
Fedora · Fedoraproject
32 · source: NVD
OP
Opensmtpd · Openbsd
6.6 · source: NVD, KEV
UL
Ubuntu Linux · Canonical
18.04; 19.10 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-7247
CVE.org
https://www.cve.org/CVERecord?id=CVE-2020-7247
CISA KEV catalogue
https://www.cisa.gov/known-exploited-vulnerabilities-catalog
x_refsource_CONFIRM
https://www.openbsd.org/security.html
x_refsource_MISC
http://www.openwall.com/lists/oss-security/2020/01/28/3
x_refsource_CONFIRM
https://github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45
x_refsource_MISC
http://packetstormsecurity.com/files/156137/OpenBSD-OpenSMTPD-Privilege-Escalation-Code-Execution.html
mailing-list
https://seclists.org/bugtraq/2020/Jan/51
vendor-advisory
https://www.debian.org/security/2020/dsa-4611
More from Ubuntu Linux
9.8
CVE-2020-11651
SaltStack Salt Authentication Bypass Vulnerability
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2019-16928
Exim Out-of-bounds Write Vulnerability
9.8
CVE-2019-10149
Exim Mail Transfer Agent (MTA) Improper Input Validation
9.8
CVE-2018-6789
Exim Buffer Overflow Vulnerability
