Actively exploited · Published Sep 24, 2014 · Assigned by debian
CVE-2014-6271
Critical 9.8 Exploited
In plain English
A critical-severity OS command injection in Bourne-Again Shell (Bash) from GNU. Attackers are actively exploiting it in the wild (listed by CISA on January 28, 2022). The chance it is exploited in the next 30 days is estimated at 100.0% (higher than 99.9% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
CISA guidance
Apply updates per vendor instructions.
Federal agencies must remediate by Jul 28, 2022.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | bash | 4.3-9.1 | DEBIAN-CVE-2014-6271 |
| Debian:13 | bash | 4.3-9.1 | DEBIAN-CVE-2014-6271 |
| Debian:14 | bash | 4.3-9.1 | DEBIAN-CVE-2014-6271 |
Affected products (as reported)
Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- 37816 exploit, x_refsource_EXPLOIT-DB
- http://packetstormsecurity.com/files/128517/VMware-Security-Advisory-2014-0010.html x_refsource_MISC
- SUSE-SU-2014:1223 vendor-advisory, x_refsource_SUSE
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004897 x_refsource_CONFIRM
- http://www-01.ibm.com/support/docview.wss?uid=swg21685749 x_refsource_CONFIRM
- HPSBMU03165 vendor-advisory, x_refsource_HP
- SSRT101816 vendor-advisory, x_refsource_HP
- 39918 exploit, x_refsource_EXPLOIT-DB
- HPSBHF03119 vendor-advisory, x_refsource_HP
- RHSA-2014:1295 vendor-advisory, x_refsource_REDHAT
- openSUSE-SU-2014:1226 vendor-advisory, x_refsource_SUSE
- https://securityblog.redhat.com/2014/09/24/bash-specially-crafted-environment-variables-code-injection-attack/ x_refsource_CONFIRM
- https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk102673&src=securityAlerts x_refsource_CONFIRM
- HPSBST03131 vendor-advisory, x_refsource_HP
- SSRT101819 vendor-advisory, x_refsource_HP
- 20141001 NEW VMSA-2014-0010 - VMware product updates address critical Bash security vulnerabilities mailing-list, x_refsource_BUGTRAQ
- HPSBMU03245 vendor-advisory, x_refsource_HP
- http://www-01.ibm.com/support/docview.wss?uid=swg21686084 x_refsource_CONFIRM
- http://www-01.ibm.com/support/docview.wss?uid=swg21686479 x_refsource_CONFIRM
- 61188 third-party-advisory, x_refsource_SECUNIA
- http://www.websense.com/support/article/kbarticle/Vulnerabilities-resolved-in-TRITON-APX-Version-8-0 x_refsource_CONFIRM
- JVN#55667175 third-party-advisory, x_refsource_JVN
- 61676 third-party-advisory, x_refsource_SECUNIA
- 40619 exploit, x_refsource_EXPLOIT-DB
- openSUSE-SU-2014:1254 vendor-advisory, x_refsource_SUSE
- 60433 third-party-advisory, x_refsource_SECUNIA
- 38849 exploit, x_refsource_EXPLOIT-DB
- HPSBMU03143 vendor-advisory, x_refsource_HP
- HPSBMU03182 vendor-advisory, x_refsource_HP
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10673 x_refsource_CONFIRM
- SUSE-SU-2014:1260 vendor-advisory, x_refsource_SUSE
- HPSBST03155 vendor-advisory, x_refsource_HP
- http://www-01.ibm.com/support/docview.wss?uid=swg21685541 x_refsource_CONFIRM
- 61715 third-party-advisory, x_refsource_SECUNIA
- http://www.oracle.com/technetwork/topics/security/bashcve-2014-7169-2317675.html x_refsource_CONFIRM
- 61816 third-party-advisory, x_refsource_SECUNIA
- openSUSE-SU-2014:1310 vendor-advisory, x_refsource_SUSE
- 61442 third-party-advisory, x_refsource_SECUNIA
- HPSBMU03246 vendor-advisory, x_refsource_HP
- HPSBST03195 vendor-advisory, x_refsource_HP