CVE-2021-40348

Severity CVSS v4.0:
Pending analysis
Type:
CWE-94 Code Injection
Publication date:
01/11/2021
Last modified:
14/11/2022

Description

Spacewalk 2.10, and derivatives such as Uyuni 2021.08, allows code injection. rhn-config-satellite.pl doesn't sanitize the configuration filename used to append Spacewalk-specific key-value pair. The script is intended to be run by the tomcat user account with Sudo, according to the installation setup. This can lead to the ability of an attacker to use --option to append arbitrary code to a root-owned file that eventually will be executed by the system. This is fixed in Uyuni spacewalk-admin 4.3.2-1.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:uyuni-project:uyuni:2021.08:*:*:*:*:*:*:*
cpe:2.3:a:spacewalk_project:spacewalk:2.10:*:*:*:*:*:*:*