支持本站 — 捐款将帮助我们持续运营

目标:1000 元,已筹:752

75.2%

POC详情: b0d4691d1f8d163170d0f1425453dbc311c7d53d

来源
关联漏洞
标题:Webmin ‘file/show.cgi’任意命令执行漏洞 (CVE-2012-2982)
描述:Webmin是澳大利亚软件开发者Jamie Cameron和Webmin社区共同开发的一套基于Web的用于类Unix操作系统中的系统管理工具。 Webmin 1.590版本和较早版本中的file/show.cgi中存在漏洞。远程认证用户可利用该漏洞通过路径名中的无效字符如‘|’(竖线)字符,执行任意命令。
描述
Practice POC scripting in Tryhackme’s intro poc scripting room (For Linux)
介绍
# CVE-2012-2982

## Description
file/show.cgi in Webmin 1.590 and earlier allows remote authenticated users to execute arbitrary commands via an invalid character in a pathname, as demonstrated by a | (pipe) character.

## Installation

1. `git clone https://github.com/CpyRe/CVE-2012-2982.git`
2. `pip3 install -r requirements.txt`

## Usage

1. `nc -nlvp <port>`
2. `python3 exp.py <myip> <vulnip> <port>`
                    OR
   `python3 subprocess-exp.py <myip> <vulnip> <port>`
3.  RCE!!
文件快照

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