Patchfirst
CVE-2014-6277 Public exploit EPSS 64.3%

GNU Bash through 4.3 bash43-026 does not properly parse function definitions in the values of environment variables…

Summary

GNU Bash through 4.3 bash43-026 does not properly parse function definitions in environment variable values, allowing remote attackers to execute arbitrary code or cause a denial of service via a crafted environment. This affects systems where environment setting occurs across a privilege boundary from Bash execution, such as OpenSSH sshd with ForceCommand, Apache HTTP Server mod_cgi and mod_cgid, and scripts run by DHCP clients.

Official description · CVE.org

GNU Bash through 4.3 bash43-026 does not properly parse function definitions in the values of environment variables, which allows remote attackers to execute arbitrary code or cause a denial of service (uninitialized memory access, and untrusted-pointer read and write operations) 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 and CVE-2014-7169.

Breakdown
64.4 / 100
Exploited
Yes, in VulnCheck KEV
Reports
1
Tactics
0/15

First seen exploited 3 years after disclosure. Public exploit code (Exploit-DB) appeared 2 days after disclosure.

  1. Disclosedday 0
  2. Public exploit codeExploit-DB+2 days
  3. First seen exploitedVulnCheck KEV evidence+3 yrs

See the family tree

A fix was bypassed or incomplete 3 times over 6 days.

Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. CVE-2014-6271GNU Bourne-Again Shell (Bash) Arbitrary Code Execution24 Sep 2014KEV
  2. incomplete fixHigh

    Why these are linked:

    • Stated in the CVE textNOTE: 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.
    • Stated in the CVE textNOTE: this vulnerability exists because of an incomplete fix for CVE-2014-6271.
    • Similar weakness in the same product (machine-matched)same product + CWE + description similarity
    CVE-2014-7169GNU Bourne-Again Shell (Bash) Arbitrary Code Execution25 Sep 2014KEV
  3. incomplete fixHigh

    Why these are linked:

    • Stated in the CVE textNOTE: this vulnerability exists because of an incomplete fix for CVE-2014-6271 and CVE-2014-7169.
    This CVECVE-2014-6277GNU Bash through 4.3 bash43-026 does not properly parse function…27 Sep 2014
  4. incomplete fixHigh

    Why these are linked:

    • Stated in the CVE textNOTE: this vulnerability exists because of an incomplete fix for CVE-2014-6271, CVE-2014-7169, and CVE-2014-6277.
    CVE-2014-6278GNU Bash OS Command Injection30 Sep 2014KEV

techniques

No techniques linked

No high- or medium-confidence techniques. The 2 available links are lower confidence and listed below.

Lower-confidence links (2)

These come from early or generic mappings, text matching, or contradict this CVE’s details (for example a public-facing technique on a bug that needs a user to open a file). Shown for completeness.

  • Unix ShellT1059.004 CTID attack_to_cve Phase 1 "Uncategorized" mapping (not staged by impact)
  • Exploit Public-Facing ApplicationT1190 CTID attack_to_cve Phase 1 "Uncategorized" mapping (not staged by impact)

What security researchers reported

Named in 1 threat report
1 reportboozallen.com

Reports are matched by finding the exact id CVE-2014-6277 in their text; nobody has reviewed the match. One passage is shown per report, at most 320 characters, linked to the original.

Also mentioned in 1 community threat pulse (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

109 links, grouped by NVD tag

x_refsource_CONFIRM 38

www-01.ibm.com/support/docview.wss?uid=ssg1S1004897www-01.ibm.com/support/docview.wss?uid=swg21685749supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk102673&src=securityAlertslinux.oracle.com/errata/ELSA-2014-3093www-01.ibm.com/support/docview.wss?uid=swg21686479www-01.ibm.com/support/docview.wss?uid=swg21685541oracle.com/technetwork/topics/security/bashcve-2014-7169-2317675.htmlkc.mcafee.com/corporate/index?page=content&id=SB10085
Show 30 moreShow fewerwww-947.ibm.com/support/entry/portal/docdisplay?lndocid=MIGR-5096315support.f5.com/kb/en-us/solutions/public/15000/600/sol15629.htmlwww-01.ibm.com/support/docview.wss?uid=swg21685604www-01.ibm.com/support/docview.wss?uid=swg21686445www-01.ibm.com/support/docview.wss?uid=swg21686131kb.juniper.net/InfoCenter/index?page=content&id=JSA10648www-01.ibm.com/support/docview.wss?uid=ssg1S1004898www-01.ibm.com/support/docview.wss?uid=swg21685914support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c04497075support.apple.com/HT205267suse.com/support/shellshock/support.apple.com/HT204244support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c04518183www-01.ibm.com/support/docview.wss?uid=isg3T1021272linux.oracle.com/errata/ELSA-2014-3094vmware.com/security/advisories/VMSA-2014-0010.htmlnovell.com/support/kb/doc.php?id=7015721www-01.ibm.com/support/docview.wss?uid=swg21687079www-01.ibm.com/support/docview.wss?uid=swg21686246www-01.ibm.com/support/docview.wss?uid=ssg1S1004915qnap.com/i/en/support/con_show.php?cid=61www-01.ibm.com/support/docview.wss?uid=isg3T1021279support.citrix.com/article/CTX200223www-01.ibm.com/support/docview.wss?uid=isg3T1021361support.citrix.com/article/CTX200217www-01.ibm.com/support/docview.wss?uid=swg21686494support.novell.com/security/cve/CVE-2014-6277.htmlkb.bluecoat.com/index?page=content&id=SA82www-01.ibm.com/support/docview.wss?uid=swg21685733www-01.ibm.com/support/docview.wss?uid=ssg1S1004879
↑ ↓ chooseEnter openEsc close