Cybersecurity researchers have uncovered two native privilege escalation (LPE) flaws that could possibly be exploited to achieve root privileges on machines working main Linux distributions.
The vulnerabilities, found by Qualys, are listed beneath –
- CVE-2025-6018 – LPE from unprivileged to allow_active in SUSE 15’s Pluggable Authentication Modules (PAM)
- CVE-2025-6019 – LPE from allow_active to root in libblockdev by way of the udisks daemon
“These trendy ‘local-to-root’ exploits have collapsed the hole between an odd logged-in person and a full system takeover,” Saeed Abbasi, Senior Supervisor at Qualys Risk Analysis Unit (TRU), stated.
“By chaining reliable companies corresponding to udisks loop-mounts and PAM/setting quirks, attackers who personal any lively GUI or SSH session can vault throughout polkit’s allow_active belief zone and emerge as root in seconds.”
The cybersecurity firm stated CVE-2025-6018 is current within the PAM configuration of openSUSE Leap 15 and SUSE Linux Enterprise 15, enabling an unprivileged native attacker to raise to the “allow_active” person and name Polkit actions which are in any other case reserved for a bodily current person.
CVE-2025-6019, however, impacts libblockdev and is exploitable by way of the udisks daemon included by default on most Linux distributions. It primarily permits an “allow_active” person to achieve full root privileges by chaining it with CVE-2025-6018.
“Though it nominally requires ‘allow_active’ privileges, udisks ships by default on nearly all Linux distributions, so almost any system is weak,” Abbasi added. “Methods to achieve ‘allow_active,’ together with the PAM problem disclosed right here, additional negate that barrier.”
As soon as root privileges are obtained, an attacker has carte blanche entry to the system, permitting them use it as a springboard for broader post-compromise actions, corresponding to altering safety controls and implanting backdoors for covert entry.
Qualys stated it has developed proof-of-concept (PoC) exploits to verify the presence of those vulnerabilities on varied working techniques, together with Ubuntu, Debian, Fedora, and openSUSE Leap 15.
To mitigate the chance posed by these flaws, it is important to use patches supplied by the Linux distribution distributors. As momentary workarounds, customers can modify the Polkit rule for “org.freedesktop.udisks2.modify-device” to require administrator authentication (“auth_admin”).
Flaw Disclosed in Linux PAM
The disclosure comes as maintainers of Linux PAM resolved a high-severity path traversal flaw (CVE-2025-6020, CVSS rating: 7.8) that would additionally enable a neighborhood person to escalate to root privileges. The problem has been mounted in model 1.7.1.
“The module pam_namespace in linux-pam stated.
Linux techniques are weak in the event that they use pam_namespace to arrange polyinstantiated directories for which the trail to both the polyinstantiated listing or occasion listing is below user-control. As workarounds for CVE-2025-6020, customers can disable pam_namespace or guarantee it doesn’t function on user-controlled paths.
ANSSI’s Olivier Bal-Petre, who reported the flaw to the maintainer on January 29, 2025, stated customers must also replace their namespace.init script if they don’t use the one supplied by their distribution to make sure that the both of two paths are protected to function on as root.