FreeBSD : salt -- Maliciously crafted minion IDs can cause unwanted directory traversals on the Salt-master (3531141d-a708-477c-954a-2a0549e49ca9)

critical Nessus Plugin ID 102689

Language:

Synopsis

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

Description

SaltStack reports :

Correct a flaw in minion id validation which could allow certain minions to authenticate to a master despite not having the correct credentials. To exploit the vulnerability, an attacker must create a salt-minion with an ID containing characters that will cause a directory traversal. Credit for discovering the security flaw goes to:
[email protected]

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?904a93de

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

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

Plugin Details

Severity: Critical

ID: 102689

File Name: freebsd_pkg_3531141da708477c954a2a0549e49ca9.nasl

Version: 3.10

Type: local

Published: 8/23/2017

Updated: 1/4/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

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

CVSS v3

Risk Factor: Critical

Base Score: 9.8

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:py27-salt, p-cpe:/a:freebsd:freebsd:py32-salt, p-cpe:/a:freebsd:freebsd:py33-salt, p-cpe:/a:freebsd:freebsd:py34-salt, p-cpe:/a:freebsd:freebsd:py35-salt, p-cpe:/a:freebsd:freebsd:py36-salt, cpe:/o:freebsd:freebsd

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

Patch Publication Date: 8/22/2017

Vulnerability Publication Date: 8/16/2017

Reference Information

CVE: CVE-2017-12791

IAVB: 2017-B-0112-S