POC详情: 7c0dc829faf0ad73152f48d13f485f5161e76f7b

来源
关联漏洞
标题: Python 命令注入漏洞 (CVE-2018-1000802)
描述:Python是Python基金会的一套开源的、面向对象的程序设计语言。该语言具有可扩展、支持模块和包、支持多种平台等特点。 Python(CPython) 2.7版本中的shutil模块(make_archive函数)存在命令注入漏洞。攻击者可通过输入消息利用该漏洞造成拒绝服务或获取信息。
描述
Python CVE-2018-1000802 Proof-of-Concept
介绍
# Python CVE-2018-1000802 Proof-of-Concept

This is a PoC for the vulnerability in `make_archive` function exported by `shutil` builtin module.

Vulnerability is present in CPython (Python) 2.7 prior to commit add531a1e55b0a739b0f42582f1c9747e5649ace.

For the vulnerability to be exploitable in the wild there are several conditions:
1.	Code must run on Windows machine;
2.	There must be a zip utility accessible via command line e.g. Zip for Windows;
3.	Import zipfile must fail.

Please see poc.py for code examples.
文件快照

[4.0K] /data/pocs/7c0dc829faf0ad73152f48d13f485f5161e76f7b ├── [ 18] external_file.txt ├── [ 458] poc.py ├── [ 520] README.md ├── [4.0K] testdir │   └── [ 4] file.txt └── [ 51] zipfile.py 1 directory, 5 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。