BugTraq
Re: [Full-disclosure] Samba Remote Zero-Day Exploit Feb 06 2010 11:43AM
Thierry Zoller (Thierry zoller lu) (2 replies)
Re: [Full-disclosure] Samba Remote Zero-Day Exploit Feb 08 2010 09:57PM
Krzysztof Halasa (khc pm waw pl)
Thierry Zoller <Thierry (at) zoller (dot) lu [email concealed]> writes:

> Facts :
> - Several distributions run with vulnerable settings per default
> if there is a "misconfiguration" it is part of the vendor.
> - Your not supposed to be able to traverse dirs.

What's wrong with creating $HOME/tmp -> /tmp/$USER (not necessarily
with Samba, maybe with xterm or ssh) and then accessing /tmp/$USER via
/host/HOME/tmp? Why is it a problem while "ssh host cat /etc/passwd" is
not?

Can you traverse a directory for which you have no +x right?
Can you, for example, write to a file for which you have no +w right?
Read without +r?

If you can't, maybe it's a (local config?) issue with guest accounts, or
maybe Windows-only (and similar, non-guest) accounts, instead of
permissions and symlinks?

Disabling or limiting symlink creation will not really close the "hole",
the problem is not the symlink but that the user has fs access which he
(or she) should never have.

... unless (obviously) answer to any of the 3 questions is positive
(I haven't checked, to be honest) - is it?
--
Chris

[ reply ]
Re: [Full-disclosure] Samba Remote Zero-Day Exploit Feb 06 2010 12:59PM
paul szabo sydney edu au


 

Privacy Statement
Copyright 2010, SecurityFocus