CVE-2015-5299
published 2015-12-29CVE-2015-5299: 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…
PriorityP341medium5.3CVSS 3.1
AVNACLPRNUINSUCLINAN
EPSS
13.58%
96.0th percentile
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.
Affected
16 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | samba | < samba 2:4.1.22+dfsg-1 (bookworm) | samba 2:4.1.22+dfsg-1 (bookworm) |
| samba | samba | >= 0 < 2:4.1.22+dfsg-1 | 2:4.1.22+dfsg-1 |
| samba | samba | >= 0 < 2:4.1.22+dfsg-1 | 2:4.1.22+dfsg-1 |
| samba | samba | >= 0 < 2:4.1.22+dfsg-1 | 2:4.1.22+dfsg-1 |
| samba | samba | >= 0 < 2:4.1.22+dfsg-1 | 2:4.1.22+dfsg-1 |
| samba | samba | >= 0 < 2:4.1.6+dfsg-1ubuntu2.14.04.11 | 2:4.1.6+dfsg-1ubuntu2.14.04.11 |
| samba | samba | >= 0 < 2:4.1.6+dfsg-1ubuntu2.14.04.12 | 2:4.1.6+dfsg-1ubuntu2.14.04.12 |
| samba | samba | >= 3.0.20 < 4.1.22 | 4.1.22 |
| samba | samba | >= 4.2.0 < 4.2.7 | 4.2.7 |
| samba | samba | >= 4.3.0 < 4.3.3 | 4.3.3 |
CVSS provenance
nvdv3.15.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
osv5.3MEDIUM
vendor_debian5.3MEDIUM
vendor_redhat5.3MEDIUM
vendor_ubuntu5.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-f55c-cff2-h6j3: The shadow_copy2_get_shadow_copy_data function in modules/vfs_shadow_copy2
ghsa_unreviewed·2022-05-17
CVE-2015-5299 [MEDIUM] CWE-200 GHSA-f55c-cff2-h6j3: The shadow_copy2_get_shadow_copy_data function in modules/vfs_shadow_copy2
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.
OSV
samba regression
osv·2016-02-16·CVSS 5.3
CVE-2015-5252 [MEDIUM] samba regression
samba regression
USN-2855-1 fixed vulnerabilities in Samba. The upstream fix for
CVE-2015-5252 introduced a regression in certain specific environments.
This update fixes the problem.
Original advisory details:
Thilo Uttendorfer discovered that the Samba LDAP server incorrectly handled
certain packets. A remote attacker could use this issue to cause the LDAP
server to stop responding, resulting in a denial of service. This issue
only affected Ubuntu 14.04 LTS, Ubuntu 15.04 and Ubuntu 15.10.
(CVE-2015-3223)
Jan Kasprzak discovered that Samba incorrectly handled certain symlinks. A
remote attacker could use this issue to access files outside the exported
share path. (CVE-2015-5252)
Stefan Metzmacher discovered that Samba did not enforce signing when
creating encrypted connections. If a
OSV
samba vulnerabilities
osv·2016-01-05·CVSS 5.3
CVE-2015-3223 [MEDIUM] samba vulnerabilities
samba vulnerabilities
Thilo Uttendorfer discovered that the Samba LDAP server incorrectly handled
certain packets. A remote attacker could use this issue to cause the LDAP
server to stop responding, resulting in a denial of service. This issue
only affected Ubuntu 14.04 LTS, Ubuntu 15.04 and Ubuntu 15.10.
(CVE-2015-3223)
Jan Kasprzak discovered that Samba incorrectly handled certain symlinks. A
remote attacker could use this issue to access files outside the exported
share path. (CVE-2015-5252)
Stefan Metzmacher discovered that Samba did not enforce signing when
creating encrypted connections. If a remote attacker were able to perform a
machine-in-the-middle attack, this flaw could be exploited to view sensitive
information. (CVE-2015-5296)
It was discovered that Samba incorrectly perf
OSV
CVE-2015-5299: The shadow_copy2_get_shadow_copy_data function in modules/vfs_shadow_copy2
osv·2015-12-29·CVSS 5.3
CVE-2015-5299 [MEDIUM] CVE-2015-5299: The shadow_copy2_get_shadow_copy_data function in modules/vfs_shadow_copy2
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.
Ubuntu
Samba regression
vendor_ubuntu·2016-02-16·CVSS 5.3
CVE-2015-5252 [MEDIUM] Samba regression
Title: Samba regression
Summary: USN-2855-1 introduced a regression in Samba.
USN-2855-1 fixed vulnerabilities in Samba. The upstream fix for
CVE-2015-5252 introduced a regression in certain specific environments.
This update fixes the problem.
Original advisory details:
Thilo Uttendorfer discovered that the Samba LDAP server incorrectly handled
certain packets. A remote attacker could use this issue to cause the LDAP
server to stop responding, resulting in a denial of service. This issue
only affected Ubuntu 14.04 LTS, Ubuntu 15.04 and Ubuntu 15.10.
(CVE-2015-3223)
Jan Kasprzak discovered that Samba incorrectly handled certain symlinks. A
remote attacker could use this issue to access files outside the exported
share path. (CVE-2015-5252)
Stefan Metzmacher discovered that Samba did
Ubuntu
Samba vulnerabilities
vendor_ubuntu·2016-01-05·CVSS 5.3
CVE-2015-3223 [MEDIUM] Samba vulnerabilities
Title: Samba vulnerabilities
Summary: Several security issues were fixed in Samba.
Thilo Uttendorfer discovered that the Samba LDAP server incorrectly handled
certain packets. A remote attacker could use this issue to cause the LDAP
server to stop responding, resulting in a denial of service. This issue
only affected Ubuntu 14.04 LTS, Ubuntu 15.04 and Ubuntu 15.10.
(CVE-2015-3223)
Jan Kasprzak discovered that Samba incorrectly handled certain symlinks. A
remote attacker could use this issue to access files outside the exported
share path. (CVE-2015-5252)
Stefan Metzmacher discovered that Samba did not enforce signing when
creating encrypted connections. If a remote attacker were able to perform a
machine-in-the-middle attack, this flaw could be exploited to view sensitive
information.
Red Hat
Samba: Missing access control check in shadow copy code
vendor_redhat·2015-12-16·CVSS 5.3
CVE-2015-5299 [MEDIUM] CWE-862 Samba: Missing access control check in shadow copy code
Samba: Missing access control check in shadow copy code
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.
Package: samba (Red Hat Enterprise Linux 4) - Not affected
Package: samba (Red Hat Enterprise Linux 5) - Not affected
Package: samba3x (Red Hat Enterprise Linux 5) - Will not fix
Debian
CVE-2015-5299: samba - The shadow_copy2_get_shadow_copy_data function in modules/vfs_shadow_copy2.c in ...
vendor_debian·2015·CVSS 5.3
CVE-2015-5299 [MEDIUM] CVE-2015-5299: samba - The shadow_copy2_get_shadow_copy_data function in modules/vfs_shadow_copy2.c in ...
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.
Scope: local
bookworm: resolved (fixed in 2:4.1.22+dfsg-1)
bullseye: resolved (fixed in 2:4.1.22+dfsg-1)
forky: resolved (fixed in 2:4.1.22+dfsg-1)
sid: resolved (fixed in 2:4.1.22+dfsg-1)
trixie: resolved (fixed in 2:4.1.22+dfsg-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2015-5299 CVE-2015-7540 CVE-2015-3223 CVE-2015-5252 CVE-2015-5296 samba: various flaws [fedora-all]
bugzilla·2015-12-16·CVSS 5.3
CVE-2015-5299 [MEDIUM] CVE-2015-5299 CVE-2015-7540 CVE-2015-3223 CVE-2015-5252 CVE-2015-5296 samba: various flaws [fedora-all]
CVE-2015-5299 CVE-2015-7540 CVE-2015-3223 CVE-2015-5252 CVE-2015-5296 samba: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multi
Bugzilla
CVE-2015-5299 Samba: Missing access control check in shadow copy code
bugzilla·2015-10-28·CVSS 5.3
CVE-2015-5299 [MEDIUM] CVE-2015-5299 Samba: Missing access control check in shadow copy code
CVE-2015-5299 Samba: Missing access control check in shadow copy code
The Samba Project reports:
All versions of Samba from 3.2.0 to 4.3.1 inclusive are vulnerable to
a missing access control check in the vfs_shadow_copy2 module. When
looking for the shadow copy directory under the share path the current
accessing user should have DIRECTORY_LIST access rights in order to
view the current snapshots.
This was not being checked in the affected versions of Samba.
https://bugzilla.samba.org/show_bug.cgi?id=11529
Discussion:
Acknowledgements:
Red Hat would like to thank the Samba project for reporting this issue. Upstream acknowledges [email protected] as the original reporter.
---
Created samba tracking bugs for this issue:
Affects: fedora-all [bug 1292069]
---
External References:
http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174076.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-December/174391.htmlhttp://lists.opensuse.org/opensuse-security-announce/2015-12/msg00019.htmlhttp://lists.opensuse.org/opensuse-security-announce/2015-12/msg00020.htmlhttp://lists.opensuse.org/opensuse-security-announce/2015-12/msg00032.htmlhttp://lists.opensuse.org/opensuse-security-announce/2015-12/msg00033.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-01/msg00002.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-01/msg00017.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-04/msg00042.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-04/msg00047.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-04/msg00048.htmlhttp://www.debian.org/security/2016/dsa-3433http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.htmlhttp://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.htmlhttp://www.securityfocus.com/bid/79729http://www.securitytracker.com/id/1034493http://www.ubuntu.com/usn/USN-2855-1http://www.ubuntu.com/usn/USN-2855-2https://bugzilla.redhat.com/show_bug.cgi?id=1276126https://git.samba.org/?p=samba.git%3Ba=commit%3Bh=675fd8d771f9d43e354dba53ddd9b5483ae0a1d7https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05115993https://security.gentoo.org/glsa/201612-47https://www.samba.org/samba/security/CVE-2015-5299.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-December/174076.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2015-December/174391.htmlhttp://lists.opensuse.org/opensuse-security-announce/2015-12/msg00019.htmlhttp://lists.opensuse.org/opensuse-security-announce/2015-12/msg00020.htmlhttp://lists.opensuse.org/opensuse-security-announce/2015-12/msg00032.htmlhttp://lists.opensuse.org/opensuse-security-announce/2015-12/msg00033.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-01/msg00002.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-01/msg00017.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-04/msg00042.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-04/msg00047.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-04/msg00048.htmlhttp://www.debian.org/security/2016/dsa-3433http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.htmlhttp://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.htmlhttp://www.securityfocus.com/bid/79729http://www.securitytracker.com/id/1034493http://www.ubuntu.com/usn/USN-2855-1http://www.ubuntu.com/usn/USN-2855-2https://bugzilla.redhat.com/show_bug.cgi?id=1276126https://git.samba.org/?p=samba.git%3Ba=commit%3Bh=675fd8d771f9d43e354dba53ddd9b5483ae0a1d7https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05115993https://security.gentoo.org/glsa/201612-47https://www.samba.org/samba/security/CVE-2015-5299.html
2015-12-29
Published