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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

CVSS 6.5 · Medium EPSS 0.44% · P63
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
缺省权限不正确
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
Red HatRed Hat Enterprise Linux 8 0:4.18.6-2.el8_9 ~ * cpe:/o:redhat:enterprise_linux:8::baseos
Red HatRed Hat Enterprise Linux 8 0:4.18.6-2.el8_9 ~ * cpe:/o:redhat:enterprise_linux:8::baseos
Red HatRed Hat Enterprise Linux 8.6 Extended Update Support 0:4.15.5-13.el8_6 ~ * cpe:/o:redhat:rhel_eus:8.6::baseos
Red HatRed Hat Enterprise Linux 8.8 Extended Update Support 0:4.17.5-4.el8_8 ~ * cpe:/a:redhat:rhel_eus:8.8::appstream
Red HatRed Hat Enterprise Linux 9 0:4.18.6-101.el9_3 ~ * cpe:/o:redhat:enterprise_linux:9::baseos
Red HatRed Hat Enterprise Linux 9 0:4.18.6-101.el9_3 ~ * cpe:/o:redhat:enterprise_linux:9::baseos
Red HatRed Hat Enterprise Linux 9.0 Extended Update Support 0:4.15.5-111.el9_0 ~ * cpe:/a:redhat:rhel_eus:9.0::resilientstorage
Red HatRed Hat Enterprise Linux 9.2 Extended Update Support 0:4.17.5-104.el9_2 ~ * cpe:/a:redhat:rhel_eus:9.2::appstream
Red HatRed 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 HatRed Hat Enterprise Linux 6-cpe:/o:redhat:enterprise_linux:6
Red HatRed Hat Enterprise Linux 6-cpe:/o:redhat:enterprise_linux:6
Red HatRed Hat Enterprise Linux 7-cpe:/o:redhat:enterprise_linux:7
Red HatRed Hat Storage 3-cpe:/a:redhat:storage:3

II. Public POCs for CVE-2023-4091

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-4091

登录查看更多情报信息。

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

CVE-2023-39619.1 CRITICALSamba: smbd allows client access to unix domain sockets on the file system as root
CVE-2023-58247.5 HIGHSquid: dos against http and https
CVE-2023-14767.0 HIGHKpatch: mm/mremap.c: incomplete fix for cve-2022-41222
CVE-2023-50886.4 MEDIUMQemu: improper ide controller reset can lead to mbr overwrite

IV. Related Vulnerabilities

V. Comments for CVE-2023-4091

No comments yet


Leave a comment