Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-6018— Pam-config: lpe from unprivileged to allow_active in pam

Quick assessment

Affected
CVE-2025-6018
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux-pam是Linux团队的一款用于Linux的支持插拔式的系统身份验证软件。 Linux-pam存在安全漏洞,该漏洞源于权限管理不当,可能导致本地权限提升。

CVSS 7.8 · High EPSS 1.02% · P61

Public Exploits 1

ExploitDB · 1 EDB-52386 [local]

Possible ATT&CK Techniques 1 AI

T1078 · Valid Accounts

Affected Version Matrix 4

VendorProduct Version RangeStatus
None None < 1.1.8-24.71.1 affected
Red Hat Red Hat Enterprise Linux 7 any unaffected
Red Hat Red Hat Enterprise Linux 8 any unaffected
Red Hat Red Hat Enterprise Linux 9 any unaffected

I. Basic Information for CVE-2025-6018

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Pam-config: lpe from unprivileged to allow_active in pam
Source: CVE Program / CVE List V5
Vulnerability Description
A Local Privilege Escalation (LPE) vulnerability has been discovered in pam-config within Linux Pluggable Authentication Modules (PAM). This flaw allows an unprivileged local attacker (for example, a user logged in via SSH) to obtain the elevated privileges normally reserved for a physically present, "allow_active" user. The highest risk is that the attacker can then perform all allow_active yes Polkit actions, which are typically restricted to console users, potentially gaining unauthorized control over system configurations, services, or other sensitive operations.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
授权机制不正确
Source: CVE Program / CVE List V5
Vulnerability Title
Linux-pam 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux-pam是Linux团队的一款用于Linux的支持插拔式的系统身份验证软件。 Linux-pam存在安全漏洞,该漏洞源于权限管理不当,可能导致本地权限提升。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
- - 0 ~ 1.1.8-24.71.1 -
Red Hat Red Hat Enterprise Linux 7 - cpe:/o:redhat:enterprise_linux:7
Red Hat Red Hat Enterprise Linux 8 - cpe:/o:redhat:enterprise_linux:8
Red Hat Red Hat Enterprise Linux 9 - cpe:/o:redhat:enterprise_linux:9

II. Public POCs for CVE-2025-6018

# POC Description Source Link Shenlong Link
1 None https://github.com/iamgithubber/CVE-2025-6018-19-exploit POC Details
2 Exploit for CVE-2025-6019 https://github.com/dreysanox/CVE-2025-6018_Poc POC Details
3 CVE-2025-6018 Poc and Exploit https://github.com/ibrahmsql/CVE-2025-6018 POC Details
4 CVE-2025-6018 https://github.com/B1ack4sh/Blackash-CVE-2025-6018 POC Details
5 CVE-2025-6018 https://github.com/Ashwesker/Blackash-CVE-2025-6018 POC Details
6 None https://github.com/euxem/Analyse-faille-de-s-curit-CVE-2025-6018-CVE-2025-6019 POC Details
7 CVE-2025-6018 https://github.com/Ashwesker/Ashwesker-CVE-2025-6018 POC Details
8 This is just a quick note on how to exploit these vulnerabilities to get root. https://github.com/AzureADTrent/CVE-2025-6018-and-CVE-2025-6019-Privilege-Escalation POC Details
9 CVE-2025-6018 + CVE-2025-6019 Privilege Escalation Exploit https://github.com/muyuanlove/CVE-2025-6018-CVE-2025-6019-Privilege-Escalation-Exploit POC Details
10 Exploit Chain of CVE-2025-6018 to CVE-2025-6019 https://github.com/0rionCollector/Exploit-Chain-CVE-2025-6018-6019 POC Details
11 A Proof of Concept for chaining CVE-2025-6018 (PAM/Polkit Active Session Bypass) and CVE-2025-6019 (libblockdev SUID Mount Flaw) to achieve Local Privilege Escalation (LPE) on vulnerable Linux systems. https://github.com/MichaelVenturella/CVE-2025-6018-6019-PoC POC Details
12 Auto exploit for CVE-2025-6018 & CVE-2025-6019 based on https://github.com/0rionCollector/Exploit-Chain-CVE-2025-6018-6019 https://github.com/Goultarde/CVE-2025-6018_CVE-2025-6019_autopwn POC Details
13 CVE-2025-6018 (pam LPE unpriv->allow_active), CVE-2025-6019 (udisks LPE allow_active->root) in sh https://github.com/matesz44/CVE-2025-6018-19 POC Details
14 CVE-2025-6018 CVE-2025-6019 PoC Exploit - Local Privilege Escalation in openSUSE/SUSE Linux Enterprise 15 - PAM bypass + udisks2 XFS race condition LPE to root https://github.com/DesertDemons/CVE-2025-6018-6019 POC Details
15 Vulnerability chaining leads to privilege escalation https://github.com/localh0ste/CVE-2025-6018-and-CVE-2025-6019 POC Details
16 Privilege escalation exploit chain (CVE-2025-6018 + CVE-2025-6019) for openSUSE Leap 15.6 https://github.com/MaxKappa/opensuse-leap-privesc-exploit POC Details
17 None https://github.com/iOxsec/CVE-2025-6018-CVE-2025-6019-Privilege-Escalation-Exploit POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-6018

登录查看更多情报信息。

Vendor Advisories for CVE-2025-6018 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-6018

Anonymous User
2026-01-15 06:08:48

Zaproxy alias impedit expedita quisquam pariatur exercitationem. Nemo rerum eveniet dolores rem quia dignissimos.


Leave a comment