PoC Monitor
← All CVEs
CVE-2020-11652published 30 Apr 2020 17:00 UTCData: JSON · API

SaltStack Salt

SaltStack Salt Path Traversal Vulnerability

An issue was discovered in SaltStack Salt before 2019.2.4 and 3000 before 3000.2. The salt-master process ClearFuncs class allows access to some methods that improperly sanitize paths. These methods allow arbitrary directory access to authenticated users.

First public PoC 4.3 daysafter publication · 5 May 2020 · Exploit-DB
Public PoCs96 on GitHub · 3 Exploit-DB, Metasploit or nuclei
CVSS6.5medium · scored by CISA ADP · CWE-22
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-vp49-2g4r-m3x3

salt (PyPI)
  • >= 3000, < 3000.2

Fixed in 3000.2

from GitHub Security Advisory GHSA-vp49-2g4r-m3x3

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 PoC5 May 2020 · t+4.3dAdded to CISA KEV3 Nov 2021 · t+1.5y

First public PoC 4.3 days after publication; added to CISA KEV 1.5 years after publication. First PoC: Saltstack 3000.1 - Remote Code Execution (Exploit-DB, 5 May 2020).

PoC repositories

Found on GitHub.

6 PoCs · 4 not a PoC · 2 suspicious or fake

PoCs 6
RepositoryCreatedStarsAssessment
heikanet/CVE-2020-11651-CVE-2020-11652-EXP 7 May 2020 +6.7 d 24 PoC
ssrsec/CVE-2020-11651-CVE-2020-11652-EXP 7 May 2020 +6.7 d 24 PoC
appcheck-ng/salt-rce-scanner-CVE-2020-11651-CVE-2020-11652 30 Nov 2020 +214 d 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.

Al1ex/CVE-2020-11652 25 Dec 2020 +238 d 5 PoC
limon768/CVE-2020-11652-CVE-2020-11652-POC 17 Jan 2024 +3.7 y 4 PoC
limon768/CVE-2020-11652-POC 17 Jan 2024 +3.7 y 4 PoC
Not a PoC 4
RepositoryCreatedStarsAssessment
0xc0d/CVE-2020-11651 4 May 2020 +3.8 d 40 Not a PoC · unrelated
jasperla/CVE-2020-11651-poc 4 May 2020 +3.8 d 123 Not a PoC · unrelated
hardsoftsecurity/CVE-2020-11651-PoC 18 Dec 2023 +3.6 y 0 Not a PoC · unrelated
Drew-Alleman/CVE-2020-11651 30 Mar 2025 +4.9 y 1 Not a PoC · unrelated
Suspicious or fake 2
RepositoryCreatedStarsAssessment
fanjq99/CVE-2020-11652 22 May 2020 +22 d 0 Fake
capivara-research/CVE-Exploitation 22 Aug 2026 +6.3 y 0 Fake

Only PoCs count toward the first-PoC date and the characteristics below. 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 6 PoC repos

Regex

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

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

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /bytoken
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-11652 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-11652; classtype:web-application-attack; sid:9601811; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /bytoken
title: SaltStack Salt exploit attempt (CVE-2020-11652)
id: gg-pocmon-cve-2020-11652-9601811
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-11652. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2020-11652
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/bytoken'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2020.11652