ID CVE-2014-7169
Summary GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of environment variables, which allows remote attackers to write to files or possibly have unknown other impact 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. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-6271.
References
Vulnerable Configurations
  • GNU Bourne-Again SHellbash (GNU Bash) 1.14.0
    cpe:2.3:a:gnu:bash:1.14.0
  • GNU Bourne-Again SHellbash (GNU Bash) 1.14.1
    cpe:2.3:a:gnu:bash:1.14.1
  • GNU Bourne-Again SHellbash (GNU Bash) 1.14.2
    cpe:2.3:a:gnu:bash:1.14.2
  • GNU Bourne-Again SHellbash (GNU Bash) 1.14.3
    cpe:2.3:a:gnu:bash:1.14.3
  • GNU Bourne-Again SHellbash (GNU Bash) 1.14.4
    cpe:2.3:a:gnu:bash:1.14.4
  • GNU Bourne-Again SHellbash (GNU Bash) 1.14.5
    cpe:2.3:a:gnu:bash:1.14.5
  • GNU Bourne-Again SHellbash (GNU Bash) 1.14.6
    cpe:2.3:a:gnu:bash:1.14.6
  • GNU Bourne-Again SHellbash (GNU Bash) 1.14.7
    cpe:2.3:a:gnu:bash:1.14.7
  • GNU Bourne-Again SHellbash (GNU Bash) 2.0
    cpe:2.3:a:gnu:bash:2.0
  • GNU Bourne-Again SHellbash (GNU Bash) 2.01
    cpe:2.3:a:gnu:bash:2.01
  • GNU Bourne-Again SHellbash (GNU Bash) 2.01.1
    cpe:2.3:a:gnu:bash:2.01.1
  • GNU Bourne-Again SHellbash (GNU Bash) 2.02
    cpe:2.3:a:gnu:bash:2.02
  • GNU Bourne-Again SHellbash (GNU Bash) 2.02.1
    cpe:2.3:a:gnu:bash:2.02.1
  • GNU Bourne-Again SHellbash (GNU Bash) 2.03
    cpe:2.3:a:gnu:bash:2.03
  • GNU Bourne-Again SHellbash (GNU Bash) 2.04
    cpe:2.3:a:gnu:bash:2.04
  • GNU Bourne-Again SHellbash (GNU Bash) 2.05
    cpe:2.3:a:gnu:bash:2.05
  • GNU Bourne-Again SHellbash (GNU Bash) 2.05a
    cpe:2.3:a:gnu:bash:2.05:a
  • GNU Bourne-Again SHellbash (GNU Bash) 2.05b
    cpe:2.3:a:gnu:bash:2.05:b
  • GNU Bourne-Again SHellbash (GNU Bash) 3.0
    cpe:2.3:a:gnu:bash:3.0
  • GNU Bourne-Again SHellbash (GNU Bash) 3.0.16
    cpe:2.3:a:gnu:bash:3.0.16
  • GNU Bourne-Again SHellbash (GNU Bash) 3.1
    cpe:2.3:a:gnu:bash:3.1
  • GNU Bourne-Again SHellbash (GNU Bash) 3.2
    cpe:2.3:a:gnu:bash:3.2
  • GNU Bourne-Again SHellbash (GNU Bash) 3.2.48
    cpe:2.3:a:gnu:bash:3.2.48
  • GNU Bourne-Again SHellbash (GNU Bash) 4.0
    cpe:2.3:a:gnu:bash:4.0
  • GNU Bourne-Again SHellbash (GNU Bash) 4.0 release candidate 1
    cpe:2.3:a:gnu:bash:4.0:rc1
  • GNU Bourne-Again SHellbash (GNU Bash) 4.1
    cpe:2.3:a:gnu:bash:4.1
  • GNU Bourne-Again SHellbash (GNU Bash) 4.2
    cpe:2.3:a:gnu:bash:4.2
  • Gnu Bash 4.3
    cpe:2.3:a:gnu:bash:4.3
CVSS
Base: 10.0 (as of 25-09-2014 - 13:10)
Impact: 10.0
Exploitability:10.0
CWE CWE-78
CAPEC
  • Exploiting Multiple Input Interpretation Layers
    ['An attacker supplies the target software with input data that contains sequences of special characters designed to bypass input validation logic. This exploit relies on the target making multiples passes over the input data and processing a "layer" of special characters with each pass. In this manner, the attacker can disguise input that would otherwise be rejected as invalid by concealing it with layers of special/escape characters that are stripped off by subsequent processing steps.', 'The goal is to first discover cases where the input validation layer executes before one or more parsing layers. That is, user input may go through the following logic in an application:', 'In such cases, the attacker will need to provide input that will pass through the input validator, but after passing through parser2, will be converted into something that the input validator was supposed to stop.']
  • Argument Injection
    ['An attacker changes the behavior or state of a targeted application through injecting data or command syntax through the targets use of non-validated and non-filtered arguments of exposed services or methods.']
  • OS Command Injection
    ['In this type of an attack, an adversary injects operating system commands into existing application functions. An application that uses untrusted input to build command strings is vulnerable. An adversary can leverage OS command injection in an application to elevate privileges, execute arbitrary commands and compromise the underlying operating system.']
  • Command Delimiters
    ["An attack of this type exploits a programs' vulnerabilities that allows an attacker's commands to be concatenated onto a legitimate command with the intent of targeting other resources such as the file system or database. The system that uses a filter or a blacklist input validation, as opposed to whitelist validation is vulnerable to an attacker who predicts delimiters (or combinations of delimiters) not present in the filter or blacklist. As with other injection attacks, the attacker uses the command delimiter payload as an entry point to tunnel through the application and activate additional attacks through SQL queries, shell commands, network scanning, and so on."]
  • Command Line Execution through SQL Injection
    ['An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host.']
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
Certvn vFeed
certvuid VU#252743
certvulink http://www.kb.cert.org/vuls/id/252743
Cisco vFeed
ciscoid cisco-sa-20140926
Debian vFeed
debianid DSA-3035
Exploitdb vFeed
exploitdbid 36933
exploitdbscript platforms/linux/remote/36933.py
Hp vFeed
hpid HPSBGN03117
hplink http://marc.info/?l=bugtraq&m=141216207813411&w=2
Iavm vFeed
disakey V0054753
iavmid 2014-A-0142
iavmtitle GNU Bash Shell Code Execution Vulnerability
Mandriva vFeed
mandrivaid MDVSA-2015:164
Nessus vFeed
nessus_script_family CISCO
nessus_script_file cisco_telepresence_vcs_CSCur01461.nasl
nessus_script_id 78596
nessus_script_name Cisco TelePresence Video Communication Server Bash Remote Code Execution (Shellshock)
Nmap vFeed
nmap_script_cat "exploit","vuln","intrusive"
nmap_script_id http-shellshock.nse
Openvas vFeed
openvas_script_family Ubuntu Local Security Checks
openvas_script_file gb_ubuntu_USN_2363_2.nasl
openvas_script_id 57808
openvas_script_name Ubuntu Update for bash USN-2363-2
Oval vFeed
cpeid
ovalclass vulnerability
ovalid oval:org.mitre.oval:def:28062
ovaltitle VMware product updates address critical Bash security vulnerabilities
Redhat vFeed
redhatid RHSA-2014:1306
redhatovalid oval:com.redhat.rhsa:def:20141306
redhatupdatedesc RHSA-2014:1306: bash security update (Important)
Scip vFeed
scipid 71528
sciplink http://www.scip.ch/en/?vuldb.71528
Snort vFeed
snort_classtype attempted-admin
snort_id sid:32366
snort_sig OS-OTHER Bash environment variable injection attempt
Suse vFeed
suseid openSUSE-SU-2014:1310
Ubuntu vFeed
ubuntuid USN-2363-2
Vmware vFeed
vmwareid VMSA-2014-0010
Redhat_Bugzilla vFeed
advisory_dateissue 2014-09-26
bugzillaid 1146319
bugzillatitle CVE-2014-7169 bash: code execution via specially-crafted environment (Incomplete fix for CVE-2014-6271)
redhatid RHSA-2014:1306
Last major update 12-03-2015 - 02:00
Published 25-09-2014 - 01:55
Last modified 07-01-2017 - 03:00
Back to Top