Secunia Logo
 
KVIrc irc:// URI Handler Command Execution Vulnerability
Secunia Advisory: SA25740
Release Date: 2007-06-26
Popularity: 4,737 views

Critical:
Moderately critical
Impact: System access
Where: From remote
Solution Status: Vendor Workaround

Software:KVIrc 3.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-2951


Description:
Secunia Research has discovered a vulnerability in KVIrc, which can be exploited by malicious people to compromise a user's system.

The vulnerability is caused due to the "parseIrcUrl()" function in src/kvirc/kernel/kvi_ircurl.cpp not properly sanitising 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 malicious "irc://" (or similar URI like "irc6://") URI.

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

The vulnerability is confirmed in versions 3.2.0 and 3.2.5. Other versions may also be affected.

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

Provided and/or discovered by:
Stefan Cornelius, Secunia Research

Original Advisory:
Secunia Research:
http://secunia.com/secunia_research/2007-56/


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Sun Java JDK / JRE Multiple Vulnerabilities // 143 views
2. Microsoft Office Communications Server SIP INVITE Denial of Service // 81 views
3. VLC Media Player Real Demuxer Integer Overflow Vulnerability // 58 views
4. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 51 views
5. Mozilla Firefox 3 Multiple Vulnerabilities // 34 views
6. Basic PHP CMS "id" SQL Injection Vulnerability // 31 views
7. RakhiSoftware Shopping Cart Multiple Vulnerabilities // 28 views
8. Adobe Acrobat/Reader Multiple Vulnerabilities // 28 views
9. Lito Lite CMS "cid" SQL Injection Vulnerability // 26 views
10. Minimal Ablog Multiple Vulnerabilities // 25 views