CVE-2014-6271
GNU Bourne-Again Shell (Bash) Arbitrary Code Execution Vulnerability
- Published
- Sep 24, 2014
- Updated
- Oct 22, 2025
- Assigning CNA
- debian
- Evidence observed
- Sep 25, 2014
Primary CVSS
nvd · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HHigh · next 30 days
- Percentile
- 100.0%
- Model date
- Nov 7, 2026
EPSS is a statistical estimate, not a certainty or a measure of impact. Combine it with CVSS, KEV status, exposure and your environment.
CISA Known Exploited
This CVE appears in the CISA Known Exploited Vulnerabilities catalog.
Summary
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.
Sources
modules/auxiliary/scanner/http/apache_mod_cgi_bash_env.rb
Metasploit Framework modulesDeclared conditions
- verification: check_declared($.auxiliary_scanner/http/apache_mod_cgi_bash_env.check)
http/cves/2014/CVE-2014-6271.yaml
Nuclei TemplatesDeclared conditions
- network: http($.protocol_keys)
- verification: regex,status($.matchers[*].type)
bash/CVE-2014-6271
Bash Shellshock Remote Command Injection (CVE-2014-6271)
Vulhub vulnerability labsDeclared conditions
- lab image version: vulhub/bash:4.3.0-with-httpd(bash/CVE-2014-6271/docker-compose.yml:services.web.image)
modules/auxiliary/server/dhclient_bash_env.rb
Metasploit Framework modulesDeclared conditions
- verification: check_not_declared($.auxiliary_server/dhclient_bash_env.check)
modules/exploits/linux/http/advantech_switch_bash_env_exec.rb
Metasploit Framework modulesDeclared conditions
- platform: Unix($.exploit_linux/http/advantech_switch_bash_env_exec.platform)
- verification: check_declared($.exploit_linux/http/advantech_switch_bash_env_exec.check)
modules/exploits/linux/http/ipfire_bashbug_exec.rb
Metasploit Framework modulesDeclared conditions
- platform: Linux,Unix($.exploit_linux/http/ipfire_bashbug_exec.platform)
- verification: check_declared($.exploit_linux/http/ipfire_bashbug_exec.check)
modules/exploits/multi/ftp/pureftpd_bash_env_exec.rb
Metasploit Framework modulesDeclared conditions
- platform: Linux($.exploit_multi/ftp/pureftpd_bash_env_exec.platform)
- verification: check_declared($.exploit_multi/ftp/pureftpd_bash_env_exec.check)
modules/exploits/multi/http/apache_mod_cgi_bash_env_exec.rb
Metasploit Framework modulesDeclared conditions
- platform: Linux($.exploit_multi/http/apache_mod_cgi_bash_env_exec.platform)
- verification: check_declared($.exploit_multi/http/apache_mod_cgi_bash_env_exec.check)
modules/exploits/multi/http/cups_bash_env_exec.rb
Metasploit Framework modulesDeclared conditions
- platform: Unix($.exploit_multi/http/cups_bash_env_exec.platform)
- verification: check_declared($.exploit_multi/http/cups_bash_env_exec.check)
modules/exploits/osx/local/vmware_bash_function_root.rb
Metasploit Framework modulesDeclared conditions
- platform: OSX($.exploit_osx/local/vmware_bash_function_root.platform)
- verification: check_declared($.exploit_osx/local/vmware_bash_function_root.check)
CVE-2014-6271
- shellshock_crawlerScanner
Using google to scan sites for "ShellShock" (CVE-2014-6271)
- CVE-2014-6271Exploit
ShellShock interactive-shell exploit
- ShellshockExploit
Shellshock exploit (CVE-2014-6271)
- shellshock-victim-hostResearch
A docker container vulnerable to Shellshock - CVE-2014-6271
- CVE-2014-6271Exploit
Go-based exploit for CVE-2014-6271 (Shellshock) that sends crafted HTTP requests to execute arbitrary commands on vulnerable servers.
- CVE-2014-6271Exploit
Shellshock exploit aka CVE-2014-6271
- CVE-2014-6271Scanner
Checks if a website is vulnerable to the Shellshock (CVE-2014-6271) Bash vulnerability by sending crafted requests and reporting the result.
Shellshock
- cve-2014-6271Research
Docker container providing a vulnerable environment for CVE-2014-6271 (Shellshock) to practice exploitation and vulnerability analysis in a controlled lab setup.
Professional bug bounty report detailing the exploitation of a Blind SSRF vulnerability leading to Shellshock (CVE-2014-6271) remote code execution, confirmed via out-of-band DNS callback.
Docker-based lab environment for exploiting Shellshock (CVE-2014-6271) via CGI scripts, demonstrating remote command injection through crafted HTTP headers.
Curated collection of verified patches for the Shellshock (CVE-2014-6271) bash vulnerability, with upstream, Debian, and custom patches plus SHA256 integrity checks.
- CVE-2014-6271-Shellshock-Research
A complete, modern demonstration lab for CVE-2014-6271 (Shellshock), including architecture, exploitation steps, Burp Suite usage, reverse shells, countermeasures, and full command cheat-sheet.
- pentesting-obiobaResearch
Pentesting caja negra: Shellshock (CVE-2014-6271) + Log4Shell (CVE-2021-44228). Escalada a root. Informe ejecutivo y técnico
[CVE-2014-6271] Apache Shellshock Remote Command Injection tool for quick reverse shell and file browsing
- shellshock-cgiExploit
A python script to enumerate CGI scripts vulnerable to CVE-2014-6271 on one specific server
- shocknawwScanner
Simple script to check for CVE-2014-6271
- shellshock-shellExploit
A simple python shell-like exploit for the Shellschok CVE-2014-6271 bug.
Vulnerability as a service: showcasing CVS-2014-6271, a.k.a. Shellshock
- Nessus_CVE-2014-6271_checkDetection
Quick and dirty nessus .audit file to check is bash is vulnerable to CVE-2014-6271
- CVE-2014-6271Exploit
Python exploit for CVE-2014-6271 (Shellshock) that injects malicious HTTP headers into CGI scripts to execute arbitrary commands via Bash environment variable injection.
CVE-2014-6271 Exploit | by infrar3d
Debian Lenny Bash packages with cve-2014-6271 patches (i386 and amd64)
- CVE-2014-6271Exploit
Exploitation of "Shellshock" Vulnerability. Remote code execution in Apache with mod_cgi
- -CVE-2014-6271Research
Educational repository detailing the Shellshock (CVE-2014-6271) vulnerability, including technical analysis, attack vectors, proof-of-concept exploitation, and mitigation steps for Bash environment variable injection.
- Shellshock_vuln_ExploitExploit
Python exploit for CVE-2014-6271 (Shellshock) targeting vulnerable CGI scripts with reverse shell handler, supporting HTTP/HTTPS, custom paths, and proxy.
- CVE-2014-6271Patch
Shell script to detect and automatically patch the Bash Shellshock vulnerability (CVE-2014-6271) on macOS systems.
This Repo is PoC environment of CVE-2014-6271(https://nvd.nist.gov/vuln/detail/cve-2014-6271).
- CVE-2014-6271Scanner
Shellshock Vulnerability Scanner
- CVE-2014-6271Exploit
Python exploit for CVE-2014-6271 (ShellShock) enabling remote code execution via crafted environment variables in GNU Bash, targeting web servers and SSH.
- bash-apocalypseExploit
Recreating Shellshock (CVE-2014-6271) - the bash vulnerability that endangered millions of servers. Automated exploitation toolkit + Burp Suite methodology + Docker lab. Built for security research & education. Offensive security portfolio project.
Collection of Proof of Concepts and Potential Targets for #ShellShocker
- CVE-2014-6271-IPFireExploit
Python-based remote code execution exploit for CVE-2014-6271 (ShellShock) targeting IPFire <=2.15. Automated exploitation with configurable switches for ethical penetration testing.
- exploit-CVE-2014-6271Exploit
Shellshock exploit + vulnerable environment
- ShellShock-CGI-ScanScanner
A script, in C, to check if CGI scripts are vulnerable to CVE-2014-6271 (The Bash Bug).
- ShellShock-CGI-ScanScanner
A script, in C, to check if CGI scripts are vulnerable to CVE-2014-6271 (The Bash Bug)
Projet de présentation d'une CVE (ShellShock) avec pdf, démonstration technique et reproductible
- RainstormExploit
CVE-2014-6271 RCE tool
Educational lab demonstrating Shellshock (CVE-2014-6271) exploitation using Metasploit against Metasploitable 2, including scanning, exploitation, reverse shell, and mitigation strategies.
- CVE-2014-6271_TestScanner
Python-based scanner to detect CVE-2014-6271 (Shellshock) vulnerability in CGI-enabled servers, using Google search to discover potential targets.
- BadBashExploit
CVE-2014-6271 (ShellShock) RCE PoC tool
- exploit-CVE-2014-6271Exploit
Shellshock (CVE-2014-6271) exploit script for remote command execution against vulnerable CGI endpoints via HTTP headers.
- CVE-2019-14287-CVE-2014-6271Exploit
Exploit code for CVE-2019-14287 and CVE-2014-6271, targeting sudo privilege escalation and Shellshock vulnerabilities.
- CVE-2014-6271Scanner
Ansible playbook to test remote servers for CVE-2014-6271 (Shellshock) bash vulnerability, enabling automated scanning and verification across multiple hosts.
- exploitsExploit
Miscellaneous exploit code
- CVE-2014-6271-SHELLSHOCKExploit
Automation script to exploit the Shellshock vulnerability.
- CVE-2014-6271Exploit
Shellshock POC | CVE-2014-6271 | cgi-bin reverse shell
- CVE-2014-6271Exploit
Shellshock exploitation script that is able to upload and RCE using any vector due to its versatility.
- CVE-2014-6271Exploit
Python exploit for CVE-2014-6271 (Shellshock) that targets a vulnerable CGI endpoint via HTTP and executes arbitrary system commands.
- XSHOCKExploit
XSHOCK Shellshock Exploit
- CGIShellExploit
shellshock CVE-2014-6271 CGI Exploit, Use like Openssh via CGI
Researched and executed real-world CVE exploits in a controlled sandbox: CVE-2000-0168 DoS on Windows 95, ARP Spoofing with NTLMv2 credential interception on Windows XP, and Shellshock RCE via Burp Suite. All activities performed legally for educational purposes.
- shellshocker-pythonScanner
This is a Python Application that helps you detect if your machine that run bash is vulnerable by CVE-2014-6271
- Shellshock-CVE-2014-6271Exploit
Exploit for CVE-2014-6271 (Shellshock) targeting Bash environment variable injection to achieve remote code execution on vulnerable systems.
Written fro CVE-2014-6271
- CVE-2014-6271Exploit
Exploit for CVE-2014-6271 (Shellshock) targeting vulnerable Bash environments, enabling remote code execution via crafted HTTP requests.
- CVE-2014-6271Exploit
Exploit for CVE-2014-6271 (Shellshock) enabling remote code execution via crafted HTTP headers against vulnerable Bash versions.
- cgi-bin-shellshockExploit
[Python/Shell] - Tested in HackTheBox - Shocker (Easy) CVE-2014-6271
Hands-on lab demonstrating the Shellshock (CVE-2014-6271) Bash vulnerability with privilege escalation via environment variable injection, based on the pwnable.kr challenge.
- CVE-2014-6271Exploit
Python-based exploit for CVE-2014-6271 (Shellshock) targeting vulnerable CGI environments to achieve remote code execution.
CS4238 Computer Security Practices
This contains the Dockerfile for building and reproduing shellshock
Docker-based lab to exploit Shellshock (CVE-2014-6271) via a vulnerable CGI endpoint, demonstrating remote command execution in a containerized environment.
This is an individual assignment for secure network programming
- CVE-2014-6271Exploit
This is my implementation of shellshock exploit
- RISPoC
CVE-2014-6271 Remote Interactive Shell - PoC Exploit
- cve-2014-6271Exploit
Exploit code for CVE-2014-6271 (Shellshock) targeting vulnerable Bash environments.
- Shell-ShockExploit
*CVE-2014-6271* Unix Arbitrary Code Execution Exploit commonly know as Shell Shock. Examples, Docs, Incident Response and Vulnerability/Risk Assessment, and Additional Resources may be dumped here. Enjoy :) --- somhmxxghoul ---
- shellshockExploit
scripts associate with bourne shell EVN function parsing vulnerability CVE-2014-6271
- shellshock-pocExploit
Prueba de concepto para abusar de la vulnerabilidad Shellshock (CVE-2014-6271).
- ShockZaum-CVE-2014-6271Exploit
Shellshock vulnerability attacker
- CVE-2014-6271Scanner
scaner for cve-2014-6271
cve-2014-6271
Stephane Chazelas · linux · Sep 25, 2014
Prakhar Prasad & Subho Halder · linux · Sep 25, 2014
Shaun Colley · cgi · Sep 25, 2014
Claudio Viviani · cgi · Oct 1, 2014
@0x00string · linux · Oct 2, 2014
Metasploit · linux · Oct 2, 2014
hobbily plunt · linux · Oct 4, 2014
Fady Mohammed Osman · cgi · Oct 6, 2014
Phil Blank · linux · Oct 6, 2014
Federico Galatolo · linux · Oct 6, 2014
Metasploit · linux · Oct 29, 2014
Ryan King (Starfall) · php · Nov 3, 2014
Patrick Pellegrino · hardware · Mar 26, 2015
- QNAP - Web Server Remote Code Execution via Bash Environment Variable Code Injection (Metasploit)Exploit
Patrick Pellegrino · hardware · Mar 26, 2015
Roberto Suggi Liverani · multiple · Apr 2, 2015
Bernhard Mueller · multiple · Aug 18, 2015
Metasploit · cgi · Dec 2, 2015
Metasploit · cgi · Jun 10, 2016
Hacker Fantastic · hardware · Oct 21, 2016
Hacker Fantastic · linux · Dec 18, 2016
Metasploit · linux · Oct 2, 2017
Responsible use
Use vulnerability information only on systems you own or are authorized to test. Kitploit links to public research metadata and does not store exploit code or malicious payloads.