### [CVE-2015-5299](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-5299) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brightgreen) ### 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. ### POC #### Reference - http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html - http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html - https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05115993 #### Github - https://github.com/Live-Hack-CVE/CVE-2015-5299