CVEvulnerability

CVE-2019-3842

7.0 HIGH Published 2019-04-09 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2019-04-09
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.0 HIGH — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.0 ([email protected])
4.5 MEDIUM — CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
CVSS 2.0 ([email protected])
4.4 MEDIUM — AV:L/AC:M/Au:N/C:P/I:P/A:P
Weaknesses
CWE-285, CWE-863

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 configurations

• systemd project systemd (<= 241) • systemd project systemd 242 • redhat enterprise linux 7.0 • fedoraproject fedora 30 • debian debian linux 8.0

Related

Weakness · CWE (2)

  • CWE-285 Improper Authorization weakness
  • CWE-863 Incorrect Authorization weakness

References