CVE-2018-16888

systemd: kills privileged process if unprivileged PIDFile was tampered

Published Jan 14, 2019 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
Description
It was discovered systemd does not correctly check the content of PIDFile files before using it to kill processes. When a service is run from an unprivileged user (e.g. User field set in the service file), a local attacker who is able to write to the PIDFile of the mentioned service may use this flaw to trick systemd into killing other services and/or privileged processes. Versions before v237 are vulnerable.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2018-8676 It was discovered systemd does not correctly check the content of PIDFile files before using it to kill processes. When a service is run from an unprivileged user (e.g. User field set in the service file), a local attacker who is able to write to the PIDFile of the mentioned service may use this flaw to trick systemd into killing other services and/or privileged processes. Versions before v237 are vulnerable.
Ubuntu USN Ubuntu USN USN-4269-1 systemd vulnerabilities
History

No history.

Weaknesses
  • CWE-250

    Execution with Unnecessary Privileges

  • CWE-269

    Improper Privilege Management

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 5, 2024, 10:39 AM
Reserved
Sep 11, 2018, 12:00 AM
Status
Modified
Published
Jan 14, 2019, 10:29 PM
Modified
Jun 17, 2026, 1:45 AM
Severity
Low
Public date
Aug 17, 2017, 12:00 AM