CVE-2020-7247
OpenSMTPD Remote Code Execution Vulnerability - [Actively Exploited]
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.
INFO
Published Date :
Jan. 29, 2020, 4:15 p.m.
Last Modified :
July 16, 2024, 5:40 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
CISA KEV (Known Exploited Vulnerabilities)
For the benefit of the cybersecurity community and network defenders—and to help every organization better manage vulnerabilities and keep pace with threat activity—CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.
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.
Apply updates per vendor instructions.
Public PoC/Exploit Available at Github
CVE-2020-7247 has a 33 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2020-7247
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2020-7247
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
None
DayOne: Critical Vulnerability Root Cause Analysis Platform
Python JavaScript Ruby HTML Assembly Makefile C Objective-C Shell Dockerfile
在公网收集的gobypoc+部分自己加的poc
Terraform script to deploy vulnerable pentest lab on AWS.
penetration-testing penetration-testing-tools
Shell HCL
None
None
POC exploit index
一个漏洞利用工具仓库
Python PHP Java C Makefile C++ Dockerfile Shell Perl RPC
一个漏洞利用工具仓库
exploit vulnerability proof-of-concept rce
Python PHP Java C Makefile C++ Dockerfile Shell Perl RPC
Ostorlab KEV: One-command to detect most remotely known exploitable vulnerabilities. Sourced from CISA KEV, Google's Tsunami, Ostorlab's Asteroid and Bug Bounty programs.
cisa-kev vulnerability 0day cisa exploits
一个Vulhub漏洞复现知识库
vulnerability exploit
一个漏洞POC知识库 目前数量 1000+
poc
Worm written in python, abuses CVE-2020-7247
Python Shell
Proof of concept for CVE-2020-7247 for educational purposes.
Shell Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2020-7247
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2020-7247
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Modified Analysis by [email protected]
Jul. 16, 2024
Action Type Old Value New Value Changed Reference Type http://packetstormsecurity.com/files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.html Third Party Advisory, VDB Entry http://packetstormsecurity.com/files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.html Exploit, Third Party Advisory, VDB Entry Changed Reference Type http://packetstormsecurity.com/files/162093/OpenBSD-OpenSMTPD-6.6-Remote-Code-Execution.html Broken Link http://packetstormsecurity.com/files/162093/OpenBSD-OpenSMTPD-6.6-Remote-Code-Execution.html Broken Link, Third Party Advisory, VDB Entry Changed Reference Type http://seclists.org/fulldisclosure/2020/Jan/49 Mailing List, Third Party Advisory http://seclists.org/fulldisclosure/2020/Jan/49 Exploit, Mailing List, Third Party Advisory Changed Reference Type https://github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45 Patch, Third Party Advisory https://github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45 Patch Changed Reference Type https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/ No Types Assigned https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/ Mailing List, Third Party Advisory Changed Reference Type https://www.debian.org/security/2020/dsa-4611 Third Party Advisory https://www.debian.org/security/2020/dsa-4611 Mailing List, Third Party Advisory -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/ [No types assigned] Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/ -
Modified Analysis by [email protected]
Apr. 29, 2022
Action Type Old Value New Value Changed Reference Type http://packetstormsecurity.com/files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.html Third Party Advisory http://packetstormsecurity.com/files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.html Third Party Advisory, VDB Entry Changed Reference Type http://packetstormsecurity.com/files/156249/OpenSMTPD-MAIL-FROM-Remote-Code-Execution.html No Types Assigned http://packetstormsecurity.com/files/156249/OpenSMTPD-MAIL-FROM-Remote-Code-Execution.html Exploit, Third Party Advisory, VDB Entry Changed Reference Type http://packetstormsecurity.com/files/156295/OpenSMTPD-6.6.1-Local-Privilege-Escalation.html No Types Assigned http://packetstormsecurity.com/files/156295/OpenSMTPD-6.6.1-Local-Privilege-Escalation.html Exploit, Third Party Advisory, VDB Entry Changed Reference Type http://packetstormsecurity.com/files/162093/OpenBSD-OpenSMTPD-6.6-Remote-Code-Execution.html No Types Assigned http://packetstormsecurity.com/files/162093/OpenBSD-OpenSMTPD-6.6-Remote-Code-Execution.html Broken Link Changed Reference Type http://seclists.org/fulldisclosure/2020/Jan/49 No Types Assigned http://seclists.org/fulldisclosure/2020/Jan/49 Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/ Mailing List, Third Party Advisory Changed Reference Type https://seclists.org/bugtraq/2020/Jan/51 Third Party Advisory https://seclists.org/bugtraq/2020/Jan/51 Mailing List, Third Party Advisory Changed Reference Type https://usn.ubuntu.com/4268-1/ No Types Assigned https://usn.ubuntu.com/4268-1/ Third Party Advisory Changed Reference Type https://www.kb.cert.org/vuls/id/390745 No Types Assigned https://www.kb.cert.org/vuls/id/390745 Third Party Advisory, US Government Resource Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:* -
CWE Remap by [email protected]
Jul. 21, 2021
Action Type Old Value New Value Changed CWE CWE-252 CWE-755 CWE-78 -
CVE Modified by [email protected]
Apr. 06, 2021
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/162093/OpenBSD-OpenSMTPD-6.6-Remote-Code-Execution.html [No Types Assigned] -
CVE Modified by [email protected]
Mar. 17, 2020
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/ [No Types Assigned] -
CVE Modified by [email protected]
Feb. 11, 2020
Action Type Old Value New Value Added Reference https://usn.ubuntu.com/4268-1/ [No Types Assigned] -
CVE Modified by [email protected]
Feb. 11, 2020
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/156295/OpenSMTPD-6.6.1-Local-Privilege-Escalation.html [No Types Assigned] -
CVE Modified by [email protected]
Feb. 07, 2020
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/156249/OpenSMTPD-MAIL-FROM-Remote-Code-Execution.html [No Types Assigned] -
CVE Modified by [email protected]
Feb. 01, 2020
Action Type Old Value New Value Added Reference http://seclists.org/fulldisclosure/2020/Jan/49 [No Types Assigned] -
CVE Modified by [email protected]
Jan. 31, 2020
Action Type Old Value New Value Added Reference https://www.kb.cert.org/vuls/id/390745 [No Types Assigned] -
Initial Analysis by [email protected]
Jan. 31, 2020
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:C/I:C/A:C) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://packetstormsecurity.com/files/156137/OpenBSD-OpenSMTPD-Privilege-Escalation-Code-Execution.html No Types Assigned http://packetstormsecurity.com/files/156137/OpenBSD-OpenSMTPD-Privilege-Escalation-Code-Execution.html Exploit, Third Party Advisory, VDB Entry Changed Reference Type http://packetstormsecurity.com/files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.html No Types Assigned http://packetstormsecurity.com/files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.html Third Party Advisory Changed Reference Type http://www.openwall.com/lists/oss-security/2020/01/28/3 No Types Assigned http://www.openwall.com/lists/oss-security/2020/01/28/3 Exploit, Mailing List, Third Party Advisory Changed Reference Type https://github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45 No Types Assigned https://github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45 Patch, Third Party Advisory Changed Reference Type https://seclists.org/bugtraq/2020/Jan/51 No Types Assigned https://seclists.org/bugtraq/2020/Jan/51 Third Party Advisory Changed Reference Type https://www.debian.org/security/2020/dsa-4611 No Types Assigned https://www.debian.org/security/2020/dsa-4611 Third Party Advisory Changed Reference Type https://www.openbsd.org/security.html No Types Assigned https://www.openbsd.org/security.html Patch, Vendor Advisory Added CWE NIST CWE-252 Added CPE Configuration OR *cpe:2.3:a:openbsd:opensmtpd:6.6:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Jan. 30, 2020
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.html [No Types Assigned] -
CVE Modified by [email protected]
Jan. 30, 2020
Action Type Old Value New Value Added Reference https://www.debian.org/security/2020/dsa-4611 [No Types Assigned] -
CVE Modified by [email protected]
Jan. 30, 2020
Action Type Old Value New Value Added Reference https://seclists.org/bugtraq/2020/Jan/51 [No Types Assigned] -
CVE Modified by [email protected]
Jan. 29, 2020
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/156137/OpenBSD-OpenSMTPD-Privilege-Escalation-Code-Execution.html [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2020-7247
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2020-7247
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
97.52 }} 0.02%
score
0.99993
percentile