10

CVE-2020-7247

Warning
Exploit

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.

Data is provided by the National Vulnerability Database (NVD)
OpenbsdOpensmtpd Version6.6
DebianDebian Linux Version9.0
DebianDebian Linux Version10.0
FedoraprojectFedora Version32
CanonicalUbuntu Linux Version18.04 SwEditionlts
CanonicalUbuntu Linux Version19.10

25.03.2022: CISA Known Exploited Vulnerabilities (KEV) Catalog

OpenSMTPD Remote Code Execution Vulnerability

Vulnerability

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.

Description

Apply updates per vendor instructions.

Required actions
EPSS Metriken
Type Source Score Percentile
EPSS FIRST.org 94.12% 0.999
CVSS Metriken
Source Base Score Exploit Score Impact Score Vector string
nvd@nist.gov 9.8 3.9 5.9
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd@nist.gov 10 10 10
AV:N/AC:L/Au:N/C:C/I:C/A:C
134c704f-9b21-4f2e-91b3-4a467353bcc0 9.8 3.9 5.9
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE-755 Improper Handling of Exceptional Conditions

The product does not handle or incorrectly handles an exceptional condition.

CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

http://seclists.org/fulldisclosure/2020/Jan/49
Third Party Advisory
Exploit
Mailing List
http://www.openwall.com/lists/oss-security/2020/01/28/3
Third Party Advisory
Exploit
Mailing List
https://seclists.org/bugtraq/2020/Jan/51
Third Party Advisory
Mailing List
https://usn.ubuntu.com/4268-1/
Third Party Advisory
https://www.debian.org/security/2020/dsa-4611
Third Party Advisory
Mailing List
https://www.kb.cert.org/vuls/id/390745
Third Party Advisory
US Government Resource