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

critical Nessus Plugin ID 133717

Synopsis

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

Description

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.

Solution

Update the affected opensmtpd package.

See Also

https://www.openwall.com/lists/oss-security/2020/01/28/3

https://www.openbsd.org/errata66.html

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

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 8.4

CVSS v2

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

CVSS v3

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