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

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2021-11-01T04:32:06

Updated: 2024-08-04T02:44:09.485Z

Reserved: 2021-08-31T00:00:00

Link: CVE-2021-40348

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2021-11-01T05:15:07.007

Modified: 2022-11-14T13:30:00.677

Link: CVE-2021-40348

cve-icon Redhat

No data.