lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
From: dirk at pirschel.de (Dirk Pirschel)
Subject: Security hole in Confixx backup script

Hi,

* Dirk Pirschel wrote on Mon, 02 Aug 2004 at 13:00 +0200:

> A user might use the restore funktion to change the ownership of
> target files to his own.

The restore script runs with root privileges.  It unpacks the archive,
and then executes "chown -R $user" in the destination directory
($HOME/html or $HOME/files).  Before running the restore script, an
attacker can make hardlinks to files not owned by himself.  The
ownership of these files will be changed.

On some badly administered systems there is only one disk partion, so it
is possible to make a hardlink to /etc/shdadow within $HOME.

-Dirk

-- 
Linux - Life is too short for reboots
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.grok.org.uk/pipermail/full-disclosure/attachments/20040809/7535203b/attachment.bin

Powered by blists - more mailing lists