Path traversal in salt (Alpine package)



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

CVSSv4.0: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:A/U:Green]

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

CPE2.3 External links

https://git.alpinelinux.org/aports/commit/?id=b244804c35a8cc17470ee3e995fb651682ab0063
https://git.alpinelinux.org/aports/commit/?id=4c4d20ef8ff55b47c12d736d47971d5b42706276
https://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###