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

critical Nessus Plugin ID 133717
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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.3

Type: remote

Published: 2/14/2020

Updated: 6/29/2021

Dependencies: find_service1.nasl, smtpserver_detect.nasl

Risk Information

CVSS Score Source: CVE-2020-7247

VPR

Risk Factor: Critical

Score: 9

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.3

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

Temporal Vector: E:F/RL:OF/RC:C

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: 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

Exploitable With

Metasploit (OpenSMTPD MAIL FROM Remote Code Execution)

Reference Information

CVE: CVE-2020-7247