All vulnerabilities
CVE-2020-7247

OpenSMTPD Remote Code Execution Vulnerability

OpenBSD OpenSMTPDNetwork & edge
CVSS
9.8Critical
ExploitationExploited in the wildAdded to KEV 25 Mar 2022CISA KEV
Exploit odds (EPSS)99.0%Chance of exploitation activity in the next 30 days, higher than 99.9% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
Federal deadline15 Apr 2022Remediation due date for US federal agenciesCISA KEV
CISA required actionApply updates per vendor instructions. CISA KEV

What fixes it

No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.

Timeline

  1. 28 Jan 2020Exploit code publicMetasploit
  2. 29 Jan 2020, 15:53 UTCPublishedCVE List
  3. 25 Mar 2022Added to CISA KEVCISA KEV

Public exploit code and templates 5

  • Exploit moduleOpenSMTPD MAIL FROM Remote Code Execution 28 Jan 2020Metasploit
  • Remote exploitOpenSMTPD - MAIL FROM Remote Code Execution (Metasploit) 10 Feb 2020Exploit-DB
  • Remote exploitOpenSMTPD 6.4.0 < 6.6.1 - Local Privilege Escalation + Remote Code Execution 11 Feb 2020Exploit-DB
  • Remote exploitOpenSMTPD 6.6.1 - Remote Code Execution 30 Jan 2020Exploit-DB
  • Scanner templateOpenSMTPD 6.4.0-6.6.1 - Remote Code ExecutionNuclei

Listed so defenders can prioritize. Threatline links to the source and does not host exploit code.

Description

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.

Text from CVE List

Affected versions 1

  • n/aaffected: n/aCVE List

References 9