CVE-2014-6278 in gnu bash
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
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 commands 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, CVE-2014-7169, and CVE-2014-6277.
Affected software: gnu bash
Scores
- CVSS: 8.8 (high)
- EPSS: 99.74% chance of exploitation in the next 30 days
- CISA KEV: Known exploited, listed 2025-10-02
- Published: 2014-09-30
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Update GNU Bash to a release with all Shellshock fixes
Patch or upgrade. Bash before the September-October 2014 updates runs code placed after a function definition in an environment variable, which CGI scripts fill from HTTP headers. The vendor bash updates fix CVE-2014-6271 and the follow-up parser bugs.
Applies to: GNU Bash through 4.3 patch 25 (and the incomplete fixes up to patch 27), on servers that run CGI scripts, DHCP clients or other services that pass outside data in environment variables
- Check the version: bash --version, and test with the vendor's published check for CVE-2014-6271.
- Install the bash update of your distribution (apt-get install --only-upgrade bash, or yum update bash).
- Update embedded devices and appliances that use bash for CGI through their vendor firmware.
- Remove or disable CGI scripts that are not needed (mod_cgi, /cgi-bin).
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.