#VU27599 OS Command Injection in Salt


Published: 2020-05-07

Vulnerability identifier: #VU27599

Vulnerability risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2019-17361

CWE-ID: CWE-78

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Salt
Web applications / Remote management & hosting panels

Vendor: SaltStack

Description

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation the salt-api NET API with the ssh client enabled. A remote unauthenticated attacker with network access to the API endpoint can pass specially crafted data to the application and execute arbitrary OS commands on the salt-api host.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Salt: 2019.2 - 2019.2.2, 2018.2 - 2018.11, 2017.5 - 2017.7.8, 2016.3 - 2016.11.10, 2015.2 - 2015.8.13, 2014.1 - 2014.7.9


External links
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00026.html
http://docs.saltstack.com/en/latest/topics/releases/2019.2.3.html#security-fix
http://github.com/saltstack/salt/commits/master


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability