CVE-2014-6271
GNU Bourne-Again Shell (Bash): Arbitrary Code Execution
As of , CVE-2014-6271 in GNU Bourne-Again Shell (Bash) is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.
- Exploited
- Yes: CISA listed it on 28 January 2022
- US federal deadline
- 28 July 2022181 days after CISA listed it. US federal civilian agencies must fix it by then.
- Used in ransomware campaigns
- Not known to CISA
- EPSS score
- 0.99Higher than 99% of the CVEs EPSS scores. EPSS estimates the chance of exploitation activity in the next 30 days.
- EPSS when listed
- Not availableCISA listed it before 4 February 2022, where the EPSS files we read begin.
- Public exploit
- 10 Metasploit modules and 21 Exploit-DB entries (13 verified)
- Fix
- No vendor link in CISA's entry
What CISA says to do
Apply updates per vendor instructions.
CISA's required action
What the flaw is
GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which allows remote attackers to execute code.
CISA's 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, aka "ShellShock." NOTE: the original fix for this issue was incorrect; CVE-2014-7169 has been assigned to cover the vulnerability that is still present after the incorrect fix.
The CVE record's description, from debian
- CVE published
- 24 September 2014
- Assigned by
- debian
- CVSS
- 9.8 Critical (CVSS 3.1, from CISA-ADP)
- CWE-78
- Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- CISA SSVC, exploitation
- active
- CISA SSVC, automatable
- yes
- CISA SSVC, technical impact
- total
Timeline
- The CVE record was published.
- Exploit-DB published an exploit (EDB-ID 34765).
- Exploit-DB published an exploit (EDB-ID 34766).
- Exploit-DB published an exploit (EDB-ID 34777).
- Exploit-DB published an exploit (EDB-ID 34839).
- Exploit-DB published an exploit (EDB-ID 34860).
- Exploit-DB published an exploit (EDB-ID 34862).
- Exploit-DB published an exploit (EDB-ID 34879).
- Exploit-DB published an exploit (EDB-ID 34895).
- Exploit-DB published an exploit (EDB-ID 34896).
- Exploit-DB published an exploit (EDB-ID 34900).
- Exploit-DB published an exploit (EDB-ID 35115).
- Exploit-DB published an exploit (EDB-ID 35146).
- Exploit-DB published an exploit (EDB-ID 36503).
- Exploit-DB published an exploit (EDB-ID 36504).
- Exploit-DB published an exploit (EDB-ID 36609).
- Exploit-DB published an exploit (EDB-ID 37816).
- Exploit-DB published an exploit (EDB-ID 38849).
- Exploit-DB published an exploit (EDB-ID 39918).
- Exploit-DB published an exploit (EDB-ID 40619).
- Exploit-DB published an exploit (EDB-ID 40938).
- Exploit-DB published an exploit (EDB-ID 42938).
- CISA added it to its list of exploited vulnerabilities.
- The US federal deadline to fix it.
Public exploits
Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.
- Metasploit: Advantech Switch Bash Environment Variable Code Injection (Shellshock)exploit module, rank excellent
- Metasploit: IPFire Bash Environment Variable Injection (Shellshock)exploit module, rank excellent
- Metasploit: Pure-FTPd External Authentication Bash Environment Variable Code Injection (Shellshock)exploit module, rank excellent
- Metasploit: Apache mod_cgi Bash Environment Variable Code Injection (Shellshock)exploit module, rank excellent
- Metasploit: CUPS Filter Bash Environment Variable Code Injection (Shellshock)exploit module, rank excellent
- Metasploit: Dhclient Bash Environment Variable Injection (Shellshock)exploit module, rank excellent
- Metasploit: Apache mod_cgi Bash Environment Variable Injection (Shellshock) Scannerauxiliary module, rank normal
- Metasploit: DHCP Client Bash Environment Variable Code Injection (Shellshock)auxiliary module, rank normal
- Metasploit: OS X VMWare Fusion Privilege Escalation via Bash Environment Code Injection (Shellshock)exploit module, rank normal
- Metasploit: Qmail SMTP Bash Environment Variable Injection (Shellshock)exploit module, rank normal
- Exploit-DB: Qmail SMTP - Bash Environment Variable Injection (Metasploit)EDB-ID 42938, verified by Exploit-DB, 2 October 2017
- Exploit-DB: RedStar 3.0 Server - 'Shellshock' 'BEAM' / 'RSSMON' Command InjectionEDB-ID 40938, verified by Exploit-DB, 18 December 2016
- Exploit-DB: IPFire - 'Shellshock' Bash Environment Variable Command Injection (Metasploit)EDB-ID 39918, verified by Exploit-DB, 10 June 2016
- Exploit-DB: Advantech Switch - 'Shellshock' Bash Environment Variable Command Injection (Metasploit)EDB-ID 38849, verified by Exploit-DB, 2 December 2015
- Exploit-DB: CUPS Filter - Bash Environment Variable Code Injection (Metasploit)EDB-ID 35115, verified by Exploit-DB, 29 October 2014
- Exploit-DB: Bash CGI - 'Shellshock' Remote Command Injection (Metasploit)EDB-ID 34895, verified by Exploit-DB, 6 October 2014
- Exploit-DB: Postfix SMTP 4.2.x < 4.2.48 - 'Shellshock' Remote Command InjectionEDB-ID 34896, verified by Exploit-DB, 6 October 2014
- Exploit-DB: Apache mod_cgi - 'Shellshock' Remote Command InjectionEDB-ID 34900, verified by Exploit-DB, 6 October 2014
- Exploit-DB: Pure-FTPd - External Authentication Bash Environment Variable Code Injection (Metasploit)EDB-ID 34862, verified by Exploit-DB, 2 October 2014
- Exploit-DB: IPFire - CGI Web Interface (Authenticated) Bash Environment Variable Code InjectionEDB-ID 34839, verified by Exploit-DB, 1 October 2014
and 11 more
Bourne-Again Shell (Bash): other exploited entries
| Vulnerability | Product | Our group | Listed | Deadline | EPSS |
|---|---|---|---|---|---|
| CVE-2014-7169Arbitrary Code Execution | GNU Bourne-Again Shell (Bash) | Patch this weekEPSS 0.99; verified Exploit-DB entry | 0.99 |
Read further
- CVE recordcve.org
- NVD entrynvd.nist.gov
- CISA's catalogcisa.gov
- EPSS for this CVEapi.first.org