<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd"> <glsa id="200709-02"> <title>KVIrc: Remote arbitrary code execution</title> <synopsis> A vulnerability has been discovered in KVIrc, allowing for the remote execution of arbitrary code. </synopsis> <product type="ebuild">kvirc</product> <announced>2007-09-13</announced> <revised count="01">2007-09-13</revised> <bug>183174</bug> <access>remote</access> <affected> <package name="net-irc/kvirc" auto="yes" arch="*"> <unaffected range="ge">3.2.6_pre20070714</unaffected> <vulnerable range="lt">3.2.6_pre20070714</vulnerable> </package> </affected> <background> <p> KVIrc is a free portable IRC client based on Qt. </p> </background> <description> <p> 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. </p> </description> <impact type="normal"> <p> 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. </p> </impact> <workaround> <p> There is no known workaround at this time. </p> </workaround> <resolution> <p> All KVIrc users should upgrade to the latest version: </p> <code> # emerge --sync # emerge --ask --oneshot --verbose ">=net-irc/kvirc-3.2.6_pre20070714"</code> </resolution> <references> <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2951">CVE-2007-2951</uri> </references> <metadata tag="requester" timestamp="2007-08-06T14:12:16Z"> p-y </metadata> <metadata tag="bugReady" timestamp="2007-08-19T18:59:16Z"> jaervosz </metadata> <metadata tag="submitter" timestamp="2007-08-20T11:26:17Z"> p-y </metadata> </glsa>