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

  1. The CVE record was published.
  2. Exploit-DB published an exploit (EDB-ID 34765).
  3. Exploit-DB published an exploit (EDB-ID 34766).
  4. Exploit-DB published an exploit (EDB-ID 34777).
  5. Exploit-DB published an exploit (EDB-ID 34839).
  6. Exploit-DB published an exploit (EDB-ID 34860).
  7. Exploit-DB published an exploit (EDB-ID 34862).
  8. Exploit-DB published an exploit (EDB-ID 34879).
  9. Exploit-DB published an exploit (EDB-ID 34895).
  10. Exploit-DB published an exploit (EDB-ID 34896).
  11. Exploit-DB published an exploit (EDB-ID 34900).
  12. Exploit-DB published an exploit (EDB-ID 35115).
  13. Exploit-DB published an exploit (EDB-ID 35146).
  14. Exploit-DB published an exploit (EDB-ID 36503).
  15. Exploit-DB published an exploit (EDB-ID 36504).
  16. Exploit-DB published an exploit (EDB-ID 36609).
  17. Exploit-DB published an exploit (EDB-ID 37816).
  18. Exploit-DB published an exploit (EDB-ID 38849).
  19. Exploit-DB published an exploit (EDB-ID 39918).
  20. Exploit-DB published an exploit (EDB-ID 40619).
  21. Exploit-DB published an exploit (EDB-ID 40938).
  22. Exploit-DB published an exploit (EDB-ID 42938).
  23. CISA added it to its list of exploited vulnerabilities.
  24. 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.

and 11 more

Bourne-Again Shell (Bash): other exploited entries

VulnerabilityProductOur groupListedDeadlineEPSS
CVE-2014-7169Arbitrary Code ExecutionGNU Bourne-Again Shell (Bash)Patch this weekEPSS 0.99; verified Exploit-DB entry0.99

Read further