Environment Variable Misconfiguration in systemd Affects Linux Distributions
CVE-2019-3842

4.5MEDIUM

Key Information:

Status
Vendor
CVE Published:
9 April 2019

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

What is CVE-2019-3842?

A flaw was identified in systemd prior to version 242-rc4 where pam_systemd fails to adequately sanitize the environment before processing the XDG_SEAT variable. In certain configurations, this vulnerability could enable an attacker to manipulate the XDG_SEAT environment variable, potentially facilitating unauthorized command checks against polkit policies with elevated privileges. This misconfiguration heightens the risk of security breaches, allowing for exploitable scenarios in environments utilizing systemd.

Affected Version(s)

systemd v242-rc4

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V3.1

Score:
4.5
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Local
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

CVSS V3.0

Score:
4.5
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Local
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

.