CVE-2014-6278
HIGH KEVGNU Bash through 4.3 bash43-026 - Remote Code Execution via Environment Variable Function Parsing
Title source: llmExploitation Summary
CVE-2014-6278 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added October 2, 2025.
EIP tracks 10 public exploits from researchers including Federico Galatolo, lastc0de, thatchriseckert, including a Metasploit module auxiliary/scanner/http/apache_mod_cgi_bash_env.
AI-analyzed exploit summary This exploit leverages the Shellshock vulnerability (CVE-2014-6278) in Apache mod_cgi to execute arbitrary commands via maliciously crafted HTTP headers. It supports both reverse and bind shell payloads for remote code execution.
Description
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.
Exploits (10)
This exploit leverages the Shellshock vulnerability (CVE-2014-6278) in Apache mod_cgi to execute arbitrary commands via maliciously crafted HTTP headers. It supports both reverse and bind shell payloads for remote code execution.
This exploit leverages the ShellShock vulnerability (CVE-2014-6278) in Sun Secure Global Desktop and Oracle Global Desktop by injecting a malicious HTTP User-Agent header to execute arbitrary commands on the target system. The PoC demonstrates command injection via a crafted curl request to the vulnerable CGI script.
This exploit leverages the Shellshock vulnerability (CVE-2014-6278) in Cisco UCS Manager 2.1(1b) to execute arbitrary commands via a maliciously crafted User-Agent header, resulting in a reverse shell. It first checks for vulnerability by fetching /etc/passwd before attempting to spawn the shell.
This repository provides a detailed technical walkthrough of exploiting CVE-2014-6278 (Shellshock), including vulnerability verification, payload generation, and privilege escalation techniques. It includes practical examples of using curl to trigger the vulnerability and Python to upgrade shells.
This repository contains the RouterSploit framework, an exploitation toolkit for embedded devices, including modules for exploits, credential testing, scanners, and payloads. It is designed to test and exploit vulnerabilities in routers and other embedded systems.
This exploit leverages the Shellshock vulnerability (CVE-2014-6278) in Bash by crafting malicious DHCP packets with a payload in the URL option (114) to trigger remote code execution. It listens for DHCP DISCOVER broadcasts, extracts client details, and responds with malicious OFFER and ACK packets containing a reverse shell payload.
This exploit leverages the ShellShock vulnerability (CVE-2014-6278) by injecting malicious environment variables via DHCP responses. It crafts DHCP Offer/ACK packets with a payload in the 'dump_path' option, which is processed by the vulnerable Bash shell when the victim's dhclient executes the environment variable.
This Metasploit module exploits CVE-2014-6271 (Shellshock) by injecting malicious environment variables into CGI scripts via HTTP headers, allowing remote command execution. It includes checks for both CVE-2014-6271 and CVE-2014-6278.
This Metasploit module exploits the Shellshock vulnerability (CVE-2014-6271 and CVE-2014-6278) in Bash by injecting malicious environment variables via HTTP headers to achieve remote code execution on vulnerable Apache mod_cgi configurations.
This Metasploit module exploits the Shellshock vulnerability (CVE-2014-6271) in CUPS by injecting malicious environment variables through PRINTER_INFO and PRINTER_LOCATION. It leverages Bash's flawed environment variable handling to achieve remote code execution.
References (111)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H