PoC Monitor
← All CVEs
CVE-2020-11651published 30 Apr 2020 16:58 UTCData: JSON · API

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.

First public PoC 3.6 daysafter publication · 4 May 2020
Public PoCs1916 on GitHub · 3 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CISA ADP · CWE-noinfo
CISA KEV 3 Nov 20211.5 years after publication

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

salt (PyPI)
  • < 2019.2.4

Fixed in 2019.2.4

from GitHub Security Advisory GHSA-pjhf-vpx3-33r3

salt (PyPI)
  • >= 3000, < 3000.2

Fixed in 3000.2

from GitHub Security Advisory GHSA-pjhf-vpx3-33r3

Mitigation

Upgrade salt to 2019.2.4 or later.

Upgrade salt to 3000.2 or later.

Timeline

Days relative to CVE publication
t=0+90+180+270+360+450+540CVE published30 Apr 2020 · t = 0First public PoC4 May 2020 · t+3.6dAdded to CISA KEV3 Nov 2021 · t+1.5y

First 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
RepositoryCreatedFound by usStarsAssessment
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
  • large base64 blob in code in reporting/default_css.py

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
RepositoryCreatedStarsAssessment
rossengeorgiev/salt-security-backports 1 May 2020 +1.2 d 109 Pending
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

puckiestyle/cve-2020-11651 unknown 0 Pending · repository unavailable (HTTP 404)
Informational 1
RepositoryCreatedStarsAssessment
chef-cft/salt-vulnerabilities 1 May 2020 +10 h 6 Informational · detection
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

Not a PoC 2
RepositoryCreatedStarsAssessment
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
RepositoryCreatedStarsAssessment
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.

PoC characteristics

What to hunt for in your logs · from 16 PoC repos

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /bytoken
(?i)^/bytoken(?:[?#].*)?$
POST /service/extdirect
(?i)^/service/extdirect(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /bytoken
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;)
POST /service/extdirect
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.

POST /bytoken
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
POST /service/extdirect
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