OpenSMTPD Critical LPE / RCE (CVE-2020-7247)

critical Nessus Plugin ID 133717


The remote mail server is affected by a LPE / RCE Vulnerability.


A remote code execution vulnerability exists in OpenSMTPD due to unsanitized email inputs. An unauthenticated, remote attacker can exploit this to bypass authentication and execute arbitrary commands with root privileges.


Update the affected opensmtpd package.

See Also

Plugin Details

Severity: Critical

ID: 133717

File Name: opensmtpd_rce_cve-2020-7247.nasl

Version: 1.8

Type: remote

Published: 2/14/2020

Updated: 4/25/2023

Configuration: Enable thorough checks

Risk Information


Risk Factor: High

Score: 8.4


Risk Factor: Critical

Base Score: 10

Temporal Score: 8.3

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2020-7247


Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:openbsd:opensmtpd

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/29/2020

Vulnerability Publication Date: 1/28/2020

CISA Known Exploited Vulnerability Due Dates: 4/15/2022

Exploitable With

Core Impact

Metasploit (OpenSMTPD MAIL FROM Remote Code Execution)

Reference Information

CVE: CVE-2020-7247