Vulnerability
CVE-2020-7247
Vulnerability details
- Score
- 9.8
- Severity
- critical
CVSS 3.1 · CISA-ADP
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDescription
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.
CVE ProgramExploit source choices
16 sourcesThis module exploits a command injection in the MAIL FROM field during SMTP interaction with OpenSMTPD to execute a command as the root user.
A handy collection of my public exploits, all in one place.
Various local exploits
essential templates for kenzer [DEPRECATED]
Python exploit of cve-2020-7247
Localroot Compile
OpenSMTPD 6.4.0 - 6.6.1 Remote Code Execution PoC exploit
Proof Of Concept Exploit for CVE-2020-7247 (Remote Execution on OpenSMTPD < 6.6.2
OpenSMTPD version 6.6.2 remote code execution exploit
PoC exploit for CVE-2020-7247 OpenSMTPD 6.4.0 < 6.6.1 Remote Code Execution
Worm written in python, abuses CVE-2020-7247
Proof of concept for CVE-2020-7247 for educational purposes.
This vulnerability exists in OpenBSD’s mail server OpenSMTPD’s “smtp_mailaddr()” function, and affects OpenBSD version 6.6. This allows an attacker to execute arbitrary shell commands like “sleep 66” as root user