1. CVE archive
  2. 2018
  3. CVE-2018-16888

CVE-2018-16888

4.7 Medium severity CVSS v3.1 · source NVD CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H 4.7 – Medium

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.

Affected products

VendorProductVersionPlatform
canonical ubuntu linux 16.04 –
canonical ubuntu linux 18.04 –
canonical ubuntu linux 19.10 –
netapp active iq performance analytics services all –
netapp element software all –
redhat enterprise linux 7.0 –
systemd project systemd < 237 –
All 55 Systemd Project Systemd vulnerabilities

Vulnerability type

CWE-269 Improper Privilege Management

The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.

Impact on systems

ScopeImpact
Access Control Gain Privileges or Assume Identity

How to prevent it

Architecture and Design · Operation Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
Architecture and Design · Separation of Privilege Follow the principle of least privilege when assigning access rights to entities in a software system.
Architecture and Design · Separation of Privilege Consider following the principle of separation of privilege. Require multiple conditions to be met before permitting access to a system resource.

All 4,417 CWE-269 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org