Permissions, Privileges, and Access Controls in FreeBSD - CVE-2023-5369

 

Permissions, Privileges, and Access Controls in FreeBSD - CVE-2023-5369

Published: November 10, 2023


Vulnerability identifier: #VU82982
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2023-5369
CWE-ID: CWE-264
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: FreeBSD Foundation
Affected software:
FreeBSD

Detailed vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to the copy_file_range system call in Capsicum checks only for CAP_READ and CAP_WRITE capabilities on the input and output file descriptors. A local user can read and write data to an arbitrary location within the file corresponding to that file descriptor.


How to mitigate CVE-2023-5369

Install updates from vendor's website.

Sources