Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-4091

6.5 · MEDIUM
Published Nov 3, 2023 samba CWE-276 EPSS 1.17% (65th pctl)

Overview

CVE-2023-4091 is a medium-severity vulnerability affecting samba samba. It was published on November 3, 2023 and has a CVSS 3.1 base score of 6.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.5, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from samba. Update samba to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
samba samba >= 0, < 4.17.12 Affected

Frequently Asked Questions

What is CVE-2023-4091?

CVE-2023-4091 is a medium-severity vulnerability affecting samba samba. It was published on November 3, 2023 and has a CVSS 3.1 base score of 6.5 (MEDIUM).

How severe is CVE-2023-4091?

This vulnerability has a CVSS 3.1 base score of 6.5, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-4091?

Check the references section for vendor advisories and patches from samba. Update samba to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-4091?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-4091 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.