blob: 76a7f3d0afef8af63168e942b6cb4a844b531619 (
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
72
73
74
75
76
77
78
79
80
81
82
|
<?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="200602-11">
<title>OpenSSH, Dropbear: Insecure use of system() call</title>
<synopsis>
A flaw in OpenSSH and Dropbear allows local users to elevate their
privileges via scp.
</synopsis>
<product type="ebuild">OpenSSH</product>
<announced>February 20, 2006</announced>
<revised>February 20, 2006: 01</revised>
<bug>119232</bug>
<access>local</access>
<affected>
<package name="net-misc/openssh" auto="yes" arch="*">
<unaffected range="ge">4.2_p1-r1</unaffected>
<vulnerable range="lt">4.2_p1-r1</vulnerable>
</package>
<package name="net-misc/dropbear" auto="yes" arch="*">
<unaffected range="ge">0.47-r1</unaffected>
<vulnerable range="lt">0.47-r1</vulnerable>
</package>
</affected>
<background>
<p>
OpenSSH is a free application suite consisting of server and
clients that replace tools like telnet, rlogin, rcp and ftp with more
secure versions offering additional functionality. Dropbear is an SSH
server and client designed with a small memory footprint that includes
OpenSSH scp code.
</p>
</background>
<description>
<p>
To copy from a local filesystem to another local filesystem, scp
constructs a command line using 'cp' which is then executed via
system(). Josh Bressers discovered that special characters are not
escaped by scp, but are simply passed to the shell.
</p>
</description>
<impact type="low">
<p>
By tricking other users or applications to use scp on maliciously
crafted filenames, a local attacker user can execute arbitrary commands
with the rights of the user running scp.
</p>
</impact>
<workaround>
<p>
There is no known workaround at this time.
</p>
</workaround>
<resolution>
<p>
All OpenSSH users should upgrade to the latest version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-misc/openssh-4.2_p1-r1"</code>
<p>
All Dropbear users should upgrade to the latest version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-misc/dropbear-0.47-r1"</code>
</resolution>
<references>
<uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0225">CVE-2006-0225</uri>
</references>
<metadata tag="requester" timestamp="Mon, 06 Feb 2006 20:22:40 +0000">
jaervosz
</metadata>
<metadata tag="submitter" timestamp="Tue, 07 Feb 2006 06:29:22 +0000">
frilled
</metadata>
<metadata tag="bugReady" timestamp="Mon, 20 Feb 2006 20:03:36 +0000">
koon
</metadata>
</glsa>
|