GLSA-200504-12 : rsnapshot: Local privilege escalation

Medium Nessus Plugin ID 18045


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-200504-12 (rsnapshot: Local privilege escalation)

The copy_symlink() subroutine in rsnapshot follows symlinks when changing file ownership, instead of changing the ownership of the symlink itself.
Impact :

Under certain circumstances, local attackers can exploit this vulnerability to take ownership of arbitrary files, resulting in local privilege escalation.
Workaround :

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

See Also

Plugin Details

Severity: Medium

ID: 18045

File Name: gentoo_GLSA-200504-12.nasl

Version: $Revision: 1.13 $

Type: local

Published: 2005/04/14

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:rsnapshot, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2005/04/13

Vulnerability Publication Date: 2005/04/09

Reference Information

CVE: CVE-2005-1064

OSVDB: 15420

GLSA: 200504-12