All reports
Medium

Samba: Missing access control check in shadow copy code

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2015-5299

Probability of exploitation in the next 30 days: 13.58%

FIRST EPSS · 2026-11-24

Description

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.

A missing access control flaw was found in Samba. A remote, authenticated attacker could use this flaw to view the current snapshot on a Samba share, despite not having DIRECTORY_LIST access rights.