CVEvulnerability

CVE-2021-40348

8.8 HIGH Published 2021-11-01 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-11-01
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
9.3 HIGH — AV:N/AC:M/Au:N/C:C/I:C/A:C
Weaknesses
CWE-94

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.

Affected configurations

• uyuni-project uyuni 2021.08 • spacewalk project spacewalk 2.10

Related

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References