Full Disclosure mailing list archives
Re: Security hole in Confixx backup script
From: Dirk Pirschel <dirk () pirschel de>
Date: Mon, 9 Aug 2004 19:17:52 +0200
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
Attachment:
_bin
Description:
Current thread:
- Re: Security hole in Confixx backup script Dirk Pirschel (Aug 02)
- Re: Security hole in Confixx backup script Dirk Pirschel (Aug 09)
- Re: Security hole in Confixx backup script Thomas Loch (Aug 09)
- Re: Security hole in Confixx backup script Valdis . Kletnieks (Aug 09)
- Re: Security hole in Confixx backup script Dirk Pirschel (Aug 10)
- Re: Security hole in Confixx backup script Valdis . Kletnieks (Aug 10)
- Re: Security hole in Confixx backup script Thomas Loch (Aug 10)
- Re: Security hole in Confixx backup script Valdis . Kletnieks (Aug 10)
- Re: Security hole in Confixx backup script Thomas Loch (Aug 09)
- Re: Security hole in Confixx backup script Dirk Pirschel (Aug 10)
- RE: Security hole in Confixx backup script Aditya, ALD [Aditya Lalit Deshmukh] (Aug 10)
- Re: Security hole in Confixx backup script Dirk Pirschel (Aug 09)
- Re: Security hole in Confixx backup script Dirk Pirschel (Aug 13)