The Salt-SSH pre-flight option copies the script to the target at a predictable path, which allows an attacker to force Salt-SSH to run their script. If an attacker has access to the target VM and knows the path to the pre-flight script before it runs they can ensure Salt-SSH runs their script with the privileges of the user running Salt-SSH. Do not make the copy path on the target predictable and ensure we check return codes of the scp command if the copy fails.

Project Subscriptions

Vendors Products
Salt Project Subscribe
Advisories
Source ID Title
EUVD EUVD EUVD-2024-3190 The Salt-SSH pre-flight option copies the script to the target at a predictable path, which allows an attacker to force Salt-SSH to run their script. If an attacker has access to the target VM and knows the path to the pre-flight script before it runs they can ensure Salt-SSH runs their script with the privileges of the user running Salt-SSH. Do not make the copy path on the target predictable and ensure we check return codes of the scp command if the copy fails.
Github GHSA Github GHSA GHSA-4277-m35q-7c9w Salt preflight script could be attacker controlled
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 14 Nov 2024 16:15:00 +0000

Type Values Removed Values Added
First Time appeared Salt Project
Salt Project salt
CPEs cpe:2.3:a:salt_project:salt:*:*:*:*:*:*:*:*
Vendors & Products Salt Project
Salt Project salt
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 14 Nov 2024 04:30:00 +0000

Type Values Removed Values Added
Description The Salt-SSH pre-flight option copies the script to the target at a predictable path, which allows an attacker to force Salt-SSH to run their script. If an attacker has access to the target VM and knows the path to the pre-flight script before it runs they can ensure Salt-SSH runs their script with the privileges of the user running Salt-SSH. Do not make the copy path on the target predictable and ensure we check return codes of the scp command if the copy fails.
Title Salt security advisory release - 2023-OCT-27
References
Metrics cvssV3_1

{'score': 6.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2024-11-14T15:20:15.288Z

Reserved: 2023-05-25T17:21:56.202Z

Link: CVE-2023-34049

cve-icon Vulnrichment

Updated: 2024-11-14T15:18:00.386Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-11-14T05:15:28.260

Modified: 2024-11-15T13:58:08.913

Link: CVE-2023-34049

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses

No weakness.