GLSA-200504-12 : rsnapshot: Local privilege escalation

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


Synopsis :

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

Description :

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.

See also :

http://www.rsnapshot.org/security/2005/001.html
http://www.gentoo.org/security/en/glsa/glsa-200504-12.xml

Solution :

All rsnapshot users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose app-backup/rsnapshot

Risk factor :

Medium / CVSS Base Score : 4.6
(CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 18045 (gentoo_GLSA-200504-12.nasl)

Bugtraq ID:

CVE ID: CVE-2005-1064