GLSA 200907-14: Rasterbar libtorrent: Directory traversal

Severity:normal
Title:Rasterbar libtorrent: Directory traversal
Date:07/17/2009
Bugs: #273156, #273961
ID:200907-14

Synopsis

A directory traversal vulnerability in Rasterbar libtorrent might allow a remote attacker to overwrite arbitrary files.

Background

Rasterbar libtorrent is a C++ BitTorrent implementation focusing on efficiency and scalability. Deluge is a BitTorrent client that ships a copy of libtorrent.

Affected packages

Package Vulnerable Unaffected Architecture(s)
net-libs/rb_libtorrent < 0.13-r1 >= 0.13-r1 All supported architectures
net-p2p/deluge < 1.1.9 >= 1.1.9 All supported architectures

Description

census reported a directory traversal vulnerability in src/torrent_info.cpp that can be triggered via .torrent files.

Impact

A remote attacker could entice a user or automated system using Rasterbar libtorrent to load a specially crafted BitTorrent file to create or overwrite arbitrary files using dot dot sequences in filenames.

Workaround

There is no known workaround at this time.

Resolution

All Rasterbar libtorrent users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=net-libs/rb_libtorrent-0.13-r1"

All Deluge users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=net-p2p/deluge-1.1.9"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200907-14.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!