SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (Instant Messaging/IRC/Chat)  >   Xchat Vendors:   Zelezny, Peter
XChat Socks-5 Proxy Buffer Overflow Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1009865
SecurityTracker URL:  http://securitytracker.com/id/1009865
CVE Reference:   CAN-2004-0409   (Links to External Site)
Updated:  Apr 21 2004
Original Entry Date:  Apr 19 2004
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 1.8.0 to 2.0.8
Description:   A stack overflow vulnerability was reported in XChat in the Socks-5 proxy code. A remote user can execute arbitrary code on the target system in certain cases.

The vendor reported that if socks5 traversal is enabled (not the default configuration), then a remote user with a malicious proxy server can trigger the overflow when the target user connects to the malicious proxy server. Arbitrary code can be executed on the target user's system with the privileges of the user running the xchat process.

The vendor credits tsifra with discovering this bug.

Impact:   A remote user can cause arbitrary code to be executed on a target user's system when the target user connects to a malicious proxy server.
Solution:   The vendor has released a source code patch, available at:

http://xchat.org/files/source/2.0/patches/
http://xchat.org/files/source/2.0/patches/xc208-fixsocks5.diff

The vendor also reports that the Fedora RPMs at http://www.xchat.org have been rebuilt with this patch applied.

Vendor URL:  xchat.org/ (Links to External Site)
Cause:   Boundary error
Underlying OS:   Linux (Any), UNIX (Any)

Message History:   This archive entry has one or more follow-up message(s) listed below.
Apr 19 2004 (Gentoo Issues Fix) XChat Socks-5 Proxy Buffer Overflow Lets Remote Users Execute Arbitrary Code   (Kurt Lieber <klieber@gentoo.org>)
Gentoo has released a fix.
Apr 21 2004 (Debian Issues Fix) XChat Socks-5 Proxy Buffer Overflow Lets Remote Users Execute Arbitrary Code   (joey@infodrom.org (Martin Schulze))
Debian has released a fix.
Apr 21 2004 (Mandrake Issues Fix) XChat Socks-5 Proxy Buffer Overflow Lets Remote Users Execute Arbitrary Code   (Mandrake Linux Security Team <security@linux-mandrake.com>)
Mandrake has released a fix.
Apr 30 2004 (Red Hat Issues Fix for RH Linux) XChat Socks-5 Proxy Buffer Overflow Lets Remote Users Execute Arbitrary Code   (bugzilla@redhat.com)
Red Hat has released a fix for Red Hat Linux 9.
Sep 30 2004 (Fedora Issues Fix for RH Linux) XChat Socks-5 Proxy Buffer Overflow Lets Remote Users Execute Arbitrary Code   (Dominic Hargreaves <dom@earth.li>)
Fedora has issued a fix for Red Hat Linux 7.3.
Oct 27 2004 (Red Hat Issues Fix) XChat Socks-5 Proxy Buffer Overflow Lets Remote Users Execute Arbitrary Code   (bugzilla@redhat.com)
Red Hat has released a fix for Red Hat Enterprise Linux 2.1 and 3.



 Source Message Contents

Date:  Mon, 5 Apr 2004 17:13:05 +1000
Subject:  xchat 2.0.x Socks5 Vulnerability


Hi XChat users,

XChat's Socks-5 proxy code is vulnerable to a remote exploit. To
successfully exploit the code, you would need to enable socks5
traversal (default off) and connect to the attacker's own custom
proxy server.

If you never intend to use a Socks5 proxy, you are not affected at
all by this issue.

Type of exploit:
~~~~~~~~~~~~~~~~
	Stack overflow caused by inadequate input validation. The
	attacker could take control of the User that ran the xchat
	process.


Versions affected:
~~~~~~~~~~~~~~~~~~
	From 1.8.0 to 2.0.8.


Work around:
~~~~~~~~~~~~
	Don't use socks 5 proxies.


Solution:
~~~~~~~~~
	Source code patch is available at:
		http://xchat.org/files/source/2.0/patches/
	The Fedora RPMs at www.xchat.org have been rebuilt with this
	patch applied.


Original source of code:
~~~~~~~~~~~~~~~~~~~~~~~~
	http://mail.nl.linux.org/xchat-discuss/2001-05/msg00116.html



Credit goes to tsifra for finding this bug.


-- 
Peter.

--
XChat-announce:  Xchat announcement list
Archive:         http://mail.nl.linux.org/xchat-announce/



 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2013, SecurityGlobal.net LLC