Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2023-4091: samba: SMB clients can truncate files with read-only permissions (Multiple Advisories)

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

Red Hat: CVE-2023-4091: samba: SMB clients can truncate files with read-only permissions (Multiple Advisories)

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
10/31/2023
Created
11/01/2023
Added
11/01/2023
Modified
12/15/2023

Description

A vulnerability was discovered in Samba, where the flaw allows SMB clients to truncate files, even with read-only permissions when the Samba VFS module "acl_xattr" is configured with "acl_xattr:ignore system acls = yes". The SMB protocol allows opening files when the client requests read-only access but then implicitly truncates the opened file to 0 bytes if the client specifies a separate OVERWRITE create disposition request. The issue arises in configurations that bypass kernel file system permissions checks, relying solely on Samba's permissions.

Solution(s)

  • redhat-upgrade-ctdb
  • redhat-upgrade-ctdb-debuginfo
  • redhat-upgrade-libnetapi
  • redhat-upgrade-libnetapi-debuginfo
  • redhat-upgrade-libnetapi-devel
  • redhat-upgrade-libsmbclient
  • redhat-upgrade-libsmbclient-debuginfo
  • redhat-upgrade-libsmbclient-devel
  • redhat-upgrade-libwbclient
  • redhat-upgrade-libwbclient-debuginfo
  • redhat-upgrade-libwbclient-devel
  • redhat-upgrade-python3-samba
  • redhat-upgrade-python3-samba-dc
  • redhat-upgrade-python3-samba-dc-debuginfo
  • redhat-upgrade-python3-samba-debuginfo
  • redhat-upgrade-python3-samba-devel
  • redhat-upgrade-python3-samba-test
  • redhat-upgrade-samba
  • redhat-upgrade-samba-client
  • redhat-upgrade-samba-client-debuginfo
  • redhat-upgrade-samba-client-libs
  • redhat-upgrade-samba-client-libs-debuginfo
  • redhat-upgrade-samba-common
  • redhat-upgrade-samba-common-libs
  • redhat-upgrade-samba-common-libs-debuginfo
  • redhat-upgrade-samba-common-tools
  • redhat-upgrade-samba-common-tools-debuginfo
  • redhat-upgrade-samba-dc-libs
  • redhat-upgrade-samba-dc-libs-debuginfo
  • redhat-upgrade-samba-dcerpc
  • redhat-upgrade-samba-dcerpc-debuginfo
  • redhat-upgrade-samba-debuginfo
  • redhat-upgrade-samba-debugsource
  • redhat-upgrade-samba-devel
  • redhat-upgrade-samba-krb5-printing
  • redhat-upgrade-samba-krb5-printing-debuginfo
  • redhat-upgrade-samba-ldb-ldap-modules
  • redhat-upgrade-samba-ldb-ldap-modules-debuginfo
  • redhat-upgrade-samba-libs
  • redhat-upgrade-samba-libs-debuginfo
  • redhat-upgrade-samba-pidl
  • redhat-upgrade-samba-test
  • redhat-upgrade-samba-test-debuginfo
  • redhat-upgrade-samba-test-libs
  • redhat-upgrade-samba-test-libs-debuginfo
  • redhat-upgrade-samba-tools
  • redhat-upgrade-samba-usershares
  • redhat-upgrade-samba-vfs-iouring
  • redhat-upgrade-samba-vfs-iouring-debuginfo
  • redhat-upgrade-samba-winbind
  • redhat-upgrade-samba-winbind-clients
  • redhat-upgrade-samba-winbind-clients-debuginfo
  • redhat-upgrade-samba-winbind-debuginfo
  • redhat-upgrade-samba-winbind-krb5-locator
  • redhat-upgrade-samba-winbind-krb5-locator-debuginfo
  • redhat-upgrade-samba-winbind-modules
  • redhat-upgrade-samba-winbind-modules-debuginfo
  • redhat-upgrade-samba-winexe
  • redhat-upgrade-samba-winexe-debuginfo

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

;