Gentoo: KTorrent Multiple vulnerabilitites
Posted by Benjamin D. Thomas   
Gentoo Two vulnerabilities in the web interface plugin in KTorrent allow for remote execution of code and arbitrary torrent uploads.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200902-05
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: High
     Title: KTorrent: Multiple vulnerabilitites
      Date: February 23, 2009
      Bugs: #244741
        ID: 200902-05

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
=3D=3D=3D=3D=3D=3D=3D=3D

Two vulnerabilities in the web interface plugin in KTorrent allow for
remote execution of code and arbitrary torrent uploads.

Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

KTorrent is a BitTorrent program for KDE.

Affected packages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

    -------------------------------------------------------------------
     Package           /  Vulnerable  /                     Unaffected
    -------------------------------------------------------------------
  1  net-p2p/ktorrent       < 2.2.8                           >=3D 2.2.8

Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

The web interface plugin does not restrict access to the torrent upload
functionality (CVE-2008-5905) and does not sanitize request parameters
properly (CVE-2008-5906) .

Impact
=3D=3D=3D=3D=3D=3D

A remote attacker could send specially crafted parameters to the web
interface that would allow for arbitrary torrent uploads and remote
code execution with the privileges of the KTorrent process.

Workaround
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Disabling the web interface plugin will prevent exploitation of both
issues. Click "Plugins" in the configuration menu and uncheck the
checkbox left of "WebInterface", then apply the changes.

Resolution
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

All KTorrent users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=3Dnet-p2p/ktorrent-2.2.8"

References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

  [ 1 ] CVE-2008-5905
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2008-5905
  [ 2 ] CVE-2008-5906
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2008-5906

Availability
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200902-05.xml

Concerns?
=3D=3D=3D=3D=3D=3D=3D=3D=3D

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
http://bugs.gentoo.org.

License
=3D=3D=3D=3D=3D=3D=3D

Copyright 2009 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.

http://creativecommons.org/licenses/by-sa/2.5