Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2012-2982 PoC — Webmin ‘file/show.cgi’任意命令执行漏洞

Source
Associated Vulnerability
Title:Webmin ‘file/show.cgi’任意命令执行漏洞 (CVE-2012-2982)
Description:Webmin是澳大利亚软件开发者Jamie Cameron和Webmin社区共同开发的一套基于Web的用于类Unix操作系统中的系统管理工具。 Webmin 1.590版本和较早版本中的file/show.cgi中存在漏洞。远程认证用户可利用该漏洞通过路径名中的无效字符如‘|’(竖线)字符,执行任意命令。
Description
A Python replicated exploit for Webmin 1.580 /file/show.cgi Remote Code Execution
Readme
# CVE-2012-2982

> John Hammond | September 4th, 2021

------------------------


Checking `searchsploit` for Webmin 1.580 I only saw a Metasploit module for
the `/file/show.cgi` Remote Code Execution attack on that legacy Webmin version.

This code is an attempt to recreate that in Python without using Metasploit.



# Files

* `CVE-2021-2982.py` - this offers a one-shot capability to run a single command
File Snapshot

[4.0K] /data/pocs/c9b2a0a37663b9a919383922bede0aa763a908ce ├── [3.8K] CVE-2012-2982.py └── [ 409] README.md 0 directories, 2 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.