Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-4091— Samba: smb clients can truncate files with read-only permissions

Quick assessment

Affected
Red Hat Red Hat Enterprise Linux 8
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Samba是用于 Linux 和 Unix 的标准 Windows 互操作性程序套件。 Samba 4.1 及之前版本存在安全漏洞,该漏洞源于客户端可以截断具有只读权限的文件。

CVSS 6.5 · Medium EPSS 1.18% · P67
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-4091

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Samba: smb clients can truncate files with read-only permissions
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
缺省权限不正确
Source: CVE Program / CVE List V5
Vulnerability Title
Samba 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Samba是用于 Linux 和 Unix 的标准 Windows 互操作性程序套件。 Samba 4.1 及之前版本存在安全漏洞,该漏洞源于客户端可以截断具有只读权限的文件。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Red Hat Red Hat Enterprise Linux 8 0:4.18.6-2.el8_9 ~ * cpe:/o:redhat:enterprise_linux:8::baseos
Red Hat Red Hat Enterprise Linux 8 0:4.18.6-2.el8_9 ~ * cpe:/o:redhat:enterprise_linux:8::baseos
Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support 0:4.15.5-13.el8_6 ~ * cpe:/o:redhat:rhel_eus:8.6::baseos
Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support 0:4.17.5-4.el8_8 ~ * cpe:/a:redhat:rhel_eus:8.8::appstream
Red Hat Red Hat Enterprise Linux 9 0:4.18.6-101.el9_3 ~ * cpe:/o:redhat:enterprise_linux:9::baseos
Red Hat Red Hat Enterprise Linux 9 0:4.18.6-101.el9_3 ~ * cpe:/o:redhat:enterprise_linux:9::baseos
Red Hat Red Hat Enterprise Linux 9.0 Extended Update Support 0:4.15.5-111.el9_0 ~ * cpe:/a:redhat:rhel_eus:9.0::resilientstorage
Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support 0:4.17.5-104.el9_2 ~ * cpe:/a:redhat:rhel_eus:9.2::appstream
Red Hat Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 0:4.15.5-13.el8_6 ~ * cpe:/o:redhat:rhel_eus:8.6::baseos
Red Hat Red Hat Enterprise Linux 6 - cpe:/o:redhat:enterprise_linux:6
Red Hat Red Hat Enterprise Linux 6 - cpe:/o:redhat:enterprise_linux:6
Red Hat Red Hat Enterprise Linux 7 - cpe:/o:redhat:enterprise_linux:7
Red Hat Red Hat Storage 3 - cpe:/a:redhat:storage:3

II. Public POCs for CVE-2023-4091

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-4091

请登录查看更多情报信息。

Vendor Advisories for CVE-2023-4091 (8)

Mailing List Discussions for CVE-2023-4091 (2)

Other References for CVE-2023-4091 (1)

Same Patch Batch · Red Hat · 2023-11-03 · 5 CVEs total

CVE-2023-3961 9.1 CRITICAL Samba: smbd allows client access to unix domain sockets on the file system as root
CVE-2023-5824 7.5 HIGH Squid: dos against http and https
CVE-2023-1476 7.0 HIGH Kpatch: mm/mremap.c: incomplete fix for cve-2022-41222
CVE-2023-5088 6.4 MEDIUM Qemu: improper ide controller reset can lead to mbr overwrite

IV. Related Vulnerabilities

V. Comments for CVE-2023-4091

No comments yet


Leave a comment