PoC Monitor
← All CVEs
CVE-2020-7247published 29 Jan 2020 15:53 UTCData: JSON · API

OpenBSD OpenSMTPD

OpenSMTPD Remote Code Execution Vulnerability

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.

First public PoC 5 h beforebefore publication · 29 Jan 2020 · Metasploit
Public PoCs1611 on GitHub · 5 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CISA ADP · CWE-755
CISA KEV 25 Mar 20222.2 years after publication

Timeline

Days relative to CVE publication
t=0+90+180+270+360+450+540+630+720First public PoC29 Jan 2020 · t−5hCVE published29 Jan 2020 · t = 0Added to CISA KEV25 Mar 2022 · t+2.2y

First public PoC 5 h before publication; added to CISA KEV 2.2 years after publication. First PoC: Metasploit exploit: OpenSMTPD MAIL FROM Remote Code Execution (exploit/unix/smtp/opensmtpd_mail_from_rce) (Metasploit, 29 Jan 2020).

PoC repositories

Found on GitHub.

11 PoCs · 3 pending · 1 suspicious or fake

PoCs 11
RepositoryCreatedStarsAssessment
FiroSolutions/cve-2020-7247-exploit 30 Jan 2020 +1.2 d 25 PoC
superzerosec/cve-2020-7247 17 Feb 2020 +18 d 4 PoC
r0lh/CVE-2020-7247 18 Feb 2020 +20 d 5 PoC
G01d3nW01f/SMTPython 2 Feb 2021 +1.0 y 0 PoC
Ki11i0n4ir3/SMTPython 2 Feb 2021 +1.0 y 0 PoC
QTranspose/CVE-2020-7247-exploit 13 Feb 2021 +1.0 y 11 PoC
bytescrappers/CVE-2020-7247 2 Jun 2021 +1.3 y 0 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

f4T1H21/CVE-2020-7247 19 Jun 2021 +1.4 y 2 PoC
SimonSchoeni/CVE-2020-7247-POC 26 Nov 2021 +1.8 y 2 PoC
minhluannguyen/CVE-2020-7247-reproducer 20 Mar 2025 +5.1 y 0 PoC
solmin111/OpenSMTPD-CVE-2020-7247- 28 Jun 2026 +6.4 y 0 PoC
Pending 3
RepositoryCreatedStarsAssessment
presentdaypresenttime/shai_hulud 7 Feb 2022 +2.0 y 2 Pending
CyberCTF/vulhub-opensmtpd-cve-2020-7247 8 Oct 2026 +6.7 y 0 Pending
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

gatariee/CVE-2020-7247 unknown 0 Pending · repository unavailable (HTTP 404)
Suspicious or fake 1
RepositoryCreatedStarsAssessment
SrMeirins/HackingVault 5 Feb 2025 +5.0 y 3 Fake

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.