Vulnerabilities · 2019 · Systemd Project
CVE-2019-3842
Systemd Project Systemd vulnerability
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".
Affected products
Systemd, Enterprise Linux, Fedora, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Systemd Project Systemd runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- lists.opensuse.org/opensuse-security-announce/2019-05/msg00062.html · Third Party Advisory
- packetstormsecurity.com/files/152610/systemd-Seat-Verification-Active-Session-Spoofing.htm · Exploit
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3842 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2019/04/msg00022.html · Third Party Advisory
- www.exploit-db.com/exploits/46743/ · Exploit
- lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%
- lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S
- nvd.nist.gov/vuln/detail/CVE-2019-3842
- cve.org/CVERecord?id=CVE-2019-3842
More vulnerabilities in Systemd Project products
CVE-2025-4598CVE-2023-31439CVE-2023-31438CVE-2023-31437CVE-2023-26604CVE-2023-7008CVE-2022-45873CVE-2022-4415All 48
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.