blob: 2d10a790cbdee65bdcec95ea52a8110514c7af59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200504-12">
<title>rsnapshot: Local privilege escalation</title>
<synopsis>
rsnapshot allows a local user to take ownership of local files, resulting
in privilege escalation.
</synopsis>
<product type="ebuild">rsnapshot</product>
<announced>April 13, 2005</announced>
<revised>December 30, 2007: 05</revised>
<bug>88681</bug>
<access>local</access>
<affected>
<package name="app-backup/rsnapshot" auto="yes" arch="*">
<unaffected range="ge">1.2.1</unaffected>
<unaffected range="rge">1.1.7</unaffected>
<vulnerable range="lt">1.2.1</vulnerable>
</package>
</affected>
<background>
<p>
rsnapshot is a filesystem snapshot utility based on rsync, allowing
local and remote systems backups.
</p>
</background>
<description>
<p>
The copy_symlink() subroutine in rsnapshot follows symlinks when
changing file ownership, instead of changing the ownership of the
symlink itself.
</p>
</description>
<impact type="high">
<p>
Under certain circumstances, local attackers can exploit this
vulnerability to take ownership of arbitrary files, resulting in local
privilege escalation.
</p>
</impact>
<workaround>
<p>
The copy_symlink() subroutine is not called if the cmd_cp parameter has
been enabled.
</p>
</workaround>
<resolution>
<p>
All rsnapshot users should upgrade to the latest version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose app-backup/rsnapshot</code>
</resolution>
<references>
<uri link="http://www.rsnapshot.org/security/2005/001.html">rsnapshot Security Advisory 001</uri>
<uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1064">CVE-2005-1064</uri>
</references>
<metadata tag="requester" timestamp="Mon, 11 Apr 2005 07:57:07 +0000">
koon
</metadata>
<metadata tag="bugReady" timestamp="Mon, 11 Apr 2005 21:22:40 +0000">
lewk
</metadata>
<metadata tag="submitter" timestamp="Wed, 13 Apr 2005 08:59:16 +0000">
koon
</metadata>
</glsa>
|