Jun 19, 2025Ravie LakshmananLinux / Vulnerability
Cybersecurity researchers have uncovered two native privilege escalation (LPE) flaws that might 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 through the udisks daemon
“These fashionable ‘local-to-root’ exploits have collapsed the hole between an peculiar logged-in consumer and a full system takeover,” Saeed Abbasi, Senior Supervisor at Qualys Menace Analysis Unit (TRU), mentioned.
“By chaining legit companies equivalent to udisks loop-mounts and PAM/setting quirks, attackers who personal any energetic GUI or SSH session can vault throughout polkit’s allow_active belief zone and emerge as root in seconds.”
The cybersecurity firm mentioned 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” consumer and name Polkit actions which might be in any other case reserved for a bodily current consumer.
CVE-2025-6019, alternatively, impacts libblockdev and is exploitable through the udisks daemon included by default on most Linux distributions. It primarily permits an “allow_active” consumer 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 practically any system is susceptible,” Abbasi added. “Methods to achieve ‘allow_active,’ together with the PAM situation 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, equivalent to altering safety controls and implanting backdoors for covert entry.
Qualys mentioned it has developed proof-of-concept (PoC) exploits to verify the presence of those vulnerabilities on numerous working methods, together with Ubuntu, Debian, Fedora, and openSUSE Leap 15.
To mitigate the danger posed by these flaws, it is important to use patches supplied by the Linux distribution distributors. As short-term 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 permit an area consumer to escalate to root privileges. The difficulty has been fastened in model 1.7.1.
“The module pam_namespace in linux-pam <= 1.7.0 might entry user-controlled paths with out correct protections, which permits an area consumer to raise their privileges to root through a number of symlink assaults and race situations,” Linux PAM maintainer Dmitry V. Levin mentioned.
Linux methods are susceptible 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 underneath 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, mentioned 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.
Discovered this text fascinating? Observe us on Twitter and LinkedIn to learn extra unique content material we publish.