9.8
CRITICAL
CVE-2020-8794
OpenSMTPD Remote Code Execution Vulnerability
Description

OpenSMTPD before 6.6.4 allows remote code execution because of an out-of-bounds read in mta_io in mta_session.c for multi-line replies. Although this vulnerability affects the client side of OpenSMTPD, it is possible to attack a server because the server code launches the client code during bounce handling.

INFO

Published Date :

Feb. 25, 2020, 5:15 p.m.

Last Modified :

Nov. 21, 2024, 5:39 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2020-8794 has a 14 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-8794 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.

ID Vendor Product Action
1 Canonical ubuntu_linux
1 Fedoraproject fedora
1 Debian debian_linux
1 Opensmtpd opensmtpd
1 Openbsd opensmtpd
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-8794.

URL Resource
http://packetstormsecurity.com/files/156633/OpenSMTPD-Out-Of-Bounds-Read-Local-Privilege-Escalation.html Exploit Third Party Advisory VDB Entry
http://seclists.org/fulldisclosure/2020/Feb/32 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2020/02/26/1 Exploit Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2020/03/01/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2020/03/01/2 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2021/05/04/7 Exploit Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/
https://usn.ubuntu.com/4294-1/ Patch Third Party Advisory
https://www.debian.org/security/2020/dsa-4634 Third Party Advisory
https://www.openbsd.org/security.html Third Party Advisory
https://www.openwall.com/lists/oss-security/2020/02/24/5 Exploit Mailing List Third Party Advisory
http://packetstormsecurity.com/files/156633/OpenSMTPD-Out-Of-Bounds-Read-Local-Privilege-Escalation.html Exploit Third Party Advisory VDB Entry
http://seclists.org/fulldisclosure/2020/Feb/32 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2020/02/26/1 Exploit Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2020/03/01/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2020/03/01/2 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2021/05/04/7 Exploit Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/
https://usn.ubuntu.com/4294-1/ Patch Third Party Advisory
https://www.debian.org/security/2020/dsa-4634 Third Party Advisory
https://www.openbsd.org/security.html Third Party Advisory
https://www.openwall.com/lists/oss-security/2020/02/24/5 Exploit Mailing List Third Party Advisory

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).

渗透测试有关的POC、EXP、脚本、提权、小工具等---About penetration-testing python-script poc getshell csrf xss cms php-getshell domainmod-xss csrf-webshell cobub-razor cve rce sql sql-poc poc-exp bypass oa-getshell cve-cms

Assembly Python Shell PHP C++ C Go Ruby HTML Java

Updated: 3 weeks, 4 days ago
6 stars 0 fork 0 watcher
Born at : Feb. 7, 2024, 2:08 p.m. This repo has been linked 305 different CVEs too.

None

Assembly Python Shell PHP C++ C Go Ruby HTML Java

Updated: 1 month, 3 weeks ago
7 stars 4 fork 4 watcher
Born at : Nov. 25, 2022, 2:30 a.m. This repo has been linked 270 different CVEs too.

None

Assembly Python Shell PHP C++ C Go

Updated: 3 months, 2 weeks ago
1 stars 0 fork 0 watcher
Born at : April 8, 2022, 10:20 a.m. This repo has been linked 126 different CVEs too.

None

Assembly Python Shell PHP C++ C Go Ruby HTML Java

Updated: 1 month, 3 weeks ago
13 stars 10 fork 10 watcher
Born at : Jan. 27, 2022, 9:53 a.m. This repo has been linked 193 different CVEs too.

FROM:@Mr-xn 渗透测试有关的POC、EXP、脚本、提权、小工具等---About penetration-testing python-script poc getshell csrf xss cms php-getshell domainmod-xss penetration-testing-poc csrf-webshell cobub-razor cve rce sql sql-poc poc-exp bypass oa-getshell cve-cms

exploit cve cobaltstrike rce bypass cms-framework cms-exploits sql-scanner

Assembly Python Shell PHP C++ C Go

Updated: 2 months, 3 weeks ago
19 stars 7 fork 7 watcher
Born at : Jan. 11, 2022, 7:35 a.m. This repo has been linked 126 different CVEs too.

https://github.com/Mr-xn/Penetration_Testing_POC

Assembly Python Shell PHP C++ C Go Ruby HTML Java

Updated: 11 months, 1 week ago
8 stars 3 fork 3 watcher
Born at : Sept. 3, 2021, 4:53 a.m. This repo has been linked 161 different CVEs too.

None

Assembly Python Shell PHP C++ C Go Ruby HTML Java

Updated: 8 months, 4 weeks ago
51 stars 17 fork 17 watcher
Born at : Sept. 27, 2020, 5:51 a.m. This repo has been linked 129 different CVEs too.

公开收集所用

Assembly Python Shell PHP C++ C Go Ruby HTML Java

Updated: 4 years, 3 months ago
0 stars 14 fork 14 watcher
Born at : Sept. 1, 2020, 9:27 a.m. This repo has been linked 126 different CVEs too.

公开收集所用

Assembly Python Shell PHP C++ C Go Ruby HTML Java

Updated: 4 years, 3 months ago
0 stars 15 fork 15 watcher
Born at : Aug. 31, 2020, 1:32 p.m. This repo has been linked 126 different CVEs too.

None

Assembly Python Shell PHP C++ C Go Ruby HTML Java

Updated: 3 years, 7 months ago
4 stars 1 fork 1 watcher
Born at : Aug. 22, 2020, 8:17 a.m. This repo has been linked 126 different CVEs too.

None

Assembly Python Shell PHP C++ C Go Ruby HTML Java

Updated: 10 months, 3 weeks ago
20 stars 5 fork 5 watcher
Born at : Aug. 21, 2020, 2:34 a.m. This repo has been linked 126 different CVEs too.

公开收集所用

Assembly Python Shell PHP C++ C Go Ruby HTML Java

Updated: 11 months ago
47 stars 16 fork 16 watcher
Born at : Aug. 17, 2020, 5:26 p.m. This repo has been linked 126 different CVEs too.

None

Assembly Python Shell PHP C++ C Go Ruby HTML Java

Updated: 5 months, 4 weeks ago
43 stars 8 fork 8 watcher
Born at : July 9, 2020, 9:28 a.m. This repo has been linked 108 different CVEs too.

渗透测试有关的POC、EXP、脚本、提权、小工具等---About penetration-testing python-script poc getshell csrf xss cms php-getshell domainmod-xss csrf-webshell cobub-razor cve rce sql sql-poc poc-exp bypass oa-getshell cve-cms

penetration-testing poc getshell csrf penetration-testing-poc csrf-webshell cve rce sql-poc poc-exp bypass oa-getshell cve-cms php-bypass thinkphp sql-getshell authentication-bypass cobalt-strike exploit

Python Ruby Makefile C C++ Shell HTML Java Assembly PHP

Updated: 2 weeks, 2 days ago
6646 stars 1842 fork 1842 watcher
Born at : July 24, 2019, 3:37 a.m. This repo has been linked 334 different CVEs too.

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-8794 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2020-8794 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.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/156633/OpenSMTPD-Out-Of-Bounds-Read-Local-Privilege-Escalation.html
    Added Reference http://seclists.org/fulldisclosure/2020/Feb/32
    Added Reference http://www.openwall.com/lists/oss-security/2020/02/26/1
    Added Reference http://www.openwall.com/lists/oss-security/2020/03/01/1
    Added Reference http://www.openwall.com/lists/oss-security/2020/03/01/2
    Added Reference http://www.openwall.com/lists/oss-security/2021/05/04/7
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/
    Added Reference https://usn.ubuntu.com/4294-1/
    Added Reference https://www.debian.org/security/2020/dsa-4634
    Added Reference https://www.openbsd.org/security.html
    Added Reference https://www.openwall.com/lists/oss-security/2020/02/24/5
  • 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]

    Oct. 08, 2022

    Action Type Old Value New Value
    Changed Reference Type http://packetstormsecurity.com/files/156633/OpenSMTPD-Out-Of-Bounds-Read-Local-Privilege-Escalation.html No Types Assigned http://packetstormsecurity.com/files/156633/OpenSMTPD-Out-Of-Bounds-Read-Local-Privilege-Escalation.html Exploit, Third Party Advisory, VDB Entry
    Changed Reference Type http://seclists.org/fulldisclosure/2020/Feb/32 No Types Assigned http://seclists.org/fulldisclosure/2020/Feb/32 Mailing List, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2020/02/26/1 No Types Assigned http://www.openwall.com/lists/oss-security/2020/02/26/1 Exploit, Mailing List, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2020/03/01/1 No Types Assigned http://www.openwall.com/lists/oss-security/2020/03/01/1 Mailing List, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2020/03/01/2 No Types Assigned http://www.openwall.com/lists/oss-security/2020/03/01/2 Mailing List, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2021/05/04/7 No Types Assigned http://www.openwall.com/lists/oss-security/2021/05/04/7 Exploit, 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, Patch, Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/4294-1/ No Types Assigned https://usn.ubuntu.com/4294-1/ Patch, Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2020/dsa-4634 No Types Assigned https://www.debian.org/security/2020/dsa-4634 Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
    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]

    May. 04, 2021

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2021/05/04/7 [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 13, 2020

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/4294-1/ [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]

    Mar. 05, 2020

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/156633/OpenSMTPD-Out-Of-Bounds-Read-Local-Privilege-Escalation.html [No Types Assigned]
  • CVE Modified by [email protected]

    Mar. 01, 2020

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2020/03/01/2 [No Types Assigned]
  • CVE Modified by [email protected]

    Mar. 01, 2020

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2020/03/01/1 [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 28, 2020

    Action Type Old Value New Value
    Added Reference http://seclists.org/fulldisclosure/2020/Feb/32 [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 27, 2020

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2020/dsa-4634 [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 26, 2020

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2020/02/26/1 [No Types Assigned]
  • Initial Analysis by [email protected]

    Feb. 26, 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 https://www.openbsd.org/security.html No Types Assigned https://www.openbsd.org/security.html Third Party Advisory
    Changed Reference Type https://www.openwall.com/lists/oss-security/2020/02/24/5 No Types Assigned https://www.openwall.com/lists/oss-security/2020/02/24/5 Exploit, Mailing List, Third Party Advisory
    Added CWE NIST CWE-125
    Added CPE Configuration OR *cpe:2.3:a:opensmtpd:opensmtpd:*:*:*:*:*:*:*:* versions up to (excluding) 6.6.4
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
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-8794 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-8794 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

87.97 }} -5.73%

score

0.98917

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability