CVE-2014-7169
GNU Bourne-Again Shell (Bash) Arbitrary Code Execution Vulnerability
Does this matter?
Known to be exploited in the wild (CISA KEV, CISA remediation deadline 28 July 2022). Treat as an emergency change: patch or isolate now, then hunt for prior compromise.
Description
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 99.94% probability · 100th percentile
- Public exploits
- 15 in Exploit-DB · verified · first 25 September 2014
- CISA KEV
- Listed 28 January 2022 · due 28 July 2022
- Weakness
- CWE-78
- Affected
- gnu/bash · arista/eos · oracle/linux · qnap/qts · mageia/mageia · redhat/gluster storage server for on-premise · redhat/virtualization · redhat/enterprise linux · redhat/enterprise linux desktop · redhat/enterprise linux eus · redhat/enterprise linux for ibm z systems · redhat/enterprise linux for power big endian · redhat/enterprise linux for power big endian eus · redhat/enterprise linux for scientific computing · redhat/enterprise linux server · redhat/enterprise linux server aus · redhat/enterprise linux server from rhui · redhat/enterprise linux server tus · redhat/enterprise linux workstation · suse/studio onsite · +40 more
- Source
- cve@mitre.org
EPSS 99.9% since 30 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
CISA notes
Apply updates per vendor instructions. https://nvd.nist.gov/vuln/detail/CVE-2014-7169
Public exploits (15)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
| EDB-ID | Title | Type | Published | Verified |
|---|---|---|---|---|
| EDB-36609source ↗ | Kemp Load Master 7.1.16 - Multiple Vulnerabilitiesmultiple · Roberto Suggi Liverani | webapps | 2 April 2015 | no |
| EDB-36504source ↗ | QNAP - Web Server Remote Code Execution via Bash Environment Variable Code Injection (Metasploit)hardware · Patrick Pellegrino | remote | 26 March 2015 | no |
| EDB-36503source ↗ | QNAP - Admin Shell via Bash Environment Variable Code Injection (Metasploit)hardware · Patrick Pellegrino | remote | 26 March 2015 | no |
| EDB-35146source ↗ | PHP < 5.6.2 - 'Shellshock' Safe Mode / disable_functions Bypass / Command Injectionphp · Ryan King (Starfall) | webapps | 3 November 2014 | no |
| EDB-35115source ↗ | CUPS Filter - Bash Environment Variable Code Injection (Metasploit)linux · Metasploit | remote | 29 October 2014 | yes |
| EDB-34896source ↗ | Postfix SMTP 4.2.x < 4.2.48 - 'Shellshock' Remote Command Injectionlinux · Phil Blank | remote | 6 October 2014 | yes |
| EDB-34895source ↗ | Bash CGI - 'Shellshock' Remote Command Injection (Metasploit)cgi · Fady Mohammed Osman | webapps | 6 October 2014 | yes |
| EDB-34879source ↗ | OpenVPN 2.2.29 - 'Shellshock' Remote Command Injectionlinux · hobbily plunt | remote | 4 October 2014 | no |
| EDB-34862source ↗ | Pure-FTPd - External Authentication Bash Environment Variable Code Injection (Metasploit)linux · Metasploit | remote | 2 October 2014 | yes |
| EDB-34860source ↗ | GNU bash 4.3.11 - Environment Variable dhclientlinux · @0x00string | remote | 2 October 2014 | no |
| EDB-34839source ↗ | IPFire - CGI Web Interface (Authenticated) Bash Environment Variable Code Injectioncgi · Claudio Viviani | webapps | 1 October 2014 | yes |
| EDB-36933source ↗ | dhclient 4.1 - Bash Environment Variable Command Injection (Shellshock)linux · fdiskyou | remote | 29 September 2014 | yes |
| EDB-34777source ↗ | GNU Bash - Environment Variable Command Injection (Metasploit)cgi · Shaun Colley | remote | 25 September 2014 | yes |
| EDB-34766source ↗ | Bash - 'Shellshock' Environment Variables Command Injectionlinux · Prakhar Prasad & Subho Halder | remote | 25 September 2014 | yes |
| EDB-34765source ↗ | GNU Bash - 'Shellshock' Environment Variable Command Injectionlinux · Stephane Chazelas | remote | 25 September 2014 | yes |
References
- http://advisories.mageia.org/MGASA-2014-0393.htmlThird Party Advisory
- http://archives.neohapsis.com/archives/bugtraq/2014-10/0101.htmlBroken Link
- http://jvn.jp/en/jp/JVN55667175/index.htmlThird Party Advisory
- http://jvndb.jvn.jp/jvndb/JVNDB-2014-000126Third Party Advisory, VDB Entry
- http://lcamtuf.blogspot.com/2014/09/quick-notes-about-bash-bug-its-impact.htmlThird Party Advisory
- http://linux.oracle.com/errata/ELSA-2014-1306.htmlThird Party Advisory
- http://linux.oracle.com/errata/ELSA-2014-3075.htmlThird Party Advisory
- http://linux.oracle.com/errata/ELSA-2014-3077.htmlThird Party Advisory
- http://linux.oracle.com/errata/ELSA-2014-3078.htmlThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00038.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00041.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00042.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00044.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00048.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2014-10/msg00004.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-updates/2014-10/msg00023.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-updates/2014-10/msg00025.htmlMailing List, Third Party Advisory
- http://marc.info/?l=bugtraq&m=141216207813411&w=2Mailing List
- http://marc.info/?l=bugtraq&m=141216668515282&w=2Mailing List
- http://marc.info/?l=bugtraq&m=141235957116749&w=2Mailing List
- http://marc.info/?l=bugtraq&m=141319209015420&w=2Mailing List
- http://marc.info/?l=bugtraq&m=141330425327438&w=2Mailing List
- http://marc.info/?l=bugtraq&m=141330468527613&w=2Mailing List
- http://marc.info/?l=bugtraq&m=141345648114150&w=2Mailing List
- http://marc.info/?l=bugtraq&m=141383026420882&w=2Mailing List
- http://marc.info/?l=bugtraq&m=141383081521087&w=2Mailing List
- http://marc.info/?l=bugtraq&m=141383138121313&w=2Mailing List
- http://marc.info/?l=bugtraq&m=141383196021590&w=2Mailing List
- http://marc.info/?l=bugtraq&m=141383244821813&w=2Mailing List
- http://marc.info/?l=bugtraq&m=141383304022067&w=2Mailing List
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.