CVE-2019-3842
HIGHsystemd < 242-rc4 - Improper Authorization via XDG_SEAT Environment Variable
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2019-3842. PoCs published by Google Security Research.
AI-analyzed exploit summary This exploit leverages environment variable manipulation in pam_systemd to bypass polkit authentication policies by spoofing a local console session. It demonstrates privilege escalation by tricking systemd-logind into treating an SSH session as a local active session.
Description
In systemd before v242-rc4, it was discovered that pam_systemd does not properly sanitize the environment before using the XDG_SEAT variable. It is possible for an attacker, in some particular configurations, to set a XDG_SEAT environment variable which allows for commands to be checked against polkit policies using the "allow_active" element rather than "allow_any".
Exploits (1)
This exploit leverages environment variable manipulation in pam_systemd to bypass polkit authentication policies by spoofing a local console session. It demonstrates privilege escalation by tricking systemd-logind into treating an SSH session as a local active session.
References (8)
Scores
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H