Vulnerability
CVE-2023-34049
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.
14 advisories report this vulnerability, across 4 ecosystems.
Advisories
-
GHSA-4277-m35q-7c9w
Salt preflight script could be attacker controlled
-
PYSEC-2026-1892
Salt preflight script could be attacker controlled
-
SUSE-EL-9-CLIENT-TOOLS-2023-4757
Security update for SUSE Manager Salt Bundle
-
SUSE-SU-2023:4386-1
Security update for salt
-
SUSE-SU-2023:4387-1
Security update for salt
-
SUSE-SU-2023:4388-1
Security update for salt
-
SUSE-SU-2023:4389-1
Security update for salt
-
SUSE-SU-2023:4390-1
Security update for salt
-
SUSE-SU-2023:4412-1
Security update for SUSE Manager Server 4.3
-
SUSE-SU-2023:4748-1
Security update for SUSE Manager Salt Bundle
-
SUSE-SU-2023:4749-1
Security update for SUSE Manager Salt Bundle
-
SUSE-SU-2023:4757-1
Security update for SUSE Manager Salt Bundle
-
SUSEVEX-CVE-2023-34049
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…
-
UBUNTU-CVE-2023-34049
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…