{
  "id": "CVE-2025-6018",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-6018",
  "published_at": "2025-07-23T14:58:59.75Z",
  "title": "Pam-config: lpe from unprivileged to allow_active in pam",
  "vendor": "Red Hat",
  "product": "Red Hat Enterprise Linux 7",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-07-03T10:03:54Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": -20.2,
    "repo": "iamgithubber/CVE-2025-6018-19-exploit",
    "source": "github"
  },
  "poc_repo_count": 12,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-863",
  "cpes": [
    "cpe:2.3:a:suse:pam-config:1.1.8-24.71.1:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [
    {
      "repo": "B1ack4sh/Blackash-CVE-2025-6018",
      "url": "https://github.com/B1ack4sh/Blackash-CVE-2025-6018",
      "created_at": null,
      "first_seen_at": "2026-11-14T21:44:13.198Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "ibrahmsql/CVE-2025-6018",
      "url": "https://github.com/ibrahmsql/CVE-2025-6018",
      "created_at": null,
      "first_seen_at": "2026-11-14T21:44:13.198Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "mistrust999/PAM-UDisks-PrivEsc-Metasploit",
      "url": "https://github.com/mistrust999/PAM-UDisks-PrivEsc-Metasploit",
      "created_at": "2025-06-27T19:46:05Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-08-31T03:28:44Z"
    },
    {
      "repo": "mistrustt/PAM-UDisks-PrivEsc-Metasploit",
      "url": "https://github.com/mistrustt/PAM-UDisks-PrivEsc-Metasploit",
      "created_at": "2025-06-27T19:46:05Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-08-31T03:28:44Z"
    },
    {
      "repo": "iamgithubber/CVE-2025-6018-19-exploit",
      "url": "https://github.com/iamgithubber/CVE-2025-6018-19-exploit",
      "created_at": "2025-07-03T10:03:54Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-10-16T07:04:22Z"
    },
    {
      "repo": "dreysanox/CVE-2025-6018_Poc",
      "url": "https://github.com/dreysanox/CVE-2025-6018_Poc",
      "created_at": "2025-07-03T12:45:55Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 6,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-02-23T10:02:34Z"
    },
    {
      "repo": "euxem/Analyse-faille-de-s-curit-CVE-2025-6018-CVE-2025-6019",
      "url": "https://github.com/euxem/Analyse-faille-de-s-curit-CVE-2025-6018-CVE-2025-6019",
      "created_at": "2025-11-30T14:21:22Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-11-22T07:43:54Z"
    },
    {
      "repo": "AzureADTrent/CVE-2025-6018-and-CVE-2025-6019-Privilege-Escalation",
      "url": "https://github.com/AzureADTrent/CVE-2025-6018-and-CVE-2025-6019-Privilege-Escalation",
      "created_at": "2026-02-09T04:41:18Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2014-07-26T23:24:34Z"
    },
    {
      "repo": "muyuanlove/CVE-2025-6018-CVE-2025-6019-Privilege-Escalation-Exploit",
      "url": "https://github.com/muyuanlove/CVE-2025-6018-CVE-2025-6019-Privilege-Escalation-Exploit",
      "created_at": "2026-02-09T08:01:28Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 12,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-07-23T17:46:15Z"
    },
    {
      "repo": "0rionCollector/Exploit-Chain-CVE-2025-6018-6019",
      "url": "https://github.com/0rionCollector/Exploit-Chain-CVE-2025-6018-6019",
      "created_at": "2026-02-09T13:44:36Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 4,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-05-28T08:19:08Z"
    },
    {
      "repo": "MichaelVenturella/CVE-2025-6018-6019-PoC",
      "url": "https://github.com/MichaelVenturella/CVE-2025-6018-6019-PoC",
      "created_at": "2026-02-09T19:17:23Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 16,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-10-23T02:24:10Z"
    },
    {
      "repo": "symphony2colour/CVE-2025-6019-udisks-lpe-no-image",
      "url": "https://github.com/symphony2colour/CVE-2025-6019-udisks-lpe-no-image",
      "created_at": "2026-02-10T09:29:32Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "unrelated",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-11-03T16:54:04Z"
    },
    {
      "repo": "Goultarde/CVE-2025-6018_CVE-2025-6019_autopwn",
      "url": "https://github.com/Goultarde/CVE-2025-6018_CVE-2025-6019_autopwn",
      "created_at": "2026-02-10T20:30:26Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 4,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-10-31T10:03:48Z"
    },
    {
      "repo": "matesz44/CVE-2025-6018-19",
      "url": "https://github.com/matesz44/CVE-2025-6018-19",
      "created_at": "2026-02-11T00:51:31Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-06-07T08:04:19Z"
    },
    {
      "repo": "DesertDemons/CVE-2025-6018-6019",
      "url": "https://github.com/DesertDemons/CVE-2025-6018-6019",
      "created_at": "2026-02-12T20:40:19Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 5,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-02-01T14:51:51Z"
    },
    {
      "repo": "localh0ste/CVE-2025-6018-and-CVE-2025-6019",
      "url": "https://github.com/localh0ste/CVE-2025-6018-and-CVE-2025-6019",
      "created_at": "2026-02-13T14:09:16Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-09-12T13:39:35Z"
    },
    {
      "repo": "MaxKappa/opensuse-leap-privesc-exploit",
      "url": "https://github.com/MaxKappa/opensuse-leap-privesc-exploit",
      "created_at": "2026-02-14T18:00:01Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-10-11T12:58:25Z"
    },
    {
      "repo": "iOxsec/CVE-2025-6018-CVE-2025-6019-Privilege-Escalation-Exploit",
      "url": "https://github.com/iOxsec/CVE-2025-6018-CVE-2025-6019-Privilege-Escalation-Exploit",
      "created_at": "2026-02-22T14:43:56Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-04-11T05:10:25Z"
    },
    {
      "repo": "e1arth/CVE-2025-6018",
      "url": "https://github.com/e1arth/CVE-2025-6018",
      "created_at": "2026-03-02T06:34:10Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-07-20T02:29:55Z"
    },
    {
      "repo": "V0idW1re/HTB-Pterodactyl-Writeup",
      "url": "https://github.com/V0idW1re/HTB-Pterodactyl-Writeup",
      "created_at": "2026-04-08T17:53:18Z",
      "first_seen_at": "2026-11-15T01:46:12.516Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "README gives an archive password"
      ],
      "status": "analyzed",
      "owner_created_at": "2022-01-18T02:11:25Z"
    },
    {
      "repo": "m0r4a/CVE-2026-6018-9-Local-Privilege-Escalation-Chain",
      "url": "https://github.com/m0r4a/CVE-2026-6018-9-Local-Privilege-Escalation-Chain",
      "created_at": "2026-04-23T04:41:44Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-05-14T04:20:05Z"
    },
    {
      "repo": "karimelsheikh1/HTB-Pterodactyl-Writeup",
      "url": "https://github.com/karimelsheikh1/HTB-Pterodactyl-Writeup",
      "created_at": "2026-04-24T02:25:39Z",
      "first_seen_at": "2026-11-15T02:31:15.731Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "README gives an archive password"
      ],
      "status": "analyzed",
      "owner_created_at": "2025-08-01T12:04:40Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "",
        "ranges": [
          "\u003c 1.1.8-24.71.1"
        ],
        "fixed_in": [
          "1.1.8-24.71.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade the affected product to 1.1.8-24.71.1 or later."
    ],
    "workarounds": [
      "Currently, there is no mitigation available for this vulnerability."
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/52386",
      "source": "exploitdb",
      "title": "Linux PAM Environment - Variable Injection Local Privilege Escalation",
      "published_at": "2025-07-28T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/exploit.img",
      "ports": [
        8000
      ],
      "protocol": "http",
      "repos": [
        "iamgithubber/CVE-2025-6018-19-exploit"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "iamgithubber/CVE-2025-6018-19-exploit/victem.sh:14"
      ]
    }
  ],
  "rules": []
}
