CVE-2018-15751 SaltStack Salt Remote command execution and incorrect access control when using salt-api
Remote attackers can bypass authentication in SaltStack Salt API to execute arbitrary commands, requiring the netapi feature to be enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-15751?
CVE-2018-15751 is a critical authentication bypass vulnerability in Saltstack Salt, published on 24 Oct 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
SaltStack Salt before 2017.7.8 and 2018.3.x before 2018.3.3 allow remote attackers to bypass authentication and execute arbitrary commands via salt-api(netapi).
Weakness: CWE-287
Which versions are affected by CVE-2018-15751?
7 open source packages ship an affected version, including salt. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
salt PyPI | From 2016.11.0 | 2016.11.10 |
salt PyPI | From 2016.11.0 | 2016.11.10 |
salt PyPI | From 2017.7.0 | 2017.7.8 |
salt PyPI | From 2017.7.0 | 2017.7.8 |
salt PyPI | From 2018.3.0 | 2018.3.3, 2017.7.8 |
salt PyPI | From 2018.3.0 | 2018.3.3 |
1 more packages
salt PyPI | From 2018.3.0 | 2018.3.3 |
Products include Saltstack Salt.
How do I fix CVE-2018-15751?
Upgrade salt to a fixed version for your release line: 2016.11.10, 2017.7.8 or 2018.3.3.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2018-15751 being exploited?
There is no known exploitation of CVE-2018-15751 in the wild and no public exploit code.
Other vulnerabilities in Saltstack Salt
Sources
Also known as GHSA-x549-r7m8-gv63, PYSEC-2018-30, UBUNTU-CVE-2018-15751.