1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 200710-25 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: High |
8 |
Title: MLDonkey: Privilege escalation |
9 |
Date: October 24, 2007 |
10 |
Bugs: #189412 |
11 |
ID: 200710-25 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
The Gentoo MLDonkey ebuild adds a user to the system with a valid login |
19 |
shell and no password. |
20 |
|
21 |
Background |
22 |
========== |
23 |
|
24 |
MLDonkey is a peer-to-peer filesharing client that connects to several |
25 |
different peer-to-peer networks, including Overnet and BitTorrent. |
26 |
|
27 |
Affected packages |
28 |
================= |
29 |
|
30 |
------------------------------------------------------------------- |
31 |
Package / Vulnerable / Unaffected |
32 |
------------------------------------------------------------------- |
33 |
1 net-p2p/mldonkey < 2.9.0-r3 >= 2.9.0-r3 |
34 |
|
35 |
Description |
36 |
=========== |
37 |
|
38 |
The Gentoo MLDonkey ebuild adds a user to the system named "p2p" so |
39 |
that the MLDonkey service can run under a user with low privileges. |
40 |
This user is created with a valid login shell and no password. |
41 |
|
42 |
Impact |
43 |
====== |
44 |
|
45 |
A remote attacker could log into a vulnerable system as the p2p user. |
46 |
This would require an installed login service that permitted empty |
47 |
passwords, such as SSH configured with the "PermitEmptyPasswords yes" |
48 |
option, a local login console, or a telnet server. |
49 |
|
50 |
Workaround |
51 |
========== |
52 |
|
53 |
See Resolution. |
54 |
|
55 |
Resolution |
56 |
========== |
57 |
|
58 |
Change the p2p user's shell to disallow login. For example, as root run |
59 |
the following command: |
60 |
|
61 |
# usermod -s /bin/false p2p |
62 |
|
63 |
NOTE: updating to the current MLDonkey ebuild will not remove this |
64 |
vulnerability, it must be fixed manually. The updated ebuild is to |
65 |
prevent this problem from occurring in the future. |
66 |
|
67 |
Availability |
68 |
============ |
69 |
|
70 |
This GLSA and any updates to it are available for viewing at |
71 |
the Gentoo Security Website: |
72 |
|
73 |
http://security.gentoo.org/glsa/glsa-200710-25.xml |
74 |
|
75 |
Concerns? |
76 |
========= |
77 |
|
78 |
Security is a primary focus of Gentoo Linux and ensuring the |
79 |
confidentiality and security of our users machines is of utmost |
80 |
importance to us. Any security concerns should be addressed to |
81 |
security@g.o or alternatively, you may file a bug at |
82 |
http://bugs.gentoo.org. |
83 |
|
84 |
License |
85 |
======= |
86 |
|
87 |
Copyright 2007 Gentoo Foundation, Inc; referenced text |
88 |
belongs to its owner(s). |
89 |
|
90 |
The contents of this document are licensed under the |
91 |
Creative Commons - Attribution / Share Alike license. |
92 |
|
93 |
http://creativecommons.org/licenses/by-sa/2.5 |