CVE-2019-17361

In SaltStack Salt through 2019.2.0, the salt-api NET API with the ssh client enabled is vulnerable to command injection

published January 17, 2020

CVSS
—
EPSS
15%
Percentile
96.7
In the wild
Unconfirmed
What it is

🚨 An unauthenticated attack can exploit this vulnerability with just network access! An attacker can execute arbitrary commands on the host running the salt-api, making it a serious concern for anyone using this setup. 🔥 Think of the salt-api as a restaurant kitchen that allows remote ordering. If there's a flaw in the menu system that doesn’t verify the orders, a mischievous diner could request anything — even a secret recipe! If an attacker gains access, they could potentially take control of your server, execute malicious commands, and compromise sensitive data. This could lead to catastrophic consequences, including data loss or service downtime, and putting your entire infrastructure at risk.

Put simply

Think of the salt-api as a restaurant kitchen that allows remote ordering. If there's a flaw in the menu system that doesn’t verify the orders, a mischievous diner could request anything — even a secret recipe! This vulnerability in SaltStack Salt (versions prior to 2019.2.0) results from a command injection flaw in the salt-api NET API with the SSH client enabled, allowing unverified commands to be executed on the host machine.

What to do

If an attacker gains access, they could potentially take control of your server, execute malicious commands, and compromise sensitive data. This could lead to catastrophic consequences, including data loss or service downtime, and putting your entire infrastructure at risk. To safeguard your systems, upgrade to SaltStack Salt version 2019.2.0 or later. Additionally, consider restricting network access to the salt-api to only trusted sources, and implement robust authentication mechanisms for added security. You’ve got this! By following these steps, you can protect your system and ensure a secure environment. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.15160 · 96.7th percentile
Published
2020-01-17T01:16Z
EPSS history
Timeline
  • 17 JAN 01:16Z
    In SaltStack Salt through 2019.2.0, the salt-api NET API with the ssh client enabled is vulnerable to command injection
    cvelistv5