The shadow_copy2_get_shadow_copy_data function in modules/vfs_shadow_copy2.c in Samba 3.x…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Partial Red Hat: 19 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-200.
Summary
The shadow_copy2_get_shadow_copy_data function in modules/vfs_shadow_copy2.c in Samba 3.x and 4.x before 4.1.22, 4.2.x before 4.2.7, and 4.3.x before 4.3.3 does not verify that the DIRECTORY_LIST access right has been granted, which allows remote attackers to access snapshots by visiting a shadow copy directory.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* | 3.0.20 to before 4.1.22; 4.2.0 to before 4.2.7; 4.3.0 to before 4.3.3 | Vulnerable | Samba |
| cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:* | 15.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:* | 15.10 | Vulnerable | Canonical |
- cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* Versions 3.0.20 to before 4.1.22; 4.2.0 to before 4.2.7; 4.3.0 to before 4.3.3 Vulnerable ·Samba
- cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:* Versions 15.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:* Versions 15.10 Vulnerable ·Canonical
Remediation
Red Hat 5 advisories
- RHSA-2016:0015 Released 2016-01-08 · Red Hat rating Moderatesamba security update
- Red Hat Gluster 3 Samba on RHEL-6 libsmbclient-4.1.17-16.el6rhs, libsmbclient-devel-4.1.17-16.el6rhs, libwbclient-4.1.17-16.el6rhs +18
- RHSA-2016:0016 Released 2016-01-08 · Red Hat rating Moderatesamba security update
- Red Hat Gluster 3 Samba on RHEL-7 ctdb-4.2.4-9.1.el7rhgs, ctdb-devel-4.2.4-9.1.el7rhgs, ctdb-tests-4.2.4-9.1.el7rhgs +24
- RHSA-2016:0006 Released 2016-01-08 · Red Hat rating Moderatesamba security update
- Red Hat Enterprise Linux Client (v. 7) libsmbclient-4.2.3-11.el7_2, libwbclient-4.2.3-11.el7_2, samba-4.2.3-11.el7_2 +9
- Red Hat Enterprise Linux Client Optional (v. 7) libsmbclient-devel-4.2.3-11.el7_2, libwbclient-devel-4.2.3-11.el7_2, samba-4.2.3-11.el7_2 +10
- Red Hat Enterprise Linux ComputeNode (v. 7) libsmbclient-4.2.3-11.el7_2, libwbclient-4.2.3-11.el7_2, samba-4.2.3-11.el7_2 +9
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) libsmbclient-devel-4.2.3-11.el7_2, libwbclient-devel-4.2.3-11.el7_2, samba-4.2.3-11.el7_2 +10
- Red Hat Enterprise Linux Server (v. 7) libsmbclient-4.2.3-11.el7_2, libsmbclient-4.2.3-11.el7_2.ppc, libwbclient-4.2.3-11.el7_2 +15
- Red Hat Enterprise Linux Server Optional (v. 7) libsmbclient-devel-4.2.3-11.el7_2, libsmbclient-devel-4.2.3-11.el7_2.ppc, libwbclient-devel-4.2.3-11.el7_2 +13
- Red Hat Enterprise Linux Server Resilient Storage (v. 7) ctdb-4.2.3-11.el7_2, ctdb-devel-4.2.3-11.el7_2, ctdb-tests-4.2.3-11.el7_2
- Red Hat Enterprise Linux Workstation (v. 7) libsmbclient-4.2.3-11.el7_2, libwbclient-4.2.3-11.el7_2, samba-4.2.3-11.el7_2 +10
- Red Hat Enterprise Linux Workstation Optional (v. 7) libsmbclient-devel-4.2.3-11.el7_2, libwbclient-devel-4.2.3-11.el7_2, samba-dc-4.2.3-11.el7_2 +8
Show 2 more Red Hat advisories
- RHSA-2016:0011 Released 2016-01-07 · Red Hat rating Moderatesamba security update
- Red Hat Enterprise Linux Desktop (v. 6) libsmbclient-3.6.23-24.el6_7, samba-3.6.23-24.el6_7, samba-client-3.6.23-24.el6_7 +3
- Red Hat Enterprise Linux Desktop Optional (v. 6) libsmbclient-devel-3.6.23-24.el6_7, samba-3.6.23-24.el6_7, samba-doc-3.6.23-24.el6_7 +5
- Red Hat Enterprise Linux HPC Node (v. 6) samba-3.6.23-24.el6_7, samba-client-3.6.23-24.el6_7, samba-common-3.6.23-24.el6_7 +2
- Red Hat Enterprise Linux HPC Node Optional (v. 6) libsmbclient-3.6.23-24.el6_7, libsmbclient-devel-3.6.23-24.el6_7, samba-3.6.23-24.el6_7 +6
- Red Hat Enterprise Linux Server (v. 6) libsmbclient-3.6.23-24.el6_7, libsmbclient-3.6.23-24.el6_7.ppc, samba-3.6.23-24.el6_7 +6
- Red Hat Enterprise Linux Server Optional (v. 6) libsmbclient-devel-3.6.23-24.el6_7, libsmbclient-devel-3.6.23-24.el6_7.ppc, samba-doc-3.6.23-24.el6_7 +6
- Red Hat Enterprise Linux Workstation (v. 6) libsmbclient-3.6.23-24.el6_7, samba-3.6.23-24.el6_7, samba-client-3.6.23-24.el6_7 +3
- Red Hat Enterprise Linux Workstation Optional (v. 6) libsmbclient-devel-3.6.23-24.el6_7, samba-doc-3.6.23-24.el6_7, samba-domainjoin-gui-3.6.23-24.el6_7 +4
- RHSA-2016:0010 Released 2016-01-07 · Red Hat rating Moderatesamba4 security update
- Red Hat Enterprise Linux Desktop (v. 6) samba4-4.0.0-67.el6_7.rc4, samba4-client-4.0.0-67.el6_7.rc4, samba4-common-4.0.0-67.el6_7.rc4 +11
- Red Hat Enterprise Linux HPC Node (v. 6) samba4-4.0.0-67.el6_7.rc4, samba4-client-4.0.0-67.el6_7.rc4, samba4-common-4.0.0-67.el6_7.rc4 +11
- Red Hat Enterprise Linux Server (v. 6) samba4-4.0.0-67.el6_7.rc4, samba4-client-4.0.0-67.el6_7.rc4, samba4-common-4.0.0-67.el6_7.rc4 +11
- Red Hat Enterprise Linux Workstation (v. 6) samba4-4.0.0-67.el6_7.rc4, samba4-client-4.0.0-67.el6_7.rc4, samba4-common-4.0.0-67.el6_7.rc4 +11
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2016:0006 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2016:0006 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2016:0006 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2016:0006 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2016:0010, RHSA-2016:0011 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2016:0011 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2016:0010, RHSA-2016:0011 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2016:0011 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2016:0010, RHSA-2016:0011 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2016:0006 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2016:0011 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2016:0006 |
| Red Hat Enterprise Linux Server Resilient Storage (v. 7) | Fixed | RHSA-2016:0006 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2016:0010, RHSA-2016:0011 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2016:0006 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2016:0011 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2016:0006 |
| Red Hat Gluster 3 Samba on RHEL-6 | Fixed | RHSA-2016:0015 |
| Red Hat Gluster 3 Samba on RHEL-7 | Fixed | RHSA-2016:0016 |
Not affected: 2 products
- Red Hat Enterprise Linux 4
- Red Hat Enterprise Linux 5
Timeline
- 2026-10-02 Threatist record created from CVE-2015-5299
- 2026-10-03 Alias added: GHSA-f55c-cff2-h6j3
References
Advisory 20
- FEDORA-2015-0e0879cc8a
- openSUSE-SU-2016:1064
- USN-2855-2
- SUSE-SU-2016:0032
- SUSE-SU-2015:2304
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- SUSE-SU-2015:2305
- SUSE-SU-2016:0164
- openSUSE-SU-2015:2354
- FEDORA-2015-b36076d32e
- openSUSE-SU-2016:1106
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05115993
- DSA-3433
- openSUSE-SU-2016:1107
- https://www.samba.org/samba/security/CVE-2015-5299.html
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
- GLSA-201612-47
- https://bugzilla.redhat.com/show_bug.cgi?id=1276126
- USN-2855-1
- openSUSE-SU-2015:2356
Sources
- CVE-2015-5299 · CVE Program
- CVE-2015-5299 · NVD
- FIRST EPSS
- GHSA-f55c-cff2-h6j3 · GitHub Advisory Database · CC BY 4.0
- CVE-2015-5299 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences