PT-2004-1878 · Samba+1 · Samba+1

Karol Wiesek

·

Publicado

2004-10-16

·

Atualizado

2021-03-25

·

CVE-2004-0815

CVSS v2.0

7.5

Alta

VetorAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions Samba versions 2.2.0 through 2.2.11 Samba versions 3.0.0 through 3.0.2a
Description The issue allows remote attackers to bypass specified share restrictions and access files and directories outside of the share path. This is due to the unix clean name function trimming certain directory names down to absolute paths when "/.////" style sequences are used in pathnames. The unix convert() function converts names from the DOS namespace to Unix namespace and calls unix clean name(), which removes double slashes, leading './' characters, and '..' directory-traversal characters. However, this process can be exploited to specify the real path of any file on the computer.
Recommendations For Samba versions 2.2.0 through 2.2.11, update to a version outside of this range to mitigate the risk. For Samba versions 3.0.0 through 3.0.2a, update to version 3.0.2a or later to resolve the issue. As a temporary workaround, consider restricting access to sensitive files and directories until a patch is applied.

Exploit

Correção

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Identificadores relacionados

ALT-PU-2021-1547
CVE-2004-0815
DSA-600-1

Produtos afetados

Alt Linux
Samba