CVE-2019-3842
Last modified
CVE-2019-3842 is a high-severity vulnerability rated 7/10 on the CVSS scale. 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".. EPSS estimates a 1.22% chance of exploitation in the next 30 days.
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".
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Systemd Project | Systemd | <= 241 | — |
| Systemd Project | Systemd | 242 | Rc1 |
| Redhat | Enterprise Linux | 7.0 | — |
| Fedoraproject | Fedora | 30 | — |
| Debian | Debian Linux | 8.0 | — |
References
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00062.htmlThird Party Advisory
- http://packetstormsecurity.com/files/152610/systemd-Seat-Verification-Active-Session-Spoofing.htmlExploit, Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3842Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/04/msg00022.htmlThird Party Advisory
- https://www.exploit-db.com/exploits/46743/Exploit, Third Party Advisory, VDB Entry
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00062.htmlThird Party Advisory
- http://packetstormsecurity.com/files/152610/systemd-Seat-Verification-Active-Session-Spoofing.htmlExploit, Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3842Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/04/msg00022.htmlThird Party Advisory
- https://www.exploit-db.com/exploits/46743/Exploit, Third Party Advisory, VDB Entry
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-3842?
How severe is CVE-2019-3842?
How do I fix CVE-2019-3842?
Are you affected by CVE-2019-3842?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
