Postfix Script Remote Command Execution via Shellshock

critical Nessus Plugin ID 77969
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.


The remote mail server uses scripts that allow remote command execution via Shellshock.


The remote host appears to be running Postfix. Postfix itself is not vulnerable to Shellshock; however, any bash script Postfix runs for filtering or other tasks could potentially be affected if the script exports an environmental variable from the content or headers of a message.

A negative result from this plugin does not prove conclusively that the remote system is not affected by Shellshock, only that any scripts Postfix may be running do not create the conditions that are exploitable via the Shellshock flaw.


Apply the referenced Bash patch or remove the Postfix scripts.

See Also

Plugin Details

Severity: Critical

ID: 77969

File Name: shellshock_postfix_filters.nasl

Version: 1.13

Type: remote

Published: 9/29/2014

Updated: 7/27/2018

Dependencies: smtpserver_detect.nasl

Risk Information


Risk Factor: Critical

Score: 9.8


Risk Factor: Critical

Base Score: 10

Temporal Score: 8.7

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

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

Vulnerability Information

CPE: cpe:/a:postfix:postfix, cpe:/a:gnu:bash

Required KB Items: Settings/ThoroughTests

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/26/2014

Vulnerability Publication Date: 9/24/2014

Exploitable With

Core Impact

Metasploit (Apache mod_cgi Bash Environment Variable Code Injection (Shellshock))

Reference Information

CVE: CVE-2014-6271, CVE-2014-7169

BID: 70103, 70137

CERT: 252743

EDB-ID: 34765, 34766, 34777, 34896

IAVA: 2014-A-0142