[Full-disclosure] [ GLSA 200709-02 ] KVIrc: Remote arbitrary code execution

Raphael Marichez falco at gentoo.org
Thu Sep 13 19:56:35 BST 2007


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200709-02
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: KVIrc: Remote arbitrary code execution
      Date: September 13, 2007
      Bugs: #183174
        ID: 200709-02

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

Synopsis
========

A vulnerability has been discovered in KVIrc, allowing for the remote
execution of arbitrary code.

Background
==========

KVIrc is a free portable IRC client based on Qt.

Affected packages
=================

    -------------------------------------------------------------------
     Package        /       Vulnerable       /              Unaffected
    -------------------------------------------------------------------
  1  net-irc/kvirc      < 3.2.6_pre20070714       >= 3.2.6_pre20070714

Description
===========

Stefan Cornelius from Secunia Research discovered that the
"parseIrcUrl()" function in file src/kvirc/kernel/kvi_ircurl.cpp does
not properly sanitise parts of the URI when building the command for
KVIrc's internal script system.

Impact
======

A remote attacker could entice a user to open a specially crafted
irc:// URI, possibly leading to the remote execution of arbitrary code
with the privileges of the user running KVIrc. Successful exploitation
requires that KVIrc is registered as the default handler for irc:// or
similar URIs.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All KVIrc users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=net-irc/kvirc-3.2.6_pre20070714"

References
==========

  [ 1 ] CVE-2007-2951
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2951

Availability
============

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

  http://security.gentoo.org/glsa/glsa-200709-02.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 at gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2007 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
Url : http://lists.grok.org.uk/pipermail/full-disclosure/attachments/20070913/fd4319a2/attachment.bin 


Full-Disclosure is hosted and sponsored by Secunia.