Joined: 27 Jun 2003
Location: Gothenburg, Sweden
|Posted: Wed Apr 13, 2005 6:28 pm Post subject: [ GLSA 200504-12 ] rsnapshot: Local privilege escalation
|Gentoo Linux Security Advisory
Title: rsnapshot: Local privilege escalation (GLSA 200504-12)
Date: April 13, 2005
Updated: December 30, 2007
rsnapshot allows a local user to take ownership of local files, resulting in privilege escalation.
rsnapshot is a filesystem snapshot utility based on rsync, allowing local and remote systems backups.
Vulnerable: < 1.2.1
Unaffected: >= 1.2.1
Unaffected: >= 1.1.7 < 1.1.8
Architectures: All supported architectures
The copy_symlink() subroutine in rsnapshot follows symlinks when changing file ownership, instead of changing the ownership of the symlink itself.
Under certain circumstances, local attackers can exploit this vulnerability to take ownership of arbitrary files, resulting in local privilege escalation.
The copy_symlink() subroutine is not called if the cmd_cp parameter has been enabled.
All rsnapshot users should upgrade to the latest version:
|# emerge --sync
# emerge --ask --oneshot --verbose app-backup/rsnapshot
rsnapshot Security Advisory 001
Last edited by GLSA on Mon Dec 31, 2007 4:17 am; edited 5 times in total