#VU50982 Code Injection in Salt - CVE-2021-25283


Vulnerability identifier: #VU50982

Vulnerability risk: High

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

CVE-ID: CVE-2021-25283

CWE-ID: CWE-94

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Salt
Web applications / Remote management & hosting panels

Vendor: SaltStack

Description

The vulnerability allows a user attacker to perform server-side template injection attacks.

The vulnerability exists due to improper input validation. A remote user can send a specially crafted request and execute arbitrary code on the target system via the SaltAPI fix directory traversal in wheel.pillar_roots.write (described in #VU50980).


Mitigation
Install updates from vendor's website.

Vulnerable software versions

Salt: 3000 - 3000.7, 3001 - 3001.5, 3002 - 3002.4


External links
https://github.com/saltstack/salt/releases
https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/


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.


Latest bulletins with this vulnerability