Rapid7 Vulnerability & Exploit Database

CVE-2014-6271 bash: specially-crafted environment variables can be used to inject shell commands

Back to Search

CVE-2014-6271 bash: specially-crafted environment variables can be used to inject shell commands

Severity
10
CVSS
(AV:N/AC:L/Au:N/C:C/I:C/A:C)
Published
09/24/2014
Created
07/25/2018
Added
09/24/2014
Modified
10/01/2019

Description

GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which allows remote attackers to execute arbitrary code via a crafted environment, as demonstrated by vectors involving the ForceCommand feature in OpenSSH sshd, the mod_cgi and mod_cgid modules in the Apache HTTP Server, scripts executed by unspecified DHCP clients, and other situations in which setting the environment occurs across a privilege boundary from Bash execution.

Solution(s)

  • gnu-bash-upgrade-latest

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;