GLSA-200709-02 : KVIrc: Remote arbitrary code execution

high Nessus Plugin ID 26042

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200709-02 (KVIrc: Remote arbitrary code execution)

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.

Solution

All KVIrc users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-irc/kvirc-3.2.6_pre20070714'

See Also

https://security.gentoo.org/glsa/200709-02

Plugin Details

Severity: High

ID: 26042

File Name: gentoo_GLSA-200709-02.nasl

Version: 1.15

Type: local

Published: 9/14/2007

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 9.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:kvirc, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 9/13/2007

Vulnerability Publication Date: 6/26/2007

Reference Information

CVE: CVE-2007-2951

GLSA: 200709-02