1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00
Ralph Boehme b70f4f8681 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-10 14:49:39 +00:00
..
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-09-20 22:42:48 +00:00
2023-07-19 09:58:37 +00:00
2020-11-04 18:55:39 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-09-11 02:42:41 +00:00
2023-04-12 13:52:31 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2022-04-07 17:37:29 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-08-14 19:53:37 +00:00
2022-08-04 20:44:32 +00:00