CVE-2014-6271
GNU Bourne-Again Shell (Bash) Arbitrary Code Execution Vulnerability
Exploited in the wild
This vulnerability is on a Known Exploited Vulnerabilities catalogue, added 2022-01-28. Federal due date: 2022-07-28.
Apply updates per vendor instructions.
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- Qmail SMTP - Bash Environment Variable Injection (Metasploit)2017-10-02 · remote · linux · Verified
- RedStar 3.0 Server - 'Shellshock' 'BEAM' / 'RSSMON' Command Injection2016-12-18 · local · linux · Verified
- IPFire - 'Shellshock' Bash Environment Variable Command Injection (Metasploit)2016-06-10 · remote · cgi · Verified
- Advantech Switch - 'Shellshock' Bash Environment Variable Command Injection (Metasploit)2015-12-02 · remote · cgi · Verified
- CUPS Filter - Bash Environment Variable Code Injection (Metasploit)2014-10-29 · remote · linux · Verified
- Apache mod_cgi - 'Shellshock' Remote Command Injection2014-10-06 · remote · linux · Verified
- Postfix SMTP 4.2.x < 4.2.48 - 'Shellshock' Remote Command Injection2014-10-06 · remote · linux · Verified
- Bash CGI - 'Shellshock' Remote Command Injection (Metasploit)2014-10-06 · webapps · cgi · Verified
- Pure-FTPd - External Authentication Bash Environment Variable Code Injection (Metasploit)2014-10-02 · remote · linux · Verified
- IPFire - CGI Web Interface (Authenticated) Bash Environment Variable Code Injection2014-10-01 · webapps · cgi · Verified
- GNU Bash - Environment Variable Command Injection (Metasploit)2014-09-25 · remote · cgi · Verified
- Bash - 'Shellshock' Environment Variables Command Injection2014-09-25 · remote · linux · Verified
Impact
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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Gnu | Bash | through 4.3 |
| Arista | Eos | from 4.9.0 before 4.9.12 from 4.10.0 before 4.10.9 from 4.11.0 before 4.11.11 from 4.12.0 before 4.12.9 from 4.13.0 before 4.13.9 from 4.14.0 before 4.14.4f |
| Oracle | Linux | Versions 4, 5, 6 |
| Qnap | Qts | before 4.1.1 Version 4.1.1 |
| Mageia | Mageia | Versions 3.0, 4.0 |
| Redhat | Gluster Storage Server For On-Premise | Version 2.1 |
| Redhat | Virtualization | Version 3.4 |
| Redhat | Enterprise Linux | Versions 4.0, 5.0, 6.0, 7.0 |
| Redhat | Enterprise Linux Desktop | Versions 5.0, 6.0, 7.0 |
| Redhat | Enterprise Linux Eus | Versions 5.9, 6.4, 6.5, 7.3, 7.4, 7.5 |
| Redhat | Enterprise Linux For Ibm Z Systems | Versions 5.9_s390x, 6.4_s390x, 6.5_s390x, 7.3_s390x, 7.4_s390x, 7.5_s390x |
| Redhat | Enterprise Linux For Power Big Endian | Versions 5.0_ppc, 5.9_ppc, 6.0_ppc64, 6.4_ppc64, 7.0_ppc64 |
Weakness classification
References
- NVD record
- CVE.org record
- CISA KEV catalog
- http://advisories.mageia.org/MGASA-2014-0388.html
- http://archives.neohapsis.com/archives/bugtraq/2014-10/0101.html
- http://jvn.jp/en/jp/JVN55667175/index.html
- http://jvndb.jvn.jp/jvndb/JVNDB-2014-000126
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10673
- http://lcamtuf.blogspot.com/2014/09/quick-notes-about-bash-bug-its-impact.html
- http://linux.oracle.com/errata/ELSA-2014-1293.html
- http://linux.oracle.com/errata/ELSA-2014-1294.html
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00028.html
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00029.html
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00034.html
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00037.html
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00040.html
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00044.html
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00049.html
- http://lists.opensuse.org/opensuse-security-announce/2014-10/msg00004.html
- http://lists.opensuse.org/opensuse-updates/2014-10/msg00023.html
- http://lists.opensuse.org/opensuse-updates/2014-10/msg00025.html
- http://marc.info/?l=bugtraq&m=141216207813411&w=2
- http://marc.info/?l=bugtraq&m=141216668515282&w=2
- http://marc.info/?l=bugtraq&m=141235957116749&w=2
- http://marc.info/?l=bugtraq&m=141319209015420&w=2
- http://marc.info/?l=bugtraq&m=141330425327438&w=2
- http://marc.info/?l=bugtraq&m=141330468527613&w=2
- http://marc.info/?l=bugtraq&m=141345648114150&w=2