ID:8883 - Exploit for OS Command Injection in OpenSMTPD - CVE-2020-7247

 
Main Vulnerability Database Exploits ID:8883 - Exploit for OS Command Injection in OpenSMTPD - CVE-2020-7247

ID:8883 - Exploit for OS Command Injection in OpenSMTPD - CVE-2020-7247

Published: March 3, 2023


Vulnerability identifier: #VU24745
Vulnerability risk: Critical
CVE-ID: CVE-2020-7247
CWE-ID: CWE-78
Exploitation vector: Remote access
Vulnerable software:
OpenSMTPD

Link to public exploit:


Vulnerability description

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper validation of user-supplied input passed within the smtp_mailaddr() function. A remote unauthenticated attacker can send a specially crafted MAIL FROM command and execute arbitrary OS commands on the target system with root privileges.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Remediation

Install updates from vendor's website.