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/apublic PoCs found — 28✓ VexDay Proof
exploitdb✓ VexDay Proofwww.exploit-db.com/exploits/48038exploitdb✓ VexDay Proofwww.exploit-db.com/exploits/47984exploitdb✓ VexDay Proofwww.exploit-db.com/exploits/48051githubgithub.com/FiroSolutions/cve-2020-7247-exploit★ 25githubgithub.com/QTranspose/CVE-2020-7247-exploit★ 11githubgithub.com/r0lh/CVE-2020-7247★ 5githubgithub.com/superzerosec/cve-2020-7247★ 4githubgithub.com/f4T1H21/CVE-2020-7247★ 2githubgithub.com/SimonSchoeni/CVE-2020-7247-POC★ 2githubgithub.com/presentdaypresenttime/shai_hulud★ 2githubgithub.com/minhluannguyen/CVE-2020-7247-reproducer★ 1githubgithub.com/solmin111/OpenSMTPD-CVE-2020-7247-★ 0githubgithub.com/bytescrappers/CVE-2020-7247★ 0cve_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.
References
http://packetstormsecurity.com/files/156137/OpenBSD-OpenSMTPD-Privilege-Escalation-Code-Execution.htmlhttp://packetstormsecurity.com/files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.htmlhttp://packetstormsecurity.com/files/156249/OpenSMTPD-MAIL-FROM-Remote-Code-Execution.htmlhttp://packetstormsecurity.com/files/156295/OpenSMTPD-6.6.1-Local-Privilege-Escalation.htmlhttp://packetstormsecurity.com/files/162093/OpenBSD-OpenSMTPD-6.6-Remote-Code-Execution.htmlhttp://seclists.org/fulldisclosure/2020/Jan/49https://github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/https://seclists.org/bugtraq/2020/Jan/51https://usn.ubuntu.com/4268-1/https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-7247https://www.debian.org/security/2020/dsa-4611