CVE Vulnerabilities

CVE-2021-25319

Incorrect Default Permissions

Published: May 05, 2021 | Modified: Nov 21, 2024
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.2 HIGH
AV:L/AC:L/Au:N/C:C/I:C/A:C
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

A Incorrect Default Permissions vulnerability in the packaging of virtualbox of openSUSE Factory allows local attackers in the vboxusers groupu to escalate to root. This issue affects: openSUSE Factory virtualbox version 6.1.20-1.1 and prior versions.

Weakness

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

Affected Software

NameVendorStart VersionEnd Version
FactoryOpensuse*6.1.20-1.1 (including)
VirtualboxUbuntubionic*
VirtualboxUbuntufocal*
VirtualboxUbuntugroovy*
VirtualboxUbuntuhirsute*
VirtualboxUbuntuimpish*
VirtualboxUbuntukinetic*
VirtualboxUbuntulunar*
VirtualboxUbuntumantic*
VirtualboxUbuntuoracular*
VirtualboxUbuntuplucky*
VirtualboxUbuntutrusty*
VirtualboxUbuntuxenial*

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