Gentoo Logo

KVIrc: Remote arbitrary code execution

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200709-02 / kvirc
Release Date September 13, 2007
Latest Revision September 13, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-irc/kvirc < 3.2.6_pre20070714 >= 3.2.6_pre20070714 All supported architectures

Related bugreports: #183174

Synopsis

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

2.  Impact Information

Background

KVIrc is a free portable IRC client based on Qt.

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All KVIrc users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

4.  References



Print

Updated September 13, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Support OSL
Gentoo Centric Hosting: vr.org
Tek Alchemy
SevenL.net
Global Netoptex Inc.
Bytemark
Online Kredit Index
Copyright 2001-2009 Gentoo Foundation, Inc. Questions, Comments? Contact us.