{"id":"CVE-2019-3842","published":"2019-04-09T20:25:01Z","modified":"2025-06-09T15:47:28Z","title":"In systemd before v242-rc4, it was discovered that pam_systemd does not properly sanitize the environment before using…","vendor":"The systemd Project","product":"systemd","tier":"tail","description":{"text":"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\".","provenance":"source","from":"CVE.org"},"cvss":{"score":4.5,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01207,"percentile":0.69103,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3842","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/STR36RJE4ZZIORMDXRERVBHMPRNRTHAC/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://www.exploit-db.com/exploits/46743/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://packetstormsecurity.com/files/152610/systemd-Seat-Verification-Active-Session-Spoofing.html","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/04/msg00022.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00062.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":22.0,"factors":[{"name":"EPSS percentile","points":13.82},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.15}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2019-04-23"},"first":{"date":"2019-04-23","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/46743"},"provenance":"source"},"vendorSlug":"the-systemd-project","affectedVersions":[{"vendor":"The systemd Project","product":"systemd","versions":["v242-rc4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-09T15:47:18.222753Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2019-13462","exploited":false,"provenance":"source"},"exploits":[{"id":46743,"url":"https://www.exploit-db.com/exploits/46743","title":"systemd - Lack of Seat Verification in PAM Module Permits Spoofing Active Session to polkit","date":"2019-04-23","verified":true,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/46743/","http://packetstormsecurity.com/files/152610/systemd-Seat-Verification-Active-Session-Spoofing.html"]}