CVE-2025-6019
Libblockdev Polkit Local Privilege Escalation
Description
A Local Privilege Escalation (LPE) vulnerability was found in libblockdev. Generally, the "allow_active" setting in Polkit permits a physically present user to take certain actions based on the session type. Due to the way libblockdev interacts with the udisks daemon, an "allow_active" user on a system may be able escalate to full root privileges on the target host. Normally, udisks mounts user-provided filesystem images with security flags like nosuid and nodev to prevent privilege escalation. However, a local attacker can create a specially crafted XFS image containing a SUID-root shell, then trick udisks into resizing it. This mounts their malicious filesystem with root privileges, allowing them to execute their SUID-root shell and gain complete control of the system.
INFO
Published Date :
June 19, 2025, 12:15 p.m.
Last Modified :
June 21, 2025, 11:15 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.0
Public PoC/Exploit Available at Github
CVE-2025-6019 has a 4 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2025-6019
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.
No affected product recoded yet
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-2025-6019
.
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).
Security, sysadmin, and automation scripts for Linux, Windows, and more. Open source & GPL v2
Shell
exploit
Shell
None
Shell
Config files for my GitHub profile.
config github-config
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-6019
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-6019
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]
Jun. 21, 2025
Action Type Old Value New Value Added Reference https://cdn2.qualys.com/2025/06/17/suse15-pam-udisks-lpe.txt -
New CVE Received by [email protected]
Jun. 19, 2025
Action Type Old Value New Value Added Description A Local Privilege Escalation (LPE) vulnerability was found in libblockdev. Generally, the "allow_active" setting in Polkit permits a physically present user to take certain actions based on the session type. Due to the way libblockdev interacts with the udisks daemon, an "allow_active" user on a system may be able escalate to full root privileges on the target host. Normally, udisks mounts user-provided filesystem images with security flags like nosuid and nodev to prevent privilege escalation. However, a local attacker can create a specially crafted XFS image containing a SUID-root shell, then trick udisks into resizing it. This mounts their malicious filesystem with root privileges, allowing them to execute their SUID-root shell and gain complete control of the system. Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-250 Added Reference https://access.redhat.com/security/cve/CVE-2025-6019 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2370051 -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Jun. 19, 2025
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2025/06/17/5 Added Reference http://www.openwall.com/lists/oss-security/2025/06/17/6 Added Reference http://www.openwall.com/lists/oss-security/2025/06/18/1 Added Reference https://lists.debian.org/debian-lts-announce/2025/06/msg00018.html
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-6019
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-2025-6019
weaknesses.