Path traversal in salt (Alpine package)



Published: 2020-05-04 | Updated: 2024-03-22
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-11652
CWE-ID CWE-22
Exploitation vector Network
Public exploit Vulnerability #1 is being exploited in the wild.
Vulnerable software
Subscribe
salt (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Path traversal

EUVDB-ID: #VU27495

Risk: Medium

CVSSv3.1: 6 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N/E:F/RL:O/RC:C]

CVE-ID: CVE-2020-11652

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in the salt-master process ClearFuncs class. A remote authenticated attacker can send a specially crafted HTTP request and read arbitrary files on the system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

salt (Alpine package): 2019.2.2-r0 - 3000.1-r2

External links

http://git.alpinelinux.org/aports/commit/?id=b244804c35a8cc17470ee3e995fb651682ab0063
http://git.alpinelinux.org/aports/commit/?id=4c4d20ef8ff55b47c12d736d47971d5b42706276
http://git.alpinelinux.org/aports/commit/?id=4d854e9279196468105190938da4c654baf2fcac


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.



###SIDEBAR###