SaltStack Salt
SaltStack Salt Authentication Bypass Vulnerability
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.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
Mitigation
Upgrade salt to 2019.2.4 or later.
Upgrade salt to 3000.2 or later.
Timeline
Days relative to CVE publicationFirst public PoC 3.6 days after publication; added to CISA KEV 1.5 years after publication. First PoC: dozernz/cve-2020-11651 (created 4 May 2020, found by us: backfilled).
PoC repositories
Found on GitHub.16 PoCs · 2 pending · 1 informational · 2 not a PoC · 1 suspicious or fake
PoCs 16
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| dozernz/cve-2020-11651 | 4 May 2020 +3.6 d | backfilled | 106 | PoC |
| 0xc0d/CVE-2020-11651 | 4 May 2020 +3.8 d | backfilled | 40 | PoC |
| jasperla/CVE-2020-11651-poc | 4 May 2020 +3.8 d | backfilled | 123 | PoC |
| bravery9/SaltStack-Exp | 4 May 2020 +3.9 d | backfilled | 5 | PoC |
| kevthehermit/CVE-2020-11651 | 4 May 2020 +4.1 d | backfilled | 6 | PoC |
| lovelyjuice/cve-2020-11651-exp-plus | 7 May 2020 +6.5 d | backfilled | 5 | PoC |
| heikanet/CVE-2020-11651-CVE-2020-11652-EXP | 7 May 2020 +6.7 d | backfilled | 24 | PoC |
| ssrsec/CVE-2020-11651-CVE-2020-11652-EXP | 7 May 2020 +6.7 d | backfilled | 24 | PoC |
| RakhithJK/CVE-2020-11651 | 9 May 2020 +8.8 d | backfilled | 0 | PoC |
| appcheck-ng/salt-rce-scanner-CVE-2020-11651-CVE-2020-11652 | 30 Nov 2020 +214 d | backfilled | 2 | PoC
Flags · score 20
Below the suspicion threshold (50); does not change the assessment. |
| zhangchi991022/Comprehensive-experiment-of-infomation-security | 20 Jan 2021 +265 d | backfilled | 7 | PoC via PoC Index |
| hardsoftsecurity/CVE-2020-11651-PoC | 18 Dec 2023 +3.6 y | backfilled | 0 | PoC |
| Drew-Alleman/CVE-2020-11651 | 30 Mar 2025 +4.9 y | backfilled | 1 | PoC |
| s1lentf00thold/CVE-2020-11651-Poc | 23 Jun 2026 +6.1 y | backfilled | 0 | PoC |
| CyberCTF/vulhub-saltstack-cve-2020-11651 | 8 Oct 2026 +6.4 y | backfilled | 0 | PoC |
| codenamepetrel/salt-cve-2020-11651-poc | 7 Nov 2026 +6.5 y | 14 Nov 2026 | 0 | PoC |
Pending 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| rossengeorgiev/salt-security-backports | 1 May 2020 +1.2 d | 109 | Pending
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| puckiestyle/cve-2020-11651 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| chef-cft/salt-vulnerabilities | 1 May 2020 +10 h | 6 | Informational · detection
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Not a PoC 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| limon768/CVE-2020-11652-CVE-2020-11652-POC | 17 Jan 2024 +3.7 y | 4 | Not a PoC · unrelated |
| limon768/CVE-2020-11652-POC | 17 Jan 2024 +3.7 y | 4 | Not a PoC · unrelated |
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| merlinxcy/ToolBox | 5 May 2019 −361 d | 40 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | Saltstack 3000.1 - Remote Code Execution | 5 May 2020 | 14 Nov 2026 |
| Metasploit | Metasploit auxiliary: SaltStack Salt Master Server Root Key Disclosure (auxiliary/gather/saltstack_salt_root_key) | 11 May 2020 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: SaltStack Salt Master/Minion Unauthenticated RCE (exploit/linux/misc/saltstack_salt_unauth_rce) | 11 May 2020 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 16 PoC reposPOST /bytoken
- Body markers
tokens=,inapplication/x-www-form-urlencoded- Seen in
- 1 repo: appcheck-ng/salt-rce-scanner-CVE-2020-11651-CVE-2020-11652
- Evidence
- appcheck-ng/salt-rce-scanner-CVE-2020-11651-CVE-2020-11652/salt_rce_scanner.py:202 appcheck-ng/salt-rce-scanner-CVE-2020-11651-CVE-2020-11652/salt_rce_scanner.py:205
POST /service/extdirect
- Body markers
"action":"coreui_Component""data""method":"previewAssets""tid""type":"rpc"inapplication/json- Ports
- 8081
- Seen in
- 1 repo: zhangchi991022/Comprehensive-experiment-of-infomation-security
- Evidence
- zhangchi991022/Comprehensive-experiment-of-infomation-security/CVE-2019-7239.py:39 zhangchi991022/Comprehensive-experiment-of-infomation-security/CVE-2019-7239.py:57 zhangchi991022/Comprehensive-experiment-of-infomation-security/CVE-2019-7239.py:65 zhangchi991022/Comprehensive-experiment-of-infomation-security/CVE-2019-7239.py:74 zhangchi991022/Comprehensive-experiment-of-infomation-security/CVE-2019-7239.py:83 zhangchi991022/Comprehensive-experiment-of-infomation-security/CVE-2019-7239.py:92
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/bytoken(?:[?#].*)?$
(?i)^/service/extdirect(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-11651 SaltStack Salt exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/bytoken"; http.request_body; content:"tokens=,"; reference:url,poc.griffinguard.io/cve/CVE-2020-11651; classtype:web-application-attack; sid:9664154; rev:1;)
alert http any any -> $HOME_NET [8081] (msg:"GG PoC-Monitor CVE-2020-11651 SaltStack Salt exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/service/extdirect"; http.request_body; content:"|22|action|22|:|22|coreui_Component|22|"; http.request_body; content:"|22|data|22|"; http.request_body; content:"|22|method|22|:|22|previewAssets|22|"; http.request_body; content:"|22|tid|22|"; http.request_body; content:"|22|type|22|:|22|rpc|22|"; reference:url,poc.griffinguard.io/cve/CVE-2020-11651; classtype:web-application-attack; sid:9531110; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: SaltStack Salt exploit attempt (CVE-2020-11651)
id: gg-pocmon-cve-2020-11651-9664154
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-11651. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2020-11651
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/bytoken'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2020.11651
title: SaltStack Salt exploit attempt (CVE-2020-11651)
id: gg-pocmon-cve-2020-11651-9531110
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-11651. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2020-11651
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/service/extdirect'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2020.11651