SB2024080860 - Ubuntu update for salt
Published: August 8, 2024
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 12 secuirty vulnerabilities.
1) OS Command Injection (CVE-ID: CVE-2020-16846)
The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.
The vulnerability exists due to improper input validation in SaltStack Salt when processing API requests. A remote attacker can send specially crafted request to the server and execute arbitrary OS commands on the target system.
Successful exploitation of the vulnerability requires that SSH client is enabled.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
2) Incorrect default permissions (CVE-ID: CVE-2020-17490)
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to incorrect default permissions for files and folders that are set by the application within the TLS module. A local user with access to the system can view contents of files and directories or modify them.
3) Improper Authentication (CVE-ID: CVE-2020-25592)
The vulnerability allows a remote attacker to bypass authentication process.
The vulnerability exists due to an error when processing eauth credentials and tokens. A remote attacker can bypass authentication process and invoke Salt SSH.
Successful exploitation of the vulnerability will result in complete system compromise.
4) Security restrictions bypass (CVE-ID: CVE-2020-28243)
The vulnerability allows a remote user to escalate privileges on the system.
The vulnerability exists due to application does not properly impose security restrictions, which leads to security restrictions bypass and privilege escalation. A remote user can create files in any non-blacklisted directory via a command injection in a process name.
5) Improper Certificate Validation (CVE-ID: CVE-2020-28972)
The vulnerability allows a remote attacker to perform MitM attack.
The vulnerability exists due to absent validation of SSL/TLS certificates. A remote attacker can perform MitM attack.
6) Improper Certificate Validation (CVE-ID: CVE-2020-35662)
The vulnerability allows a remote attacker to perform MitM attack.
The vulnerability exists due to improper TLS certificate validation. A remote attacker can force the application to accept an untrusted certificate and perform MitM attack.
7) Improper access control (CVE-ID: CVE-2021-25281)
The vulnerability allows a remote attacker to gain unauthorized access to otherwise restricted functionality.
The vulnerability exists due to improper access restrictions. The salt-api does not honor eauth credentials for the wheel_async client. A remote attacker can remotely run any wheel modules on the master.
8) Path traversal (CVE-ID: CVE-2021-25282)
The vulnerability allows a remote user to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences within the salt.wheel.pillar_roots.write method. A remote user can send a specially crafted HTTP request and read arbitrary files on the system.
9) Code Injection (CVE-ID: CVE-2021-25283)
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).
10) Inclusion of Sensitive Information in Log Files (CVE-ID: CVE-2021-25284)
The vulnerability allows a local user to gain access to sensitive information.
The vulnerability exists due to salt.modules.cmdmod stores sensitive information, such as passwords into the /var/log/salt/minion file. A local user can read the log files and gain access to sensitive data.
11) Command Injection (CVE-ID: CVE-2021-3148)
The vulnerability allows a remote user to execute arbitrary commands within the application.
The vulnerability exists due to improper input validation, related to handling single and double quotes, within the salt.utils.thin.gen_thin() function in salt/utils/thin.py. A remote user can send a specially crafted HTTP request to the SaltAPI and execute arbitrary commands.
12) OS Command Injection (CVE-ID: CVE-2021-3197)
The vulnerability allows a remote user to execute arbitrary shell commands on the target system.
The vulnerability exists due to improper input validation within the salt-api ssh client. A remote attacker can include the ProxyCommand in an argument, or via ssh_options provided in an API request and execute arbitrary commands on the system.
Remediation
Install update from vendor's website.