FreeBSD : salt -- multiple vulnerabilities (50259d8b-243e-11eb-8bae-b42e99975750)

critical Nessus Plugin ID 142856

Language:

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

SaltStack reports multiple security vulnerabilities in Salt 3002 :

- CVE-2020-16846: Prevent shell injections in netapi ssh client.

- CVE-2020-17490: Prevent creating world readable private keys with the tls execution module.

- CVE-2020-25592: Properly validate eauth credentials and tokens along with their ACLs. Prior to this change eauth was not properly validated when calling Salt ssh via the salt-api. Any value for 'eauth' or 'token' would allow a user to bypass authentication and make calls to Salt ssh.

Solution

Update the affected packages.

See Also

https://docs.saltstack.com/en/latest/topics/releases/3002.1.html

http://www.nessus.org/u?694fdb6a

Plugin Details

Severity: Critical

ID: 142856

File Name: freebsd_pkg_50259d8b243e11eb8baeb42e99975750.nasl

Version: 1.8

Type: local

Published: 11/12/2020

Updated: 4/25/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

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

CVSS Score Source: CVE-2020-25592

CVSS v3

Risk Factor: Critical

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: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:py36-salt, p-cpe:/a:freebsd:freebsd:py37-salt, p-cpe:/a:freebsd:freebsd:py38-salt, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/12/2020

Vulnerability Publication Date: 11/6/2020

CISA Known Exploited Vulnerability Due Dates: 5/3/2022

Exploitable With

Metasploit (SaltStack Salt REST API Arbitrary Command Execution)

Reference Information

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