CVE-2018-15751 SaltStack Salt Remote command execution and incorrect access control when using salt-api

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
salt PyPIFrom 2016.11.02016.11.10
salt PyPIFrom 2016.11.02016.11.10
salt PyPIFrom 2017.7.02017.7.8
salt PyPIFrom 2017.7.02017.7.8
salt PyPIFrom 2018.3.02018.3.3, 2017.7.8
salt PyPIFrom 2018.3.02018.3.3
1 more packages
salt PyPIFrom 2018.3.02018.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.

All Saltstack Salt vulnerabilities

Sources

Also known as GHSA-x549-r7m8-gv63, PYSEC-2018-30, UBUNTU-CVE-2018-15751.

Is CVE-2018-15751 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free