Patchfirst
CVE-2020-11652 KEVPublic exploit Medium · 6.5 EPSS 86.2%

SaltStack Salt Path Traversal Vulnerability

SaltStack · Salt

Summary

A path traversal flaw exists in the ClearFuncs class of the salt-master process in SaltStack Salt, where some methods fail to properly sanitise paths. An attacker with valid authentication who can reach the salt-master over the network can use these methods to access arbitrary directories.

Official description · NVD

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.

Breakdown
67.5 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. What can follow

First seen exploited 3 months after disclosure. Public exploit code (Metasploit) was available the same day.

  1. DisclosedPublic exploit codeMetasploitday 0
  2. First seen exploitedVulnCheck KEV evidence+3 mo
  3. Added to CISA KEVEU database agrees+18 mo

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

7 fixes in salt over 16 months. The latest fix listed for salt is 3002.1.

Fixes in saltPyPI package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 2018.3.4CVE-2019-101025918 Jul 2019
  2. 2019.2.3CVE-2019-1736117 Jan 2020
  3. 3000.2CVE-2020-1165130 Apr 2020KEV
  4. 3000.2CVE-2020-1165230 Apr 2020KEV
  5. 3002.1CVE-2020-168466 Nov 2020KEV
  6. 3002.1CVE-2020-174906 Nov 2020
  7. 3002.1CVE-2020-255926 Nov 2020Latest listed

techniques

2 , grouped by in kill-chain order, 2 cited passages 2

Initial AccessTA0001

Exploit Public-Facing Application T1190 Medium
MITRE CTID mapping of the CVE · uncategorised

CollectionTA0009

Data from Local System T1005 Medium
MITRE CTID mapping of the CVE · uncategorised

Detection

0 rules for this CVE · 163 general rules for its techniques

Rules for this CVE

0 that reference CVE-2020-11652 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: salt.

Upgrade to 3000.7 or later

Fixes this CVE and 6 other known vulnerabilities in this package (CVE-2020-11651, CVE-2020-16846, +4).

pippip install "salt>=3000.7"

First fixed in 3000.2 for CVE-2020-11652.

Affected versions, by release line

If you runUpgrade to
3000 up to 3000.23000.7first fix for this CVE: 3000.2
All versions before 2019.2.42019.2.8first fix for this CVE: 2019.2.4

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

13 links, grouped by NVD tag (12 duplicates merged)
↑ ↓ chooseEnter openEsc close