Skip to content
OpenAdvisories
Unscored CVE-2021-40348 EUVD-2021-27526GHSA-h847-jmmj-x7rc

Spacewalk 2.10, and derivatives such as Uyuni 2021.08, allows code injection. rhn-config-satellite.pl doesn't sanitize the configuration fi…

Published Nov 1, 2021 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SUSE Manager Server Module 4.2 cobbler 3.1.2-5.11.1 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.2 hub-xmlrpc-api 0.7-3.3.3 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.2 inter-server-sync 0.0.5-8.6.3 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.2 patterns-suse-manager 4.2-4.3.1 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.2 py26-compat-salt 2016.11.10-11.28.9.1 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.2 py26-compat-tornado 4.2.1-3.3.1 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.2 py27-compat-salt 3000.3-7.7.11.1 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.2 spacecmd 4.2.13-4.9.1 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.2 spacewalk-admin 4.2.9-3.6.2 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.2 spacewalk-backend 4.2.17-4.9.3 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.2 spacewalk-certs-tools 4.2.13-3.9.2 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.2 spacewalk-client-tools 4.2.14-4.9.3 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.2 spacewalk-java 4.2.30-3.14.4 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.2 spacewalk-utils 4.2.14-3.9.3 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.2 spacewalk-web 4.2.23-3.9.3 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.2 subscription-matcher 0.27-6.3.1 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.2 supportutils-plugin-susemanager 4.2.3-3.3.2 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.2 susemanager 4.2.25-3.13.1 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.2 susemanager-doc-indexes 4.2-12.11.3 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.2 susemanager-docs_en 4.2-12.11.1 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.2 susemanager-schema 4.2.18-3.9.3 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.2 susemanager-sls 4.2.18-3.11.1 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.2 susemanager-sync-data 4.2.9-3.9.1 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.2 virtualization-formulas 0.6.1-8.3.1 SUSE-SU-2021:3561-1
SUSE Manager Server Module 4.1 spacewalk-admin 4.1.10-3.15.1 SUSE-SU-2021:3562-1
SUSE Manager Server 4.2 release-notes-susemanager 4.2.3-3.19.1 SUSE-RU-2021:3551-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Manager Retail Branch Server 4.2 release-notes-susemanager-proxy 4.2.3-3.15.1 SUSE-RU-2021:3551-1
SUSE Manager Proxy 4.2 release-notes-susemanager-proxy 4.2.3-3.15.1 SUSE-RU-2021:3551-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 spacewalk-admin 2.10.1-1.0.1.el7 ELSA-2023-12331

Advisories 4

References