All versions of Samba prior to 4.15.5 are vulnerable to a malicious client using a server symlink to determine if a file or directory exists in an area of the server file system not exported under the share definition. SMB1 with unix extensions has to be enabled in order for this attack to succeed.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Samba | Samba | * | 4.15.5 (excluding) |
Red Hat Enterprise Linux 8 | RedHat | samba-0:4.15.5-5.el8 | * |
Red Hat Enterprise Linux 8 | RedHat | samba-0:4.15.5-5.el8 | * |
Red Hat Gluster Storage 3.5 for RHEL 8 | RedHat | samba-0:4.15.5-100.el8rhgs | * |
Samba | Ubuntu | bionic | * |
Samba | Ubuntu | devel | * |
Samba | Ubuntu | esm-infra-legacy/trusty | * |
Samba | Ubuntu | esm-infra/bionic | * |
Samba | Ubuntu | esm-infra/xenial | * |
Samba | Ubuntu | focal | * |
Samba | Ubuntu | impish | * |
Samba | Ubuntu | jammy | * |
Samba | Ubuntu | trusty/esm | * |
Samba | Ubuntu | upstream | * |