CVE-2023-34968: Samba: spotlight server-side share path disclosure

Published Jul 13, 2023
·
Updated

A path disclosure vulnerability was found in Samba. As part of the Spotlight protocol, Samba discloses the server-side absolute path of shares, files, and directories in the results for search queries. This flaw allows a malicious client or an attacker with a targeted RPC request to view the information that is part of the disclosed path.

Other sources

As part of the Spotlight protocol, the initial request returns a path associated with the sharename targeted by the RPC request. Samba returns the real server-side share path at this point, as well as returning the absolute server-side path of results in search queries by clients.

Red Hat

Affected Software

19 affected componentsFixes available
ubuntu/samba<2:4.15.13+dfsg-0ubuntu0.20.04.3
2:4.15.13+dfsg-0ubuntu0.20.04.3
ubuntu/samba<2:4.15.13+dfsg-0ubuntu1.2
2:4.15.13+dfsg-0ubuntu1.2
ubuntu/samba<2:4.16.8+dfsg-0ubuntu1.2
2:4.16.8+dfsg-0ubuntu1.2
ubuntu/samba<2:4.17.7+dfsg-1ubuntu1.1
2:4.17.7+dfsg-1ubuntu1.1
ubuntu/samba<2:4.18.5+dfsg-1ubuntu1
2:4.18.5+dfsg-1ubuntu1
debian/samba<=2:4.9.5+dfsg-5+deb10u3, <=2:4.9.5+dfsg-5+deb10u4, <=2:4.13.13+dfsg-1~deb11u5
2:4.17.12+dfsg-0+deb12u12:4.19.3+dfsg-2
redhat/samba<4.16.11
4.16.11
redhat/samba<4.17.10
4.17.10
redhat/samba<4.18.5
4.18.5
Samba Samba<4.16.11
Samba Samba>=4.17.0<4.17.10
Samba Samba>=4.18.0<4.18.5
Fedoraproject Fedora=38
redhat Storage=3.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
Fedoraproject Fedora=37
Debian Debian Linux=11.0
Debian Debian Linux=12.0

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.15.13+dfsg-0ubuntu0.20.04.3
  2. Upgrade

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

    Fixed in 2:4.15.13+dfsg-0ubuntu1.2
  3. Upgrade

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

    Fixed in 2:4.16.8+dfsg-0ubuntu1.2
  4. Upgrade

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

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

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

    Fixed in 2:4.18.5+dfsg-1ubuntu1
  6. Upgrade

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

    Fixed in 2:4.17.12+dfsg-0+deb12u1Fixed in 2:4.19.3+dfsg-2
  7. Upgrade

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

    Fixed in 4.16.11
  8. Upgrade

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

    Fixed in 4.17.10
  9. Upgrade

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

    Fixed in 4.18.5

Event History

Jul 19, 2023
CVE Published
12:00 AM
Jul 20, 2023
CVE Published
via MITRE·02:58 PM
Data Sourced
via MITRE·02:58 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-34968?

CVE-2023-34968 is a path disclosure vulnerability found in Samba, which discloses the server-side absolute path of shares, files, and directories in the results for search queries.

2

How does CVE-2023-34968 affect Samba?

CVE-2023-34968 affects Samba by allowing a malicious client or an attacker with a targeted RPC request to view the server-side absolute path of shares, files, and directories.

3

What is the severity of CVE-2023-34968?

The severity of CVE-2023-34968 is medium, with a CVSS score of 5.3.

4

How do I fix CVE-2023-34968 in Samba?

To fix CVE-2023-34968 in Samba, update to version 2:4.15.13+dfsg-0ubuntu0.20.04.3 (Ubuntu), 2:4.15.13+dfsg-0ubuntu1.2 (Ubuntu), 2:4.16.8+dfsg-0ubuntu1.2 (Ubuntu), 2:4.17.7+dfsg-1ubuntu1.1 (Ubuntu), 4.16.11 (Red Hat), 4.17.10 (Red Hat), 4.18.5 (Red Hat), or the latest available version.

5

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

You can find more information about CVE-2023-34968 on the official Samba website and the Red Hat Security Advisory linked in the references.

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