CVE-2021-40348
Spacewalk Code Injection
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.
INFO
Published Date :
Nov. 1, 2021, 5:15 a.m.
Last Modified :
Nov. 14, 2022, 1:30 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
Affected Products
The following products are affected by CVE-2021-40348
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-40348
.
URL | Resource |
---|---|
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 |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-40348
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-40348
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CPE Deprecation Remap by [email protected]
Nov. 14, 2022
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:uyuni_project:uyuni:2021.08:*:*:*:*:*:*:* OR *cpe:2.3:a:uyuni-project:uyuni:2021.08:*:*:*:*:*:*:* -
Modified Analysis by [email protected]
Dec. 04, 2021
Action Type Old Value New Value Changed Reference Type https://github.com/uyuni-project/uyuni/commit/790c7388efac6923c5475e01c1ff718dffa9f052 No Types Assigned https://github.com/uyuni-project/uyuni/commit/790c7388efac6923c5475e01c1ff718dffa9f052 Patch, Third Party Advisory Changed CPE Configuration OR *cpe:2.3:a:spacewalk_project:spacewalk:2.10:*:*:*:*:*:*:* *cpe:2.3:a:uyuni_project:uyuni:2021.08:*:*:*:*:*:*:* OR *cpe:2.3:a:uyuni_project:uyuni:2021.08:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:a:spacewalk_project:spacewalk:2.10:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Nov. 04, 2021
Action Type Old Value New Value Added Reference https://github.com/uyuni-project/uyuni/commit/790c7388efac6923c5475e01c1ff718dffa9f052 [No Types Assigned] -
Initial Analysis by [email protected]
Nov. 02, 2021
Action Type Old Value New Value Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:C/I:C/A:C) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Changed Reference Type http://www.openwall.com/lists/oss-security/2021/10/28/4 No Types Assigned http://www.openwall.com/lists/oss-security/2021/10/28/4 Exploit, Mailing List, Patch, Third Party Advisory Added CWE NIST CWE-94 Added CPE Configuration OR *cpe:2.3:a:spacewalk_project:spacewalk:2.10:*:*:*:*:*:*:* *cpe:2.3:a:uyuni_project:uyuni:2021.08:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-40348
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-40348
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.23 }} 0.00%
score
0.61353
percentile