CVE-2019-3842 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 configu...
HighCVSS 7.0
EPSS 1.2%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
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".
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/systemd(Debian:12) | < 241-3 | 241-3 |
| debian/systemd(Debian:13) | < 241-3 | 241-3 |
| debian/systemd(Debian:14) | < 241-3 | 241-3 |
| systemd project systemd | <= 241 | No fix listed |
| systemd project systemd | = 242-rc1 | No fix listed |
| systemd project systemd | = 242-rc2 | No fix listed |
| systemd project systemd | = 242-rc3 | No fix listed |
| redhat enterprise linux | = 7.0 | No fix listed |
| fedoraproject fedora | = 30 | No fix listed |
| debian linux | = 8.0 | No fix listed |
| The systemd Project systemd | = v242-rc4 | No fix listed |
References
- Debian Security Tracker CVE-2019-3842 vendor-advisory
- openSUSE-SU-2019:1450 third-party-advisory vendor-advisory
- packetstormsecurity.com exploit third-party-advisory vdb-entry
- bugzilla.redhat.com issue-tracking third-party-advisory
- [bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list
- [bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list
- [debian-lts-announce] 20190424 [SECURITY] [DLA 1762-1] systemd security update mailing-list third-party-advisory
- FEDORA-2019-3fa5db9e19 vendor-advisory
- 46743 exploit third-party-advisory vdb-entry