ZeroHour

CVE-2020-11652

KEV PoC large

Authenticated Path Traversal in SaltStack Salt salt-master (ClearFuncs)

CISA: SaltStack Salt Path Traversal Vulnerability

CVSS 3.1
6.5 medium
EPSS
86%p100
Published
()
KEV added
AI analysis

CVE-2020-11652 is a path traversal flaw (CWE-22) in the salt-master process of SaltStack Salt: several methods in the ClearFuncs class improperly sanitize paths, allowing an authenticated user to obtain arbitrary directory access on the master. It is triggered by sending crafted requests to the affected ClearFuncs methods over the network; the CVSS score (6.5, C:H/I:N/A:N) reflects high confidentiality impact, i.e., unauthorized access to files and directories outside the intended scope. An attacker who can authenticate to a vulnerable salt-master gains arbitrary directory/file access, and the closely related ClearFuncs bugs in the same code were chained into unauthenticated remote code execution in the publicly available exploits. Affected are deployments running SaltStack Salt before 2019.2.4 or 3000 before 3000.2, including Salt shipped in Debian, Ubuntu and openSUSE Leap and embedded in products such as VMware vRealize Operations Application Remote Collector and BlackBerry Workspaces Server. Exploitation is confirmed in the wild: attackers mass-scanned the internet for vulnerable Salt installs and breached servers at Cisco (VIRL), Ghost, DigiCert and LineageOS, and the flaw is on the CISA KEV list.

What to do: Upgrade Salt to 2019.2.4 or 3000.2 or later, or apply the equivalent distribution/vendor updates from Debian, Canonical, SUSE, VMware and BlackBerry. Restrict network access to salt-master's 4505/4506 ports so only trusted systems can reach the ClearFuncs methods, and review masters for signs of compromise (unexpected file access or authentication via eauth/wheel) given confirmed in-the-wild exploitation.

Affected
SaltStack Saltall versions before 2019.2.4 and 3000.x before 3000.2 (i.e., 3000.0 and 3000.1)
openSUSE LeapSalt packages shipped in affected Leap releases; fixed via SUSE/openSUSE vendor update
Debian LinuxSalt packages shipped in affected Debian releases; fixed via Debian vendor update
Canonical Ubuntu LinuxSalt packages shipped in affected Ubuntu releases; fixed via Canonical vendor update
BlackBerry Workspaces Serverships/embeds affected Salt components; patched per BlackBerry advisory
VMware Application Remote Collector (vRealize Operations component)ships/embeds affected Salt; fix planned and delivered via VMware update
Estimated exposure
largeorder of tens of thousands of Salt deployments (thousands of internet-exposed salt-masters, plus bundled installs) — Public internet scans at the time of disclosure found thousands of exposed salt-master services (Salt's 4505/4506 ports), and Salt is additionally distributed in Debian, Ubuntu and openSUSE Leap packages and bundled in products like VMware…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

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.

CISA Known Exploited Vulnerability
Affected
SaltStack Salt
Required action
Apply updates per vendor instructions.
Due date
Ransomware use
Unknown
Vendors
saltstackopensusedebiancanonicalblackberryvmware
Products
salt, leap, debian linux, ubuntu linux, workspaces server, application remote collector
Weakness
CWE-22
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

In the news