Vulnerability: Privilege Escalation via Improper Sanitization of XDG_SEAT Environment Variable in systemd

Vulnerability: Privilege Escalation via Improper Sanitization of XDG_SEAT Environment Variable in systemd

CVE-2019-3842 · HIGH Severity

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

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".

Learn more about our Web Application Penetration Testing UK.