CVE-2025-6018: Linux PAM pam-config - Privilege Escalation
- Cve: CVE-2025-6018
- Name: Linux PAM pam-config - Privilege Escalation
- 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.
- Impact: Local attackers can gain elevated privileges to perform restricted Polkit actions, potentially controlling system configurations and services.
- Remediation: Update to the latest version of pam-config with the security fix.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker must have local user access (e.g., logged in via SSH).
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01102
- Epss percentile: 0.66393
- Assignee: [email protected]
- Published at: 2025-07-23T15:15:34Z
- Age in days: 489
- Modified at: 2026-11-23T16:17:25Z
- Public exploits total: 16
- References total: 5
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-6018
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-863 | Incorrect Authorization |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://bugzilla.suse.com/show_bug.cgi?id=1243226 | nvd | 2025-07-23 |
| https://cdn2.qualys.com/2025/06/17/suse15-pam-udisks-lpe.txt | nvd | 2025-07-23 |
| https://github.com/e1arth/CVE-2025-6018 | poc-in-github | 2026-03-02 |
| https://github.com/iOxsec/CVE-2025-6018-CVE-2025-6019-Privilege-Escalation-Exploit | poc-in-github | 2026-02-22 |
| https://github.com/MaxKappa/opensuse-leap-privesc-exploit | poc-in-github | 2026-02-14 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://bugzilla.suse.com/show_bug.cgi?id=1243226 | Exploit, Third Party Advisory |
| https://cdn2.qualys.com/2025/06/17/suse15-pam-udisks-lpe.txt | Exploit, Issue Tracking, Third Party Advisory |
| https://access.redhat.com/security/cve/CVE-2025-6018 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2372693 | Issue Tracking, Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2025/08/28/4 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| suse:pam-config | = 1.1.8-24.71.1 | no | nvd | /v1/products/suse/pam-config |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 16
- Public exploit first date: 2025-07-03
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts