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: $Revision: 1.2 $

Type: remote

Published: 2017/05/26

Modified: 2017/08/15

Dependencies: 10263

Risk Information

Risk Factor: Critical

CVSSv2

Base Score: 10

Temporal Score: 9.5

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

Temporal Vector: CVSS2#E:F/RL:U/RC:ND

CVSSv3

Base Score: 9.8

Temporal Score: 9.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:F/RL:U/RC:X

Vulnerability Information

CPE: cpe:/a:postfix:postfix

Required KB Items: Settings/ParanoidReport, SMTP/postfix

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 2017/04/08