Описание
A flaw was found in samba versions 4.9.x up to 4.9.13, samba 4.10.x up to 4.10.8 and samba 4.11.x up to 4.11.0rc3, when certain parameters were set in the samba configuration file. An unauthenticated attacker could use this flaw to escape the shared directory and access the contents of directories outside the share.
A flaw was found in samba when certain parameters were set in the samba configuration file. An unauthenticated attacker could use this flaw to escape the shared directory and access the contents of directories outside of the share.
Отчет
Only samba configurations where 'wide links' option is explicitly set to 'yes' is affected by this flaw. Therefore default configurations of samba package shipped with Red Hat Products are not affected. This vulnerability exists in the samba server, client side packages are not affected.
Меры по смягчению последствий
The following methods can be used as a mitigation (only one is needed):
- Use the 'sharesec' tool to configure a security descriptor for the share that's at least as strict as the permissions on the share root directory.
- Use the 'valid users' option to allow only users/groups which are able to enter the share root directory.
- Remove 'wide links = yes' if it's not really needed.
- In some situations it might be an option to use 'chmod a+x' on the share root directory, but you need to make sure that files and subdirectories are protected by stricter permissions. You may also want to 'chmod a-w' in order to prevent new top level files and directories, which may have less restrictive permissions.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 6 | samba | Not affected | ||
| Red Hat Enterprise Linux 6 | samba4 | Not affected | ||
| Red Hat Virtualization 4 | redhat-virtualization-host | Not affected | ||
| Red Hat Enterprise Linux 7 | samba | Fixed | RHSA-2020:1084 | 31.03.2020 |
| Red Hat Enterprise Linux 8 | openchange | Fixed | RHSA-2020:1878 | 28.04.2020 |
| Red Hat Enterprise Linux 8 | samba | Fixed | RHSA-2020:1878 | 28.04.2020 |
| Red Hat Enterprise Linux 8 | openchange | Fixed | RHSA-2020:1878 | 28.04.2020 |
| Red Hat Enterprise Linux 8 | samba | Fixed | RHSA-2020:1878 | 28.04.2020 |
| Red Hat Gluster Storage 3.5 for RHEL 6 | samba | Fixed | RHSA-2019:4023 | 02.12.2019 |
| Red Hat Gluster Storage 3.5 for RHEL 7 | samba | Fixed | RHSA-2019:3253 | 30.10.2019 |
Показывать по
Дополнительная информация
Статус:
6.5 Medium
CVSS3
Связанные уязвимости
A flaw was found in samba versions 4.9.x up to 4.9.13, samba 4.10.x up to 4.10.8 and samba 4.11.x up to 4.11.0rc3, when certain parameters were set in the samba configuration file. An unauthenticated attacker could use this flaw to escape the shared directory and access the contents of directories outside the share.
A flaw was found in samba versions 4.9.x up to 4.9.13, samba 4.10.x up to 4.10.8 and samba 4.11.x up to 4.11.0rc3, when certain parameters were set in the samba configuration file. An unauthenticated attacker could use this flaw to escape the shared directory and access the contents of directories outside the share.
A flaw was found in samba versions 4.9.x up to 4.9.13, samba 4.10.x up ...
A flaw was found in samba versions 4.9.x up to 4.9.13, samba 4.10.x up to 4.10.8 and samba 4.11.x up to 4.11.0rc3, when certain parameters were set in the samba configuration file. An unauthenticated attacker could use this flaw to escape the shared directory and access the contents of directories outside the share.
6.5 Medium
CVSS3