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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2020-11651 PoC — SaltStack Salt 安全漏洞

Source
Associated Vulnerability
Title: SaltStack Salt 安全漏洞 (CVE-2020-11651)
Description:An issue was discovered in SaltStack Salt before 2019.2.4 and 3000 before 3000.2. The salt-master process ClearFuncs class does not properly validate method calls. This allows a remote user to access some methods without authentication. These methods can be used to retrieve user tokens from the salt master and/or run arbitrary commands on salt minions.
Description
PoC for CVE-2020-11651
Readme
# CVE-2020-11651
PoC for CVE-2020-11651

Requires Python3 tested on 3.8

`python3.8 -m pip install pyzmq msgpack`


```
⇒  python3.8 poc.py -h                                                      
usage: poc.py [-h] [-p PORT] [-c CMD] [-k] [-m] [-r READ] [-w WRITE] [-f FILE] server [server ...]

Exploit CVE-2020-11651

positional arguments:
  server                Target Server IP or Host

optional arguments:
  -h, --help            show this help message and exit
  -p PORT, --port PORT  Target Port (Default=4506)
  -c CMD, --cmd CMD     Command to execute
  -k, --key             Retrieve Root Key
  -m, --minions         Run CMD on all active minions
  -r READ, --read READ  Read a file from the Salt Master
  -w WRITE, --write WRITE
                        Write a file from the Salt Master
  -f FILE, --file FILE  Used with --write, local file to write to Salt Master

Example: poc.py -k 127.0.0.1 (Read the root key)
```

File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →