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

critical Nessus Plugin ID 100465

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

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A: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: CVSS:3.0/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