目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1000

100.0%

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

来源
关联漏洞
标题:Webmin ‘file/show.cgi’任意命令执行漏洞 (CVE-2012-2982)
Description:Webmin是澳大利亚软件开发者Jamie Cameron和Webmin社区共同开发的一套基于Web的用于类Unix操作系统中的系统管理工具。 Webmin 1.590版本和较早版本中的file/show.cgi中存在漏洞。远程认证用户可利用该漏洞通过路径名中的无效字符如‘|’(竖线)字符,执行任意命令。
Description
Python exploit for CVE-2012-2982
介绍
# CVE-2012-2982
This python script is written for vulnerability in Webmin 1.580, CVE-2012-2982. The vulnerability exists in the /file/show.cgi component and allows an authenticated user, with access to the File Manager Module, to execute arbitrary commands with root privileges.

## Installation
Tested python version: Python 3.8.5

Required pip package: secrets

`git clone https://github.com/OstojaOfficial/CVE-2012-2982.git`

`pip3 install -r requirements.txt`

## Usage
To run the exploit use the command bellow:

`python3 exploit.py <IP> <Username> <Password> <LHOST> <LPORT>`
文件快照

[4.0K] /data/pocs/2ea64c1b8a40a54de51d70ea6c27505ca960d790 ├── [1.6K] exploit.py ├── [ 582] README.md └── [ 14] requirements.txt 0 directories, 3 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮件到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对 POC 代码进行快照,为了长期维护,请考虑为本地 POC 付费/捐赠,感谢您的支持。