CVE-2018-15750 SaltStack Salt Directory Traversal vulnerability in salt-api

Medium 5.3 Published Updated

Remote attackers can determine which files exist on the server via a directory traversal vulnerability in salt-api.

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-15750?

CVE-2018-15750 is a medium-severity path traversal 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

Directory Traversal vulnerability in salt-api in SaltStack Salt before 2017.7.8 and 2018.3.x before 2018.3.3 allows remote attackers to determine which files exist on the server.

Weakness: CWE-22

Which versions are affected by CVE-2018-15750?

7 open source packages ship an affected version, including salt. It affects 1 product.

PackageAffectedFixed in
salt PyPIAll versions2017.7.8, 2018.3.3
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
1 more packages
salt PyPIFrom 2018.3.02018.3.3

Products include Saltstack Salt.

How do I fix CVE-2018-15750?

Upgrade salt to a fixed version for your release line: 2017.7.8, 2018.3.3 or 2016.11.10.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2018-15750 being exploited?

There is no known exploitation of CVE-2018-15750 in the wild and no public exploit code.

All Saltstack Salt vulnerabilities

Sources

Also known as GHSA-jx34-pppm-gjvr, PYSEC-2018-29, UBUNTU-CVE-2018-15750.

Is CVE-2018-15750 in your software?

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

Check your SBOMs for free