Patchfirst
CVE-2020-11651 KEVPublic exploit Critical · 9.8 EPSS 96.6%

SaltStack Salt Authentication Bypass Vulnerability

SaltStack · Salt

Summary

A flaw in the ClearFuncs class of the salt-master process in SaltStack Salt does not properly validate method calls, so some methods can be reached without authentication. A remote, unauthenticated attacker with network access to the salt master can exploit it, with no user interaction or special configuration required, to retrieve user tokens from the salt master and/or run arbitrary commands on salt minions.

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 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.

Breakdown
66.8 / 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. How attackers get in

  2. 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 2 years. 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.3CVE-2018-1575124 Oct 2018
  2. 2018.3.4CVE-2019-101025918 Jul 2019
  3. 2019.2.3CVE-2019-1736117 Jan 2020
  4. 3000.2CVE-2020-1165130 Apr 2020KEV
  5. 3000.2CVE-2020-1165230 Apr 2020KEV
  6. 3002.1CVE-2020-168466 Nov 2020KEV
  7. 3002.1CVE-2020-174906 Nov 2020Latest listed

techniques

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

Initial AccessTA0001

Exploit Public-Facing Application T1190 Medium
AI mapping from the description · how it is exploited

unauthenticated remote access to public-facing service

allows a remote user to access some methods without authentication
From the official description (NVD) Original (opens in a new tab) ↗

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
MITRE CTID mapping of the CVE · uncategorised
Lower-confidence links (2)

These come from early or generic mappings, text matching, or contradict this CVE’s details (for example a public-facing technique on a bug that needs a user to open a file). Shown for completeness.

  • Exploitation for Privilege EscalationT1068 CTID attack_to_cve Phase 1 "Uncategorized" mapping (not staged by impact)
  • Steal Application Access TokenT1528 CTID attack_to_cve Phase 1 "Uncategorized" mapping (not staged by impact)

Detection

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

Rules for this CVE

0 that reference CVE-2020-11651 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-11652, CVE-2020-16846, +4).

pippip install "salt>=3000.7"

First fixed in 3000.2 for CVE-2020-11651.

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

References

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