CVE-2024-5138
Snapd snapctl Privilege Escalation Allowance
Description
The snapctl component within snapd allows a confined snap to interact with the snapd daemon to take certain privileged actions on behalf of the snap. It was found that snapctl did not properly parse command-line arguments, allowing an unprivileged user to trigger an authorised action on behalf of the snap that would normally require administrator privileges to perform. This could possibly allow an unprivileged user to perform a denial of service or similar.
INFO
Published Date :
May 31, 2024, 9:15 p.m.
Last Modified :
Nov. 21, 2024, 9:47 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.2
Exploitability Score :
2.8
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-2024-5138
.
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-2024-5138
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-5138
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 af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://bugs.launchpad.net/snapd/+bug/2065077 Added Reference https://github.com/snapcore/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14 Added Reference https://github.com/snapcore/snapd/security/advisories/GHSA-p9v8-q5m4-pf46 Added Reference https://www.cve.org/CVERecord?id=CVE-2024-5138 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Sep. 06, 2024
Action Type Old Value New Value Added CWE CISA-ADP CWE-20 Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H -
CVE Modified by [email protected]
Jun. 19, 2024
Action Type Old Value New Value -
CVE Received by [email protected]
May. 31, 2024
Action Type Old Value New Value Added Description The snapctl component within snapd allows a confined snap to interact with the snapd daemon to take certain privileged actions on behalf of the snap. It was found that snapctl did not properly parse command-line arguments, allowing an unprivileged user to trigger an authorised action on behalf of the snap that would normally require administrator privileges to perform. This could possibly allow an unprivileged user to perform a denial of service or similar. Added Reference Canonical Ltd. https://github.com/snapcore/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14 [No types assigned] Added Reference Canonical Ltd. https://bugs.launchpad.net/snapd/+bug/2065077 [No types assigned] Added Reference Canonical Ltd. https://www.cve.org/CVERecord?id=CVE-2024-5138 [No types assigned] Added Reference Canonical Ltd. https://github.com/snapcore/snapd/security/advisories/GHSA-p9v8-q5m4-pf46 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-5138
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-2024-5138
weaknesses.