
A short and sweet simple exploit script for the CVE-2012-2982 Authenticated RCE vulnerability in the /file/show.cgi/bin endpoint.
A short and sweet simple exploit script for the CVE-2012-2982 Authenticated RCE vulnerability in the /file/show.cgi/bin endpoint.
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.
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.
requests librarypython3 exploit.py
nc -lvnp <your-port>
bash -i reverse shell.| in the injected payload is critical for successful execution.For educational and authorized testing use only. Unauthorized use of this exploit is illegal and unethical. For which i take no responsibility.