CVE-2017-5192 SaltStack Salt Authentication Bypass when using the local_batch client from salt-api
Attackers can bypass authentication in SaltStack Salt's local_batch client via salt-api, gaining unauthorized access to the system.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-5192?
CVE-2017-5192 is a high-severity authentication bypass vulnerability in Saltstack Salt, published on 26 Sep 2017. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
When using the local_batch client from salt-api in SaltStack Salt before 2015.8.13, 2016.3.x before 2016.3.5, and 2016.11.x before 2016.11.2, external authentication is not respected, enabling all authentication to be bypassed.
Weakness: CWE-287
Which versions are affected by CVE-2017-5192?
7 open source packages ship an affected version, including salt. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
salt PyPI | All versions | 2015.8.13, 2016.3.5, 2016.11.2 |
salt PyPI | All versions | 2015.8.13 |
salt PyPI | All versions | 2015.8.13 |
salt PyPI | From 2016.11.0 | 2016.11.2 |
salt PyPI | From 2016.11.0 | 2016.11.2 |
salt PyPI | From 2016.3.0 | 2016.3.5 |
1 more packages
salt PyPI | From 2016.3.0 | 2016.3.5 |
Products include Saltstack Salt.
How do I fix CVE-2017-5192?
Upgrade salt to a fixed version for your release line: 2015.8.13, 2016.3.5 or 2016.11.2.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2017-5192 being exploited?
There is no known exploitation of CVE-2017-5192 in the wild and no public exploit code.
Other vulnerabilities in Saltstack Salt
- CVE-2013-4437 SaltStack insecurely uses /tmp
- CVE-2013-6617 SaltStack Privilege Escalation vulnerability
- CVE-2021-33226 Code injection in n/a
- CVE-2021-25315 salt-api unauthenticated remote code execution
- CVE-2018-15751 SaltStack Salt Remote command execution and incorrect access control when using salt-api
Sources
Also known as GHSA-f2h7-4f84-8qrm, PYSEC-2017-38, UBUNTU-CVE-2017-5192.