Paper/Archive/CVE-2014-6271

CVE-2014-6271

GNU Bourne-Again Shell (Bash) — GNU Bourne-Again Shell (Bash) Arbitrary Code Execution Vulnerability

Description · from the CVE record

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

ProductAffectedFixed inSource
n/an/a–CNA

Scores by source

CISA ADP9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: active · Automatable: yes · Technical impact: total

References

exploitexploit-db.com/exploits/37816refpacketstormsecurity.com/files/128517/VMware-Security-Advisory-2014-0010.htmladvisorylists.opensuse.org/opensuse-security-announce/2014-09/msg00034.htmlrefwww-01.ibm.com/support/docview.wss?uid=ssg1S1004897refwww-01.ibm.com/support/docview.wss?uid=swg21685749advisorymarc.info/?l=bugtraq&m=141577137423233&w=2advisorymarc.info/?l=bugtraq&m=142719845423222&w=2exploitexploit-db.com/exploits/39918advisorymarc.info/?l=bugtraq&m=141216668515282&w=2advisoryrhn.redhat.com/errata/RHSA-2014-1295.htmladvisorylists.opensuse.org/opensuse-security-announce/2014-09/msg00037.htmlrefsecurityblog.redhat.com/2014/09/24/bash-specially-crafted-environment-variables-code-injection-attackrefsupportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk102673&src=securityAlertsadvisorymarc.info/?l=bugtraq&m=141383138121313&w=2advisorymarc.info/?l=bugtraq&m=142721162228379&w=2refsecurityfocus.com/archive/1/533593/100/0/threadedadvisorymarc.info/?l=bugtraq&m=142358026505815&w=2refwww-01.ibm.com/support/docview.wss?uid=swg21686084refwww-01.ibm.com/support/docview.wss?uid=swg21686479writeupsecunia.com/advisories/61188refwebsense.com/support/article/kbarticle/Vulnerabilities-resolved-in-TRITON-APX-Version-8-0writeupjvn.jp/en/jp/JVN55667175/index.htmlwriteupsecunia.com/advisories/61676exploitexploit-db.com/exploits/40619advisorylists.opensuse.org/opensuse-security-announce/2014-09/msg00044.htmlwriteupsecunia.com/advisories/60433exploitexploit-db.com/exploits/38849advisorymarc.info/?l=bugtraq&m=141383026420882&w=2advisorymarc.info/?l=bugtraq&m=141585637922673&w=2refkb.juniper.net/InfoCenter/index?page=content&id=JSA10673advisorylists.opensuse.org/opensuse-security-announce/2014-09/msg00049.htmladvisorymarc.info/?l=bugtraq&m=141576728022234&w=2refwww-01.ibm.com/support/docview.wss?uid=swg21685541writeupsecunia.com/advisories/61715reforacle.com/technetwork/topics/security/bashcve-2014-7169-2317675.htmlwriteupsecunia.com/advisories/61816advisorylists.opensuse.org/opensuse-updates/2014-10/msg00025.htmlwriteupsecunia.com/advisories/61442advisorymarc.info/?l=bugtraq&m=142358078406056&w=2advisorymarc.info/?l=bugtraq&m=142805027510172&w=2writeupsecunia.com/advisories/61283advisorymarc.info/?l=bugtraq&m=142113462216480&w=2advisoryubuntu.com/usn/USN-2362-1refkc.mcafee.com/corporate/index?page=content&id=SB10085advisorylists.opensuse.org/opensuse-updates/2014-10/msg00023.htmlwriteupsecunia.com/advisories/61654writeupsecunia.com/advisories/61542refnovell.com/support/kb/doc.php?id=7015701refwww-947.ibm.com/support/entry/portal/docdisplay?lndocid=MIGR-5096315writeupsecunia.com/advisories/62312writeupsecunia.com/advisories/59272advisorymarc.info/?l=bugtraq&m=141319209015420&w=2refsupport.f5.com/kb/en-us/solutions/public/15000/600/sol15629.htmladvisorymarc.info/?l=bugtraq&m=141879528318582&w=2refwww-01.ibm.com/support/docview.wss?uid=swg21685604advisorymarc.info/?l=bugtraq&m=142118135300698&w=2writeupsecunia.com/advisories/61703refsupport.apple.com/kb/HT6495writeupkb.cert.org/vuls/id/252743writeupsecunia.com/advisories/61065advisorylists.opensuse.org/opensuse-security-announce/2014-09/msg00029.htmladvisorymarc.info/?l=bugtraq&m=141383196021590&w=2advisorymarc.info/?l=bugtraq&m=141383081521087&w=2refwww-01.ibm.com/support/docview.wss?uid=swg21686445refwww-01.ibm.com/support/docview.wss?uid=swg21686131refsecurityfocus.com/bid/70103writeupjvndb.jvn.jp/jvndb/JVNDB-2014-000126writeupus-cert.gov/ncas/alerts/TA14-268Aadvisorylists.opensuse.org/opensuse-security-announce/2014-09/msg00028.htmlwriteupsecunia.com/advisories/61641refkb.juniper.net/InfoCenter/index?page=content&id=JSA10648refaccess.redhat.com/node/1200223refpacketstormsecurity.com/files/137376/IPFire-Bash-Environment-Variable-Injection-Shellshock.htmladvisorylists.opensuse.org/opensuse-security-announce/2014-10/msg00004.htmlrefwww-01.ibm.com/support/docview.wss?uid=ssg1S1004898advisoryarchives.neohapsis.com/archives/bugtraq/2014-10/0101.htmlrefwww-01.ibm.com/support/docview.wss?uid=swg21685914refseclists.org/fulldisclosure/2014/Oct/0advisorymandriva.com/security/advisories?name=MDVSA-2015:164advisoryrhn.redhat.com/errata/RHSA-2014-1293.htmlrefsupport.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c04497075advisorylists.opensuse.org/opensuse-security-announce/2014-09/msg00040.htmlwriteupsecunia.com/advisories/60325refhelp.ecostruxureit.com/display/public/UADCO8x/StruxureWare+Data+Center+Operation+Software+Vulnerability+Fixeswriteupsecunia.com/advisories/60024refpacketstormsecurity.com/files/128567/CA-Technologies-GNU-Bash-Shellshock.htmlexploitexploit-db.com/exploits/34879refaccess.redhat.com/articles/1200223writeupsecunia.com/advisories/62343writeupsecunia.com/advisories/61565refsuse.com/support/shellshockadvisorymarc.info/?l=bugtraq&m=141450491804793&w=2writeupsecunia.com/advisories/61313writeupsecunia.com/advisories/61873writeupsecunia.com/advisories/61485writeupsecunia.com/advisories/60947refsupport.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c04518183refsupport.apple.com/kb/HT6535advisorymarc.info/?l=bugtraq&m=141577297623641&w=2advisorymarc.info/?l=bugtraq&m=142546741516006&w=2refwww-01.ibm.com/support/docview.wss?uid=isg3T1021272advisorymarc.info/?l=bugtraq&m=141383244821813&w=2writeupsecunia.com/advisories/61312writeupsecunia.com/advisories/60193refvmware.com/security/advisories/VMSA-2014-0010.htmlreflinux.oracle.com/errata/ELSA-2014-1294.htmlwriteupsecunia.com/advisories/60063refpacketstormsecurity.com/files/128573/Apache-mod_cgi-Remote-Command-Execution.htmlwriteupsecunia.com/advisories/60034advisorymarc.info/?l=bugtraq&m=141330425327438&w=2reflcamtuf.blogspot.com/2014/09/quick-notes-about-bash-bug-its-impact.htmlwriteupsecunia.com/advisories/59907writeupsecunia.com/advisories/58200advisorymarc.info/?l=bugtraq&m=141577241923505&w=2writeupsecunia.com/advisories/61643refnovell.com/support/kb/doc.php?id=7015721refwww-01.ibm.com/support/docview.wss?uid=swg21687079writeupsecunia.com/advisories/61503refwww-01.ibm.com/support/docview.wss?uid=swg21686246advisoryrhn.redhat.com/errata/RHSA-2014-1354.htmlexploitexploit-db.com/exploits/40938advisorymarc.info/?l=bugtraq&m=141216207813411&w=2refsupport.novell.com/security/cve/CVE-2014-6271.htmlrefwww-01.ibm.com/support/docview.wss?uid=ssg1S1004915writeupsecunia.com/advisories/61547advisorymarc.info/?l=bugtraq&m=141383465822787&w=2refqnap.com/i/en/support/con_show.php?cid=61advisorymarc.info/?l=bugtraq&m=141694386919794&w=2writeupsecunia.com/advisories/61552writeupsecunia.com/advisories/61780refwww-01.ibm.com/support/docview.wss?uid=isg3T1021279refsupport.citrix.com/article/CTX200223advisorydebian.org/security/2014/dsa-3032refwww-01.ibm.com/support/docview.wss?uid=swg21686447writeupsecunia.com/advisories/62228advisorymarc.info/?l=bugtraq&m=141330468527613&w=2writeupsecunia.com/advisories/61855advisorymarc.info/?l=bugtraq&m=141235957116749&w=2writeupsecunia.com/advisories/60044writeupsecunia.com/advisories/61291advisoryrhn.redhat.com/errata/RHSA-2014-1294.htmladvisorymarc.info/?l=bugtraq&m=141345648114150&w=2writeupsecunia.com/advisories/59737writeupsecunia.com/advisories/61287advisorymarc.info/?l=bugtraq&m=141383353622268&w=2refbugzilla.redhat.com/show_bug.cgi?id=1141597writeupsecunia.com/advisories/61711refwww-01.ibm.com/support/docview.wss?uid=isg3T1021361advisorymarc.info/?l=bugtraq&m=141383304022067&w=2refadvisories.mageia.org/MGASA-2014-0388.htmlwriteupsecunia.com/advisories/61128refsupport.citrix.com/article/CTX200217writeupsecunia.com/advisories/61471writeupsecunia.com/advisories/60055advisorytools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20140926-bashwriteupsecunia.com/advisories/61550writeupsecunia.com/advisories/61633reflinux.oracle.com/errata/ELSA-2014-1293.htmlrefwww-01.ibm.com/support/docview.wss?uid=swg21686494refkb.bluecoat.com/index?page=content&id=SA82writeupsecunia.com/advisories/61328refwww-01.ibm.com/support/docview.wss?uid=swg21685733exploitexploit-db.com/exploits/42938writeupsecunia.com/advisories/61129writeupsecunia.com/advisories/61700writeupsecunia.com/advisories/61603writeupsecunia.com/advisories/61857refwww-01.ibm.com/support/docview.wss?uid=ssg1S1004879refpacketstormsecurity.com/files/161107/SonicWall-SSL-VPN-Shellshock-Remote-Code-Execution.htmlrefarista.com/en/support/advisories-notices/security-advisories/1008-security-advisory-0006refcisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2014-6271kevcisa.gov/known-exploited-vulnerabilities-catalog