Vulnerabilities · 2023 · Samba
CVE-2023-4091
Samba vulnerability
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.
Affected products
Samba, Fedora, Storage, Enterprise Linux, Enterprise Linux Eus. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Samba runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.samba.org/samba/security/CVE-2023-4091.html · Vendor Advisory
- access.redhat.com/errata/RHSA-2023:6209 · Third Party Advisory
- access.redhat.com/errata/RHSA-2023:6744 · Third Party Advisory
- access.redhat.com/security/cve/CVE-2023-4091 · Third Party Advisory
- access.redhat.com/errata/RHSA-2023:7371
- access.redhat.com/errata/RHSA-2023:7408
- access.redhat.com/errata/RHSA-2023:7464
- access.redhat.com/errata/RHSA-2023:7467
- nvd.nist.gov/vuln/detail/CVE-2023-4091
- cve.org/CVERecord?id=CVE-2023-4091
More vulnerabilities in Samba products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.