1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-18 06:04:06 +03:00
Ralph Boehme 53c9e1c9d3 CVE-2023-4091: smbd: use open_access_mask for access check in open_file()
If the client requested FILE_OVERWRITE[_IF], we're implicitly adding
FILE_WRITE_DATA to the open_access_mask in open_file_ntcreate(), but for the
access check we're using access_mask which doesn't contain the additional
right, which means we can end up truncating a file for which the user has
only read-only access via an SD.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15439

Signed-off-by: Ralph Boehme <slow@samba.org>
2023-10-08 22:06:00 +02:00
..
2022-12-12 21:16:33 +00:00
2023-09-22 21:07:52 +00:00
2022-02-17 17:13:35 +00:00
2022-09-12 02:29:32 +00:00
2020-11-04 18:55:39 +00:00
2020-01-13 21:09:01 +00:00
2022-12-14 22:54:29 +00:00
2022-04-07 17:37:29 +00:00
2023-01-05 18:00:17 +00:00
2022-08-04 20:44:32 +00:00