[UNIX] KVIrc irc:// URI Handler Command Execution Vulnerability



The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html

- - - - - - - - -



KVIrc irc:// URI Handler Command Execution Vulnerability
------------------------------------------------------------------------


SUMMARY

<http://www.kvirc.net> KVIrc is "a free portable IRC client based on the
excellent Qt GUI toolkit. KVIrc is being written by Szymon Stefanek and
the KVIrc Development Team with the contribution of many IRC addicted
developers around the world". Secunia Research has discovered a
vulnerability in KVIrc, which can be exploited by malicious people to
compromise a user's system.

DETAILS

Vulnerable Systems:
* KVIrc version 3.2.0

The vulnerability is caused due to the "parseIrcUrl()" function in
src/kvirc/kernel/kvi_ircurl.cpp not properly sanitizing parts of the URI
when building the command for KVIrc's internal script system. This can be
exploited to inject and execute commands for the KVIrc script system
(including the "run" command, which can be leveraged to execute shell
commands) by e.g. tricking a user into opening a specially crafted
"irc://" or similar URI (e.g. "irc6://").

Successful exploitation requires that KVIrc is the default handler for
"irc://" and similar URIs.

Solution:
Fixed in the SVN repository:
<https://svn.kvirc.de/kvirc/changeset/630/#file3>
https://svn.kvirc.de/kvirc/changeset/630/#file3

Time Table:
19/06/2007 - Vendor notified.
19/06/2007 - Vendor response.
21/06/2007 - Vendor commits fix into SVN repository.
26/06/2007 - Public disclosure.

CVE Information:
<http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2951>
CVE-2007-2951


ADDITIONAL INFORMATION

The information has been provided by <mailto:remove-vuln@xxxxxxxxxxx>
Secunia Research.
The original article can be found at:
<http://secunia.com/secunia_research/2007-56/>
http://secunia.com/secunia_research/2007-56/



========================================


This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@xxxxxxxxxxxxxx
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@xxxxxxxxxxxxxx


====================
====================

DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.



Relevant Pages

  • [UNIX] OpenBB Multiple Vulnerabilities (board.php, search.php, member.php, post.php, myhome.php, ind
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... arbitrary command execution. ... snippet of code from one of the vulnerable scripts is presented ...
    (Securiteam)
  • [EXPL] I-Mall Commerce i-mall.cgi Arbitrary Command Execution (Exploit)
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... A remote command execution vulnerability has been discovered in the I-Mall ... sub intro { ... chomp $host; ...
    (Securiteam)
  • [UNIX] Lukemftpd (Tnftpd) Multiple Vulnerabilities May Lead To Remote Code Execution
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... structure tab to indicate if it's acceptable for a command to occur in OOB ... delivering of ABOR and STAT commands in OOB mode. ...
    (Securiteam)
  • [UNIX] Sudo Race Condition Vulnerability
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... A race condition with the Sudo command pathname handling allows a local ... When a user runs a command via Sudo, the inode and device numbers of the ... listed in the sudoers file is stored in the variable safe_cmnd, ...
    (Securiteam)
  • [NEWS] payShield Library Bad Requests Verification
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... When a command is sent through the SPP library the library may query its ... Although an error message will be printed to the payShield log this error ... There is a work-around to this problem, but it is more intrusive than ...
    (Securiteam)