Remote command execution via the salt-api NET API in SaltStack Salt



Published: 2020-01-17 | Updated: 2020-05-07
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-17361
CWE-ID CWE-78
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Salt
Web applications / Remote management & hosting panels

Vendor SaltStack

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) OS Command Injection

EUVDB-ID: #VU27599

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 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Exploit availability: No

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: 2014.1 - 2019.2.2

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.



###SIDEBAR###