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: 2017/05/26

Modified: 2018/08/08

Dependencies: 10263

Risk Information

Risk Factor: Critical

CVSS v2.0

Base Score: 10

Temporal Score: 7.4

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

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

CVSS v3.0

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: 2017/04/08