CVE-2023-3347: Samba: smb2 packet signing is not enforced when "server signing = required" is set

Published Jul 13, 2023
·
Updated

A vulnerability was found in Samba's SMB2 packet signing mechanism. The SMB2 packet signing is not enforced if an admin configured "server signing = required" or for SMB2 connections to Domain Controllers where SMB2 packet signing is mandatory. This flaw allows an attacker to perform attacks, such as a man-in-the-middle attack, by intercepting the network traffic and modifying the SMB2 messages between client and server, affecting the integrity of the data.

Affected Software

10 affected componentsFixes available
ubuntu/samba<2:4.17.7+dfsg-1ubuntu1.1
2:4.17.7+dfsg-1ubuntu1.1
debian/samba
2:4.9.5+dfsg-5+deb10u32:4.9.5+dfsg-5+deb10u42:4.13.13+dfsg-1~deb11u52:4.17.12+dfsg-0+deb12u12:4.19.3+dfsg-2
redhat/samba<4.17.10
4.17.10
redhat/samba<4.18.5
4.18.5
Samba Samba>=4.17.0<4.17.10
Samba Samba>=4.18.0<4.18.5
redhat Storage=3.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
Fedoraproject Fedora=38

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/samba to a version that resolves this vulnerability.

    Fixed in 2:4.17.7+dfsg-1ubuntu1.1
  2. Upgrade

    Upgrade debian/samba to a version that resolves this vulnerability.

    Fixed in 2:4.9.5+dfsg-5+deb10u3Fixed in 2:4.9.5+dfsg-5+deb10u4Fixed in 2:4.13.13+dfsg-1~deb11u5Fixed in 2:4.17.12+dfsg-0+deb12u1Fixed in 2:4.19.3+dfsg-2
  3. Upgrade

    Upgrade redhat/samba to a version that resolves this vulnerability.

    Fixed in 4.17.10
  4. Upgrade

    Upgrade redhat/samba to a version that resolves this vulnerability.

    Fixed in 4.18.5
  5. Configuration

    Ensure SMB2 packet signing is enforced in Samba. The text states that SMB2 packet signing is not enforced when an admin configures "server signing = required" (including SMB2 connections to Domain Controllers where signing is mandatory), so review/change this setting/behavior so SMB2 signing is actually enforced.

    Samba server signing = required
  6. Compensating control

    As a mitigation for man-in-the-middle risk, restrict/segment SMB traffic so attackers cannot intercept/modify SMB2 messages between clients and servers (e.g., limit network paths/ACLs to trusted hosts).

Event History

Jul 19, 2023
CVE Published
12:00 AM
Jul 20, 2023
CVE Published
via MITRE·02:54 PM
Data Sourced
via MITRE·02:54 PM
DescriptionSeverityWeakness
Data Sourced
03:15 PM
Description
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-3347?

CVE-2023-3347 is a vulnerability found in Samba's SMB2 packet signing mechanism.

2

What is the severity of CVE-2023-3347?

The severity of CVE-2023-3347 is medium with a severity value of 5.9.

3

How does CVE-2023-3347 affect Samba?

CVE-2023-3347 affects Samba by bypassing the SMB2 packet signing mechanism if certain conditions are met.

4

How can I fix CVE-2023-3347?

To fix CVE-2023-3347, update Samba to version 2:4.17.7+dfsg-1ubuntu1.1 (for Ubuntu), 4.17.10 or 4.18.5 (for Redhat), or the corresponding patched version for your distribution.

5

Where can I find more information about CVE-2023-3347?

For more information about CVE-2023-3347, you can visit the official Samba website at https://www.samba.org/samba/security/CVE-2023-3347.html

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203