← back
CVE-2020-7247criticalunder attackCWE-755

CVE-2020-7247

100Vexday Risk Score

Patch now. It under exploitation confirmed by CISA and has a working public exploit.

ssvc Actcvss 9.8epss 99%
from disclosure to weapon0 days
Published on NVDJan 29
1st PoCJul 12
metasploitJan 28
CISA KEV+786d
exploitation probability
99%top 1% of all CVEs
observed exploitation
yesCISA + VulnCheck
28 public exploit(s)
Action required by CISAfederal deadline: 2022-04-15

Apply updates per vendor instructions.

Researched and written with AI from the vendor advisory and public analysis, with the sources above. Always confirm the fixed version in the official advisory before acting.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
n/a · n/a
public PoCs found28 VexDay Proof
exploitdbVexDay Proofwww.exploit-db.com/exploits/48038exploitdbVexDay Proofwww.exploit-db.com/exploits/47984exploitdbVexDay Proofwww.exploit-db.com/exploits/48051githubgithub.com/FiroSolutions/cve-2020-7247-exploit25githubgithub.com/QTranspose/CVE-2020-7247-exploit11githubgithub.com/r0lh/CVE-2020-72475githubgithub.com/superzerosec/cve-2020-72474githubgithub.com/f4T1H21/CVE-2020-72472githubgithub.com/SimonSchoeni/CVE-2020-7247-POC2githubgithub.com/presentdaypresenttime/shai_hulud2githubgithub.com/minhluannguyen/CVE-2020-7247-reproducer1githubgithub.com/solmin111/OpenSMTPD-CVE-2020-7247-0githubgithub.com/bytescrappers/CVE-2020-72470cve_referencepacketstormsecurity.com/files/156295/OpenSMTPD-6.6.1-Local-Privilege-Escalation.htmlunverifiedvulncheckvulncheck.com/xdb/fdc16adbecd8unverifiedcve_referencepacketstormsecurity.com/files/156249/OpenSMTPD-MAIL-FROM-Remote-Code-Execution.htmlunverifiedcve_referencepacketstormsecurity.com/files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.htmlunverifiedcve_referencepacketstormsecurity.com/files/156137/OpenBSD-OpenSMTPD-Privilege-Escalation-Code-Execution.htmlunverifiedvulncheckvulncheck.com/xdb/84f50ceb9674unverifiedvulncheckvulncheck.com/xdb/e74dfea19420unverifiedvulncheckvulncheck.com/xdb/bf9da7b38b61unverifiedvulncheckvulncheck.com/xdb/dfc825b4e351unverifiedvulncheckvulncheck.com/xdb/15de84180d62unverifiedvulncheckvulncheck.com/xdb/47eec17beab4unverifiedvulncheckvulncheck.com/xdb/aaf43d820afeunverifiedvulncheckvulncheck.com/xdb/bb8cd406d461unverifiedvulncheckvulncheck.com/xdb/3aba7d75651dunverifiedcve_referencepacketstormsecurity.com/files/162093/OpenBSD-OpenSMTPD-6.6-Remote-Code-Execution.htmlunverified
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.