OESA-2023-1757 (CVE-2023-3961)

Vulnerability from osv_openeuler – Published: 2023-10-20 11:06 – Updated: 2026-08-06 11:06 – Source website
VLAI
Summary
samba security update
Details

Samba is a suite of programs for Linux and Unix to interoperate with Windows.

Security Fix(es):

A path traversal vulnerability was identified in Samba when processing client pipe names connecting to Unix domain sockets within a private directory. Samba typically uses this mechanism to connect SMB clients to remote procedure call (RPC) services like SAMR LSA or SPOOLSS, which Samba initiates on demand. However, due to inadequate sanitization of incoming client pipe names, allowing a client to send a pipe name containing Unix directory traversal characters (../). This could result in SMB clients connecting as root to Unix domain sockets outside the private directory. If an attacker or client managed to send a pipe name resolving to an external service using an existing Unix domain socket, it could potentially lead to unauthorized access to the service and consequential adverse events, including compromise or service crashes.(CVE-2023-3961)

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.(CVE-2023-4091)

A vulnerability was found in Samba's "rpcecho" development server, a non-Windows RPC server used to test Samba's DCE/RPC stack elements. This vulnerability stems from an RPC function that can be blocked indefinitely. The issue arises because the "rpcecho" service operates with only one worker in the main RPC task, allowing calls to the "rpcecho" server to be blocked for a specified time, causing service disruptions. This disruption is triggered by a "sleep()" call in the "dcesrv_echo_TestSleep()" function under specific conditions. Authenticated users or attackers can exploit this vulnerability to make calls to the "rpcecho" server, requesting it to block for a specified duration, effectively disrupting most services and leading to a complete denial of service on the AD DC. The DoS affects all other services as "rpcecho" runs in the main RPC task.(CVE-2023-42669)

A flaw was found in Samba. It is susceptible to a vulnerability where multiple incompatible RPC listeners can be initiated, causing disruptions in the AD DC service. When Samba's RPC server experiences a high load or unresponsiveness, servers intended for non-AD DC purposes (for example, NT4-emulation "classic DCs") can erroneously start and compete for the same unix domain sockets. This issue leads to partial query responses from the AD DC, causing issues such as "The procedure number is out of range" when using tools like Active Directory Users. This flaw allows an attacker to disrupt AD DC services.(CVE-2023-42670)


{
  "affected": [
    {
      "ecosystem_specific": {
        "aarch64": [
          "samba-debuginfo-4.17.5-8.oe2203sp2.aarch64.rpm",
          "libwbclient-4.17.5-8.oe2203sp2.aarch64.rpm",
          "samba-devel-4.17.5-8.oe2203sp2.aarch64.rpm",
          "samba-krb5-printing-4.17.5-8.oe2203sp2.aarch64.rpm",
          "samba-debugsource-4.17.5-8.oe2203sp2.aarch64.rpm",
          "samba-winbind-krb5-locator-4.17.5-8.oe2203sp2.aarch64.rpm",
          "samba-common-tools-4.17.5-8.oe2203sp2.aarch64.rpm",
          "python3-samba-dc-4.17.5-8.oe2203sp2.aarch64.rpm",
          "samba-test-4.17.5-8.oe2203sp2.aarch64.rpm",
          "samba-winbind-4.17.5-8.oe2203sp2.aarch64.rpm",
          "samba-client-libs-4.17.5-8.oe2203sp2.aarch64.rpm",
          "samba-libs-4.17.5-8.oe2203sp2.aarch64.rpm",
          "samba-common-4.17.5-8.oe2203sp2.aarch64.rpm",
          "samba-help-4.17.5-8.oe2203sp2.aarch64.rpm",
          "libsmbclient-4.17.5-8.oe2203sp2.aarch64.rpm",
          "samba-4.17.5-8.oe2203sp2.aarch64.rpm",
          "ctdb-4.17.5-8.oe2203sp2.aarch64.rpm",
          "libsmbclient-devel-4.17.5-8.oe2203sp2.aarch64.rpm",
          "samba-winbind-clients-4.17.5-8.oe2203sp2.aarch64.rpm",
          "samba-usershares-4.17.5-8.oe2203sp2.aarch64.rpm",
          "samba-winbind-modules-4.17.5-8.oe2203sp2.aarch64.rpm",
          "python3-samba-test-4.17.5-8.oe2203sp2.aarch64.rpm",
          "python3-samba-4.17.5-8.oe2203sp2.aarch64.rpm",
          "samba-dc-4.17.5-8.oe2203sp2.aarch64.rpm",
          "libwbclient-devel-4.17.5-8.oe2203sp2.aarch64.rpm",
          "samba-dc-bind-dlz-4.17.5-8.oe2203sp2.aarch64.rpm",
          "samba-client-4.17.5-8.oe2203sp2.aarch64.rpm",
          "samba-dc-libs-4.17.5-8.oe2203sp2.aarch64.rpm",
          "samba-dc-provision-4.17.5-8.oe2203sp2.aarch64.rpm"
        ],
        "noarch": [
          "samba-pidl-4.17.5-8.oe2203sp2.noarch.rpm"
        ],
        "src": [
          "samba-4.17.5-8.oe2203sp2.src.rpm"
        ],
        "x86_64": [
          "libwbclient-devel-4.17.5-8.oe2203sp2.x86_64.rpm",
          "python3-samba-test-4.17.5-8.oe2203sp2.x86_64.rpm",
          "samba-krb5-printing-4.17.5-8.oe2203sp2.x86_64.rpm",
          "libsmbclient-4.17.5-8.oe2203sp2.x86_64.rpm",
          "samba-dc-libs-4.17.5-8.oe2203sp2.x86_64.rpm",
          "samba-dc-provision-4.17.5-8.oe2203sp2.x86_64.rpm",
          "samba-debugsource-4.17.5-8.oe2203sp2.x86_64.rpm",
          "python3-samba-4.17.5-8.oe2203sp2.x86_64.rpm",
          "samba-devel-4.17.5-8.oe2203sp2.x86_64.rpm",
          "ctdb-4.17.5-8.oe2203sp2.x86_64.rpm",
          "samba-usershares-4.17.5-8.oe2203sp2.x86_64.rpm",
          "samba-winbind-modules-4.17.5-8.oe2203sp2.x86_64.rpm",
          "samba-4.17.5-8.oe2203sp2.x86_64.rpm",
          "samba-common-4.17.5-8.oe2203sp2.x86_64.rpm",
          "libsmbclient-devel-4.17.5-8.oe2203sp2.x86_64.rpm",
          "samba-dc-bind-dlz-4.17.5-8.oe2203sp2.x86_64.rpm",
          "samba-common-tools-4.17.5-8.oe2203sp2.x86_64.rpm",
          "samba-dc-4.17.5-8.oe2203sp2.x86_64.rpm",
          "samba-test-4.17.5-8.oe2203sp2.x86_64.rpm",
          "samba-debuginfo-4.17.5-8.oe2203sp2.x86_64.rpm",
          "samba-client-libs-4.17.5-8.oe2203sp2.x86_64.rpm",
          "samba-help-4.17.5-8.oe2203sp2.x86_64.rpm",
          "samba-winbind-krb5-locator-4.17.5-8.oe2203sp2.x86_64.rpm",
          "libwbclient-4.17.5-8.oe2203sp2.x86_64.rpm",
          "samba-winbind-4.17.5-8.oe2203sp2.x86_64.rpm",
          "samba-vfs-glusterfs-4.17.5-8.oe2203sp2.x86_64.rpm",
          "samba-libs-4.17.5-8.oe2203sp2.x86_64.rpm",
          "samba-winbind-clients-4.17.5-8.oe2203sp2.x86_64.rpm",
          "python3-samba-dc-4.17.5-8.oe2203sp2.x86_64.rpm",
          "samba-client-4.17.5-8.oe2203sp2.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP2",
        "name": "samba",
        "purl": "pkg:rpm/openEuler/samba\u0026distro=openEuler-22.03-LTS-SP2"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.17.5-8.oe2203sp2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "severity": "Medium"
  },
  "details": "Samba is a suite of programs for Linux and Unix to interoperate with Windows.\r\n\r\nSecurity Fix(es):\r\n\r\nA path traversal vulnerability was identified in Samba when processing client pipe names connecting to Unix domain sockets within a private directory. Samba typically uses this mechanism to connect SMB clients to remote procedure call (RPC) services like SAMR LSA or SPOOLSS, which Samba initiates on demand. However, due to inadequate sanitization of incoming client pipe names, allowing a client to send a pipe name containing Unix directory traversal characters (../). This could result in SMB clients connecting as root to Unix domain sockets outside the private directory. If an attacker or client managed to send a pipe name resolving to an external service using an existing Unix domain socket, it could potentially lead to unauthorized access to the service and consequential adverse events, including compromise or service crashes.(CVE-2023-3961)\r\n\r\nA vulnerability was discovered in Samba, where the flaw allows SMB clients to truncate files, even with read-only permissions when the Samba VFS module \u0026quot;acl_xattr\u0026quot; is configured with \u0026quot;acl_xattr:ignore system acls = yes\u0026quot;. 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\u0026apos;s permissions.(CVE-2023-4091)\r\n\r\nA vulnerability was found in Samba\u0026apos;s \u0026quot;rpcecho\u0026quot; development server, a non-Windows RPC server used to test Samba\u0026apos;s DCE/RPC stack elements. This vulnerability stems from an RPC function that can be blocked indefinitely. The issue arises because the \u0026quot;rpcecho\u0026quot; service operates with only one worker in the main RPC task, allowing calls to the \u0026quot;rpcecho\u0026quot; server to be blocked for a specified time, causing service disruptions. This disruption is triggered by a \u0026quot;sleep()\u0026quot; call in the \u0026quot;dcesrv_echo_TestSleep()\u0026quot; function under specific conditions. Authenticated users or attackers can exploit this vulnerability to make calls to the \u0026quot;rpcecho\u0026quot; server, requesting it to block for a specified duration, effectively disrupting most services and leading to a complete denial of service on the AD DC. The DoS affects all other services as \u0026quot;rpcecho\u0026quot; runs in the main RPC task.(CVE-2023-42669)\r\n\r\nA flaw was found in Samba. It is susceptible to a vulnerability where multiple incompatible RPC listeners can be initiated, causing disruptions in the AD DC service. When Samba\u0026apos;s RPC server experiences a high load or unresponsiveness, servers intended for non-AD DC purposes (for example, NT4-emulation \u0026quot;classic DCs\u0026quot;) can erroneously start and compete for the same unix domain sockets. This issue leads to partial query responses from the AD DC, causing issues such as \u0026quot;The procedure number is out of range\u0026quot; when using tools like Active Directory Users. This flaw allows an attacker to disrupt AD DC services.(CVE-2023-42670)",
  "id": "OESA-2023-1757",
  "modified": "2026-08-06T11:06:12Z",
  "published": "2023-10-20T11:06:12Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1757"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-3961"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-4091"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-42669"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-42670"
    }
  ],
  "schema_version": "1.7.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "samba security update",
  "upstream": [
    "CVE-2023-3961",
    "CVE-2023-4091",
    "CVE-2023-42669",
    "CVE-2023-42670"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…