CVE Vulnerabilities

CVE-2019-3689

Incorrect Default Permissions

Published: Sep 19, 2019 | Modified: Nov 07, 2023
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
10 HIGH
AV:N/AC:L/Au:N/C:C/I:C/A:C
RedHat/V2
RedHat/V3
9.8 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Ubuntu
LOW

The nfs-utils package in SUSE Linux Enterprise Server 12 before and including version 1.3.0-34.18.1 and in SUSE Linux Enterprise Server 15 before and including version 2.1.1-6.10.2 the directory /var/lib/nfs is owned by statd:nogroup. This directory contains files owned and managed by root. If statd is compromised, it can therefore trick processes running with root privileges into creating/overwriting files anywhere on the system.

Weakness

During installation, installed file permissions are set to allow anyone to modify those files.

Affected Software

Name Vendor Start Version End Version
Nfs-utils Linux-nfs * 1.3.0-34.18.1 (including)
Nfs-utils Ubuntu bionic *
Nfs-utils Ubuntu devel *
Nfs-utils Ubuntu disco *
Nfs-utils Ubuntu eoan *
Nfs-utils Ubuntu esm-infra-legacy/trusty *
Nfs-utils Ubuntu focal *
Nfs-utils Ubuntu groovy *
Nfs-utils Ubuntu hirsute *
Nfs-utils Ubuntu impish *
Nfs-utils Ubuntu jammy *
Nfs-utils Ubuntu kinetic *
Nfs-utils Ubuntu lunar *
Nfs-utils Ubuntu mantic *
Nfs-utils Ubuntu noble *
Nfs-utils Ubuntu oracular *
Nfs-utils Ubuntu precise/esm *
Nfs-utils Ubuntu trusty *
Nfs-utils Ubuntu trusty/esm *
Nfs-utils Ubuntu upstream *
Nfs-utils Ubuntu xenial *

Potential Mitigations

  • Compartmentalize the system to have “safe” areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
  • Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

References