blob: 30c88b350f9afb280f32e7e85918c9b1f701f262 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200710-25">
<title>MLDonkey: Privilege escalation</title>
<synopsis>
The Gentoo MLDonkey ebuild adds a user to the system with a valid login
shell and no password.
</synopsis>
<product type="ebuild">mldonkey</product>
<announced>October 24, 2007</announced>
<revised>November 07, 2007: 02</revised>
<bug>189412</bug>
<access>remote</access>
<affected>
<package name="net-p2p/mldonkey" auto="yes" arch="*">
<unaffected range="ge">2.9.0-r3</unaffected>
<vulnerable range="lt">2.9.0-r3</vulnerable>
</package>
</affected>
<background>
<p>
MLDonkey is a peer-to-peer filesharing client that connects to several
different peer-to-peer networks, including Overnet and BitTorrent.
</p>
</background>
<description>
<p>
The Gentoo MLDonkey ebuild adds a user to the system named "p2p" so
that the MLDonkey service can run under a user with low privileges.
With older Portage versions this user is created with a valid login
shell and no password.
</p>
</description>
<impact type="high">
<p>
A remote attacker could log into a vulnerable system as the p2p user.
This would require an installed login service that permitted empty
passwords, such as SSH configured with the "PermitEmptyPasswords yes"
option, a local login console, or a telnet server.
</p>
</impact>
<workaround>
<p>
See Resolution.
</p>
</workaround>
<resolution>
<p>
Change the p2p user's shell to disallow login. For example, as root run
the following command:
</p>
<code>
# usermod -s /bin/false p2p</code>
<p>
NOTE: updating to the current MLDonkey ebuild will not remove this
vulnerability, it must be fixed manually. The updated ebuild is to
prevent this problem from occurring in the future.
</p>
</resolution>
<references>
<uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5714">CVE-2007-5714</uri>
</references>
<metadata tag="requester" timestamp="Mon, 10 Sep 2007 16:21:11 +0000">
jaervosz
</metadata>
<metadata tag="submitter" timestamp="Sun, 07 Oct 2007 16:40:51 +0000">
aetius
</metadata>
<metadata tag="bugReady" timestamp="Sun, 07 Oct 2007 19:26:05 +0000">
p-y
</metadata>
</glsa>