CVE Vulnerabilities

CVE-2023-5536

Incorrect Default Permissions

Published: Dec 12, 2023 | Modified: Nov 21, 2024
CVSS 3.x
6.4
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

A feature in LXD (LP#1829071), affects the default configuration of Ubuntu Server which allows privileged users in the lxd group to escalate their privilege to root without requiring a sudo password.

Weakness

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

Affected Software

Name Vendor Start Version End Version
Ubuntu_linux Canonical * 24.04 (excluding)
Cloud-init Ubuntu bionic *
Cloud-init Ubuntu esm-infra/bionic *
Cloud-init Ubuntu esm-infra/xenial *
Cloud-init Ubuntu focal *
Cloud-init Ubuntu jammy *
Cloud-init Ubuntu lunar *
Cloud-init Ubuntu mantic *
Cloud-init Ubuntu trusty *
Cloud-init Ubuntu xenial *
Subiquity Ubuntu bionic *
Subiquity Ubuntu esm-apps/bionic *
Subiquity Ubuntu esm-apps/focal *
Subiquity Ubuntu esm-apps/jammy *
Subiquity Ubuntu focal *
Subiquity Ubuntu jammy *
Subiquity Ubuntu trusty *
Subiquity 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