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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2020-11652 PoC — SaltStack Salt 路径遍历漏洞

Source
Associated Vulnerability
Title:SaltStack Salt 路径遍历漏洞 (CVE-2020-11652)
Description:SaltStack Salt是SaltStack公司的一套开源的用于管理基础架构的工具。该工具提供配置管理、远程执行等功能。 SaltStack Salt 3000.2之前的3000.x版本中的salt-master进程的ClearFuncs类存在路径遍历漏洞,该漏洞源于不正确的访问控制。远程攻击者可利用该漏洞访问任意目录。
Description
This is a fix POC CVE-2020-11651 & CVE-2020-11651
Readme
# CVE-2020-11652-CVE-2020-11652-POC
This is a fix POC CVE-2020-11651 & CVE-2020-11651

Original version: https://github.com/Al1ex/CVE-2020-11652

Error Fixed: `TransportWarning: Unclosed transport! <salt.transport.zeromq.RequestClient object at 0x7f2105513690>`

`pip3 install salt`

RCE

`python3 CVE-2020-11652.py --master <target ip> --port <target port> --exec-choose master --exec-cmd 'whoami'`
File Snapshot

[4.0K] /data/pocs/e4a88c6608e19d0425f6f9f66a28d1929ab7dd7d ├── [6.9K] CVE-2020-11652-fix.py └── [ 403] 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.