portage-ng / portage / net-p2p / mldonkey / 3.2.1
portage-ng glsa
2 advisories reference net-p2p/mldonkey · none place version 3.2.1 in a vulnerable range
▸ GLSA 200903-36 MLDonkey: Information disclosure this version unaffected normal remote 2009-03-23

A vulnerability in the MLDonkey web interface allows remote attackers to disclose arbitrary files.

Announced
2009-03-23
Revised
2009-03-23
Access
remote
Bugs
#260072
Advisory
https://security.gentoo.org/glsa/200903-36

Affected packages

PackageArchVulnerableUnaffected
net-p2p/mldonkey*< 3.0.0>= 3.0.0

Background

MLDonkey is a multi-network P2P application written in Ocaml, coming with its own Gtk GUI, web and telnet interface.

Description

Michael Peselnik reported that src/utils/lib/url.ml in the web interface of MLDonkey does not handle file names with leading double slashes properly.

Impact

A remote attacker could gain access to arbitrary files readable by the user running the application.

Workaround

Disable the web interface or restrict access to it.

Resolution

All MLDonkey users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-p2p/mldonkey-3.0.0"

References

▸ GLSA 200710-25 MLDonkey: Privilege escalation this version unaffected high remote 2007-10-24

The Gentoo MLDonkey ebuild adds a user to the system with a valid login shell and no password.

Announced
2007-10-24
Revised
2007-11-07 (revision 2)
Access
remote
Bugs
#189412
Advisory
https://security.gentoo.org/glsa/200710-25

Affected packages

PackageArchVulnerableUnaffected
net-p2p/mldonkey*< 2.9.0-r3>= 2.9.0-r3

Background

MLDonkey is a peer-to-peer filesharing client that connects to several different peer-to-peer networks, including Overnet and BitTorrent.

Description

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.

Impact

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.

Workaround

See Resolution.

Resolution

Change the p2p user's shell to disallow login. For example, as root run the following command:

# usermod -s /bin/false p2p

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.

References