OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [Full-Disclosure] Security hole in Confixx backup script

From: Dirk Pirschel (dirkpirschel.de)
Date: Mon Aug 02 2004 - 06:00:28 CDT


Hi,

* Dirk Pirschel wrote on Tue, 27 Jul 2004 at 01:57 +0200:
 
> It is possible to retrieve *any* directory by replacing $HOME/files or
> $HOME/html with a symlink.

Even worse: A user might use the restore funktion to change the
ownership of target files to his own. Under special circumstances, it
is even possible to change the owner of /etc/{passwd,shadow} and then
gain root access!

> > If you are using confixx, you should disable the backup script.

According to Christian Boltz <christian (dot) boltz (at) nexgo (dot) de>,
this can be done by replacing or removing
$confixx_docroot/user/tools_backup*.php

You should also disable the restore script
$confixx_docroot/user/tools_restore*.php.

-Dirk

--
Trouble with Windows? Reboot! Trouble with Linux? Be root!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQFBDh7MxJ5Dfiog8/YRAhLqAJ9JFZH0aQznWzupn/I6ekRYPRAVbQCfd6MP
rmEfmanU/gPLLel0+hAXKvI=
=Pk2I
-----END PGP SIGNATURE-----

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html