GNU Bash Environment Variable Handling Code Injection (Shellshock)

Critical Nessus Plugin ID 77829


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


The remote web server is affected by a command injection vulnerability in GNU Bash known as Shellshock. The vulnerability is due to the processing of trailing strings after function definitions in the values of environment variables. This allows a remote attacker to execute arbitrary code via environment variable manipulation depending on the configuration of the system.


Apply the referenced patch to address CVE-2014-6271 (Shellshock).

See Also

Plugin Details

Severity: Critical

ID: 77829

File Name: bash_cve_2014_6271_rce.nasl

Version: 1.40

Type: remote

Family: CGI abuses

Published: 2014/09/24

Updated: 2020/04/27

Dependencies: 10107, 67257

Risk Information

Risk Factor: Critical

CVSS Score Source: CVE-2014-6271

CVSS v2.0

Base Score: 10

Temporal Score: 8.7

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

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

CVSS v3.0

Base Score: 9.8

Temporal Score: 9.4

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:H/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:gnu:bash

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2014/09/24

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

BID: 70103

CERT: 252743

EDB-ID: 34765, 34766, 34777

IAVA: 2014-A-0142