Postfix Script Remote Command Execution via Shellshock

Critical Nessus Plugin ID 77969


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

Type: remote

Published: 2014/09/29

Modified: 2017/04/25

Dependencies: 10263

Risk Information

Risk Factor: Critical


Base Score: 10

Temporal Score: 8.3

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

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

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: 2014/09/26

Vulnerability Publication Date: 2014/09/24

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

OSVDB: 112004

CERT: 252743

EDB-ID: 34765, 34766, 34777, 34896

IAVA: 2014-A-0142