SaltStack Unauthenticated RCE (direct check)

high Nessus Plugin ID 146489
New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it is different from CVSS.

VPR Score: 8.4

Synopsis

The version of SaltStack running on the remote server is affected by multiple vulnerabilities.

Description

An improper authentication vulnerability affecting users running the Salt API exists due to a validation issue when calling Salt SSH via the salt-api, An unauthenticated, remote attacker could bypass authentication by supplying any value for eauth or token to gain the ability to run commands using Salt SSH.

Solution

Upgrade to SaltStack version referenced in the vendor security advisory.

See Also

http://www.nessus.org/u?f2a5e02b

http://www.nessus.org/u?c2f8b1d8

https://twitter.com/chybeta/status/1325836157653934080

Plugin Details

Severity: High

ID: 146489

File Name: saltstack_cve-2020-16846.nbin

Version: 1.5

Type: remote

Family: Web Servers

Published: 2/15/2021

Updated: 4/20/2021

Dependencies: http_version.nasl, saltstack_salt_remote_detection.nbin

Risk Information

Risk Factor: High

VPR Score: 8.4

CVSS Score Source: CVE-2020-25592

CVSS v2.0

Base Score: 7.5

Temporal Score: 6.2

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: E:F/RL:OF/RC:C

CVSS v3.0

Base Score: 9.8

Temporal Score: 9.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:saltstack:salt

Required KB Items: installed_sw/SaltStack Salt Master

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/3/2020

Vulnerability Publication Date: 11/3/2020

Exploitable With

Metasploit (SaltStack Salt REST API Arbitrary Command Execution)

Reference Information

CVE: CVE-2020-16846, CVE-2020-25592