[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Samba Remote Zero-Day Exploit
> From: Stefan Kanthak [mailto:stefan.kanthak@xxxxxxxx]
> Sent: Saturday, 06 February, 2010 08:21
> Dan Kaminsky wrote:
> > (On a side note, you're not going to see this sort of symlink stuff
> > on Windows,
> What exactly do you mean?
> Traversing symlinks on the server/share, or creation of "wide"
> by the client on the server/share?
> Since Windows 2000 NTFS supports "junctions", which pretty much
> resemble Unix symlinks, but only for directories.
> See <http://support.microsoft.com/kb/205524/en-us>
And at least since Vista, it also supports symlinks, which are designed
to mimic Unix symlinks, and can point to files or directories. Junctions
and symlinks can cross volumes; symlinks can also refer to files or
directories on network filesystems.
Junctions (which Microsoft also sometimes refers to as "soft links") and
symlinks are implemented with NTFS reparse points, just like mounts. You
can see some of the differences between them using "fsutil reparsepoint
query <path>", where "<path>" is a junction or symlink.
In Vista and later, symlinks and junctions can be created with the
mklink command. (I've seen some comments about symlinks being available
in earlier versions of NTFS, via Services for Unix; but at least in SFU
2.0, symlinks were just files with a special format, not reparse
The Windows SMB server apparently won't cross reparse points, though, so
there's no equivalent vulnerability.
Principal Software Systems Developer, Micro Focus