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-2012-2982-Exploit-Script — A short and sweet simple exploit script for the CVE-2012-2982 Authenticated RCE vulnerability in the /file/show.cgi/bin endpoint. | Kitploit
Tools/GitHubGitHub/sincidk/cve-2012-2982-exploit-script
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubsincidk/cve-2012-2982-exploit-script

CVE-2012-2982-Exploit-Script

A short and sweet simple exploit script for the CVE-2012-2982 Authenticated RCE vulnerability in the /file/show.cgi/bin endpoint.

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
11 year agoNot yet reviewed

CVE-2012-2982-Exploit-Script

A short and sweet simple exploit script for the CVE-2012-2982 Authenticated RCE vulnerability in the /file/show.cgi/bin endpoint.

Webmin RCE Exploit — CVE-2012-2982

This repository contains a Python proof-of-concept exploit for Webmin <= 1.580, targeting a known remote code execution vulnerability via the /file/show.cgi/bin/ endpoint.


📌 Description

The exploit abuses unauthenticated shell command injection through crafted URLs, leveraging the session_login.cgi and file/show.cgi/bin/ endpoints. If login credentials are valid and the target is vulnerable, an injected reverse shell payload is executed.


⚙️ Requirements

  • Python 3.x
  • requests library
  • Netcat (for reverse shell listener)

🚀 Usage

Run the exploit:

root@kitploit:~
python3 exploit.py

Start a listener BEFORE running exploit:

root@kitploit:~
nc -lvnp <your-port>

🧠 Notes

  • Payload defaults to a bash -i reverse shell.
  • A trailing | in the injected payload is critical for successful execution.
  • Tested against Webmin 1.580. Will likely work on versions previous.

🔒 Disclaimer

For educational and authorized testing use only. Unauthorized use of this exploit is illegal and unethical. For which i take no responsibility.

Download Tool