Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-E261E71C-6250-11EE-8E38-002590C1F29C (CVE-2023-5369): FreeBSD -- copy_file_range insufficient capability rights check

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

FreeBSD: VID-E261E71C-6250-11EE-8E38-002590C1F29C (CVE-2023-5369): FreeBSD -- copy_file_range insufficient capability rights check

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
10/03/2023
Created
10/05/2023
Added
10/04/2023
Modified
10/12/2023

Description

Before correction, the copy_file_range system call checked only for the CAP_READ and CAP_WRITE capabilities on the input and output file descriptors, respectively. Using an offset is logically equivalent to seeking, and the system call must additionally require the CAP_SEEK capability.

This incorrect privilege check enabled sandboxed processes with only read or write but no seek capability on a file descriptor to read data from or write data to an arbitrary location within the file corresponding to that file descriptor.

Solution(s)

  • freebsd-upgrade-base-13_2-release-p4

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;