Multiple vulnerabilities in SaltStack Salt



Published: 2020-05-04 | Updated: 2020-05-28
Risk Critical
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2020-11651
CVE-2020-11652
CWE-ID CWE-287
CWE-22
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Public exploit code for vulnerability #2 is available.
Vulnerable software
Subscribe
Salt
Web applications / Remote management & hosting panels

Vendor SaltStack

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

Updated: 28.05.2020

Raised bulletin severity to Critical, updated vulnerability description and CVSS score for vulnerability #1.

1) Improper Authentication

EUVDB-ID: #VU27494

Risk: Critical

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

CVE-ID: CVE-2020-11651

CWE-ID: CWE-287 - Improper Authentication

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to the salt-master process "ClearFuncs" class does not properly validate method calls. A remote non-authenticated attacker can bypass authentication process and gain access some methods without authentication. These methods can be used to retrieve user tokens from the salt master and/or run arbitrary commands on salt minion as root.

Note: this vulnerability is being actively exploited in the wild.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Salt: 2019.2, 2019.2.0, 2019.2.1, 2019.2.2, 2019.2.3, 3000, 3000.1

CPE2.3 External links

http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00047.html
http://docs.saltstack.com/en/latest/topics/releases/2019.2.4.html
http://github.com/saltstack/salt/blob/v3000.2_docs/doc/topics/releases/3000.2.rst
http://labs.f-secure.com/advisories/saltstack-authorization-bypass

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.

2) Path traversal

EUVDB-ID: #VU27495

Risk: Medium

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

CVE-ID: CVE-2020-11652

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in the salt-master process ClearFuncs class. A remote authenticated attacker can send a specially crafted HTTP request and read arbitrary files on the system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Salt: 2019.2, 2019.2.0, 2019.2.1, 2019.2.2, 2019.2.3, 3000, 3000.1

CPE2.3 External links

http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00047.html
http://docs.saltstack.com/en/latest/topics/releases/2019.2.4.html
http://github.com/saltstack/salt/blob/v3000.2_docs/doc/topics/releases/3000.2.rst
http://labs.f-secure.com/advisories/saltstack-authorization-bypass

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.



###SIDEBAR###