Postfix 2.x Mail Message Date Field RCE (ENTERSEED)

critical Nessus Plugin ID 100465
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 remote code execution vulnerability.

Description

According to its banner, the Postfix mail server running on the remote host is version 2.x from 2.0.8 to 2.1.5 inclusively. It is, therefore, affected by a remote code execution vulnerability due to improper sanitization of the email date field. An unauthenticated, remote attacker can exploit this, via a specially crafted email, to execute arbitrary code.

ENTERSEED is one of multiple Equation Group vulnerabilities and exploits disclosed on 2016/04/08 by a group known as the Shadow Brokers.

Solution

Upgrade to the latest version of Postfix.

See Also

https://github.com/x0rz/EQGRP/blob/master/Linux/bin/enterseed.py

Plugin Details

Severity: Critical

ID: 100465

File Name: postfix_rce_enterseed.nasl

Version: 1.4

Type: remote

Published: 5/26/2017

Updated: 8/8/2018

Dependencies: smtpserver_detect.nasl

Configuration: Enable paranoid mode

Risk Information

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

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

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

Temporal Vector: E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:postfix:postfix

Required KB Items: Settings/ParanoidReport, SMTP/postfix

Vulnerability Publication Date: 4/8/2017