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?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2019
- CVE-2019-3836It was discovered in gnutls before version 3.6.7 upstream th…5.9
- CVE-2019-3837It was found that the net_dma code in tcp_recvmsg() in the 2…6.1
- CVE-2019-3838It was found that the forceput operator could be extracted f…5.5
- CVE-2019-3839It was found that in ghostscript some privileged operators r…7.8
- CVE-2019-3840A NULL pointer dereference flaw was discovered in libvirt be…5.8
- CVE-2019-3841Kubevirt/virt-cdi-importer, versions 1.4.0 to 1.5.3 inclusiv…7.4
- CVE-2019-3843It was discovered that a systemd service that uses DynamicUs…7.8
- CVE-2019-3844It was discovered that a systemd service that uses DynamicUs…7.8
- CVE-2019-3845A lack of access control was found in the message queues mai…8
- CVE-2019-3846A flaw that allowed an attacker to corrupt memory and possib…8.8
- CVE-2019-3847A vulnerability was found in moodle before versions 3.6.3, 3…4.8
- CVE-2019-3848A vulnerability was found in moodle before versions 3.6.3, 3…4.3
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
