GNU Bash Environment Variable Handling Code Injection via ProFTPD (Shellshock)

critical Nessus Plugin ID 77986
New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it is different from CVSS.

VPR Score: 9.7


The remote FTP server is affected by a remote code execution vulnerability.


The remote FTP server is affected by a remote code execution vulnerability due to an error in the Bash shell running on the remote host. A remote, unauthenticated attacker can execute arbitrary code on the remote host by sending a specially crafted request via the USER FTP command. The 'mod_exec' module exports the attacker-supplied username as an environment variable, which is then evaluated by Bash as code.


Apply the referenced patch.

See Also

Plugin Details

Severity: Critical

ID: 77986

File Name: proftpd_bash_injection.nasl

Version: 1.23

Type: remote

Family: FTP

Published: 9/30/2014

Updated: 2/24/2021

Dependencies: ftpserver_detect_type_nd_version.nasl, ftp_starttls.nasl

Risk Information

Risk Factor: Critical

VPR Score: 9.7

CVSS Score Source: CVE-2014-7169

CVSS v2.0

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

CVSS v3.0

Base Score: 8.8

Temporal Score: 8.4

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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

Vulnerability Information

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

Excluded KB Items: global_settings/supplied_logins_only

Exploit Available: true

Exploit Ease: Exploits are available

Exploited by Nessus: true

Patch Publication Date: 9/24/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

IAVA: 2014-A-0142

EDB-ID: 34765, 34766, 34777