CVE-2018-15750 SaltStack Salt Directory Traversal vulnerability in salt-api
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.
| Package | Affected | Fixed in |
|---|---|---|
salt PyPI | All versions | 2017.7.8, 2018.3.3 |
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 |
1 more packages
salt PyPI | From 2018.3.0 | 2018.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.
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-jx34-pppm-gjvr, PYSEC-2018-29, UBUNTU-CVE-2018-15750.