Medium severity · published Nov 3, 2023
CVE-2023-4091
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…
6.5
CVSS
1.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.3% · higher than 71% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
EL
Enterprise Linux · Redhat
8.0 · source: NVD
EL
Enterprise Linux Eus · Redhat
9.0 · source: NVD
FE
Fedora · Fedoraproject
39 · source: NVD
SA
Samba · Samba
before 4.17.12; 4.18.0 before 4.18.8; 4.19.0 before 4.19.1 · source: NVD
ST
Storage · Redhat
3.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-4091
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-4091
Third Party Advisory
https://access.redhat.com/errata/RHSA-2023:6209
Third Party Advisory
https://access.redhat.com/errata/RHSA-2023:6744
access.redhat.com
https://access.redhat.com/errata/RHSA-2023:7371
access.redhat.com
https://access.redhat.com/errata/RHSA-2023:7408
access.redhat.com
https://access.redhat.com/errata/RHSA-2023:7464
access.redhat.com
https://access.redhat.com/errata/RHSA-2023:7467
More from Fedora
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2024-4577
Argument Injection in PHP-CGI
9.8
CVE-2021-44026
Roundcube Webmail SQL Injection Vulnerability
9.8
CVE-2021-42013
Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773)
