GLSA-200504-12 : rsnapshot: Local privilege escalation

medium Nessus Plugin ID 18045

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.

Solution

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

See Also

https://rsnapshot.org/security/2005/001.html

https://security.gentoo.org/glsa/200504-12

Plugin Details

Severity: Medium

ID: 18045

File Name: gentoo_GLSA-200504-12.nasl

Version: 1.17

Type: local

Published: 4/14/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

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: 4/13/2005

Reference Information

CVE: CVE-2005-1064

GLSA: 200504-12