CVE-2021-40348

CVSS V2 High 9.3 CVSS V3 High 8.8
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.
Overview
  • CVE ID
  • CVE-2021-40348
  • Assigner
  • cve@mitre.org
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2021-11-01T05:15:07
  • Last Modified Date
  • 2022-11-14T13:30:00
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:uyuni-project:uyuni:2021.08:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:spacewalk_project:spacewalk:2.10:*:*:*:*:*:*:* 1 OR
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:M/Au:N/C:C/I:C/A:C
  • Access Vector
  • NETWORK
  • Access Compatibility
  • MEDIUM
  • Authentication
  • NONE
  • Confidentiality Impact
  • COMPLETE
  • Integrity Impact
  • COMPLETE
  • Availability Impact
  • COMPLETE
  • Base Score
  • 9.3
  • Severity
  • HIGH
  • Exploitability Score
  • 8.6
  • Impact Score
  • 10
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • REQUIRED
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • HIGH
  • Base Score
  • 8.8
  • Base Severity
  • HIGH
  • Exploitability Score
  • 2.8
  • Impact Score
  • 5.9
References
Reference URL Reference Tags
http://www.openwall.com/lists/oss-security/2021/10/28/4 Exploit Mailing List Patch Third Party Advisory
https://github.com/uyuni-project/uyuni/commit/790c7388efac6923c5475e01c1ff718dffa9f052 Patch Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 06:43:00 Added to TrackCVE
2022-12-05 13:33:35 2021-11-01T05:15Z 2021-11-01T05:15:07 CVE Published Date updated
2022-12-05 13:33:35 2022-11-14T13:30:00 CVE Modified Date updated
2022-12-05 13:33:35 Analyzed Vulnerability Status updated