XChat SOCKS 5 Remote Buffer Overrun Vulnerability

BID:10168

Info

XChat SOCKS 5 Remote Buffer Overrun Vulnerability

Bugtraq ID: 10168
Class: Boundary Condition Error
CVE: CVE-2004-0409
Remote: Yes
Local: No
Published: Apr 05 2004 12:00AM
Updated: Jul 12 2009 04:06AM
Credit: This issue was announced by the vendor.
Vulnerable: X-Chat X-Chat 2.0.8
X-Chat X-Chat 2.0.7
+ Mandriva Linux Mandrake 10.0
X-Chat X-Chat 2.0.6
X-Chat X-Chat 2.0.5
X-Chat X-Chat 2.0.4
+ Mandriva Linux Mandrake 9.2 amd64
+ Mandriva Linux Mandrake 9.2
+ Redhat Desktop 3.0
+ Redhat Enterprise Linux AS 3
+ Redhat Enterprise Linux ES 3
+ Redhat Enterprise Linux WS 3
X-Chat X-Chat 2.0.1
X-Chat X-Chat 1.8.9
+ Redhat Linux 7.3 i386
+ Redhat Linux 7.2 ia64
+ Redhat Linux 7.2 i386
+ Redhat Linux 7.2 alpha
+ Redhat Linux 7.1 ia64
+ Redhat Linux 7.1 i386
+ Redhat Linux 7.1 alpha
+ Redhat Linux 7.0 sparc
+ Redhat Linux 7.0 i386
+ Redhat Linux 7.0 alpha
+ Redhat Linux 6.2 sparc
+ Redhat Linux 6.2 i386
+ Redhat Linux 6.2 alpha
X-Chat X-Chat 1.8.8
X-Chat X-Chat 1.8.7
+ HP Secure OS software for Linux 1.0
+ Mandriva Linux Mandrake 8.2 ppc
+ Mandriva Linux Mandrake 8.2
+ Redhat Linux 7.3 i386
+ Redhat Linux 7.2 ia64
+ Redhat Linux 7.2 i386
+ Redhat Linux 7.2 alpha
+ Redhat Linux 7.1 ia64
+ Redhat Linux 7.1 i386
+ Redhat Linux 7.1 alpha
+ Redhat Linux 7.0 sparc
+ Redhat Linux 7.0 i386
+ Redhat Linux 7.0 alpha
+ Redhat Linux 6.2 sparc
+ Redhat Linux 6.2 i386
+ Redhat Linux 6.2 alpha
X-Chat X-Chat 1.8.6
X-Chat X-Chat 1.8.2
+ Mandriva Linux Mandrake 8.1 ia64
+ Mandriva Linux Mandrake 8.1
X-Chat X-Chat 1.8.1
+ Redhat Linux 7.2 ia64
+ Redhat Linux 7.2 i386
X-Chat X-Chat 1.8
+ Mandriva Linux Mandrake 8.0 ppc
+ Mandriva Linux Mandrake 8.0
X-Chat X-Chat 1.7.7
X-Chat X-Chat 1.6.4
X-Chat X-Chat 1.6.3
+ HP Secure OS software for Linux 1.0
+ Redhat Linux 7.1 ia64
+ Redhat Linux 7.1 i386
+ Redhat Linux 7.1 alpha
X-Chat X-Chat 1.5.6 dev
- Debian Linux 2.2
- Debian Linux 2.1
- FreeBSD FreeBSD 5.0
- FreeBSD FreeBSD 4.0
- HP HP-UX 11.0
- Mandriva Linux Mandrake 7.1
- Mandriva Linux Mandrake 7.0
- NetBSD NetBSD 1.4.2 x86
- NetBSD NetBSD 1.4.1 x86
- OpenBSD OpenBSD 2.7
- OpenBSD OpenBSD 2.6
- Redhat Linux 6.2 E i386
- Redhat Linux 6.2 i386
- Redhat Linux 6.1 i386
- Redhat Linux 6.0
- SGI IRIX 6.5
- SGI IRIX 6.4
- Slackware Linux 7.1
- Sun Solaris 8_sparc
- Sun Solaris 7.0
- Sun Solaris 2.6
- SuSE Linux 7.0
- SuSE Linux 6.4
- SuSE Linux 6.3
X-Chat X-Chat 1.5 dev
- Debian Linux 2.2
- Debian Linux 2.1
- FreeBSD FreeBSD 5.0
- FreeBSD FreeBSD 4.0
- HP HP-UX 11.0
- Mandriva Linux Mandrake 7.1
- Mandriva Linux Mandrake 7.0
- NetBSD NetBSD 1.4.2 x86
- NetBSD NetBSD 1.4.1 x86
- OpenBSD OpenBSD 2.7
- OpenBSD OpenBSD 2.6
- Redhat Linux 6.2 E i386
- Redhat Linux 6.2 i386
- Redhat Linux 6.1 i386
- Redhat Linux 6.0
- SGI IRIX 6.5
- SGI IRIX 6.4
- Slackware Linux 7.1
- Sun Solaris 8_sparc
- Sun Solaris 7.0
- Sun Solaris 2.6
- SuSE Linux 7.0
- SuSE Linux 6.4
- SuSE Linux 6.3
X-Chat X-Chat 1.4.3
- OpenBSD OpenBSD 2.8
X-Chat X-Chat 1.4.2
- Debian Linux 2.2
- Debian Linux 2.1
- FreeBSD FreeBSD 5.0
- FreeBSD FreeBSD 4.0
- HP HP-UX 11.0
- Mandriva Linux Mandrake 7.1
- Mandriva Linux Mandrake 7.0
- NetBSD NetBSD 1.4.2 x86
- NetBSD NetBSD 1.4.1 x86
- OpenBSD OpenBSD 2.7
- OpenBSD OpenBSD 2.6
+ Redhat Linux 7.0 i386
+ Redhat Linux 7.0 alpha
- Redhat Linux 6.2 E i386
- Redhat Linux 6.2 i386
- Redhat Linux 6.1 i386
- Redhat Linux 6.0
- SGI IRIX 6.5
- SGI IRIX 6.4
- Slackware Linux 7.1
- Sun Solaris 8_sparc
- Sun Solaris 7.0
- Sun Solaris 2.6
- SuSE Linux 7.0
- SuSE Linux 6.4
- SuSE Linux 6.3
X-Chat X-Chat 1.4.1
- Debian Linux 2.2
- Debian Linux 2.1
- FreeBSD FreeBSD 5.0
- FreeBSD FreeBSD 4.0
- HP HP-UX 11.0
+ MandrakeSoft Corporate Server 1.0.1
+ Mandriva Linux Mandrake 7.2
+ Mandriva Linux Mandrake 7.1
- NetBSD NetBSD 1.4.2 x86
- NetBSD NetBSD 1.4.1 x86
- OpenBSD OpenBSD 2.7
- OpenBSD OpenBSD 2.6
- Redhat Linux 6.2 E i386
- Redhat Linux 6.2 i386
- Redhat Linux 6.1 i386
- Redhat Linux 6.0
- SGI IRIX 6.5
- SGI IRIX 6.4
- Slackware Linux 7.1
- Sun Solaris 8_sparc
- Sun Solaris 7.0
- Sun Solaris 2.6
- SuSE Linux 7.0
- SuSE Linux 6.4
- SuSE Linux 6.3
X-Chat X-Chat 1.4
- Debian Linux 2.2 pre potato
- Debian Linux 2.1
- FreeBSD FreeBSD 5.0
- FreeBSD FreeBSD 4.0
- HP HP-UX 11.0
- Mandriva Linux Mandrake 7.1
- Mandriva Linux Mandrake 7.0
- NetBSD NetBSD 1.4.2 x86
- NetBSD NetBSD 1.4.1 x86
- OpenBSD OpenBSD 2.7
- OpenBSD OpenBSD 2.6
- Redhat Linux 6.2 E i386
- Redhat Linux 6.2 i386
- Redhat Linux 6.1 i386
- Redhat Linux 6.0
- SGI IRIX 6.5
- SGI IRIX 6.4
- Slackware Linux 7.1
- Sun Solaris 8_sparc
- Sun Solaris 7.0
- Sun Solaris 2.6
- SuSE Linux 7.0
- SuSE Linux 6.4
- SuSE Linux 6.3
X-Chat X-Chat 1.4
+ Redhat Linux 6.2 sparc
+ Redhat Linux 6.2 i386
+ Redhat Linux 6.2 alpha
X-Chat X-Chat 1.3.13
- Debian Linux 2.2
- Debian Linux 2.1
- FreeBSD FreeBSD 5.0
- FreeBSD FreeBSD 4.0
- HP HP-UX 11.0
- Mandriva Linux Mandrake 7.1
- Mandriva Linux Mandrake 7.0
- NetBSD NetBSD 1.4.2 x86
- NetBSD NetBSD 1.4.1 x86
- OpenBSD OpenBSD 2.7
- OpenBSD OpenBSD 2.6
- Redhat Linux 6.2 E i386
- Redhat Linux 6.2 i386
- Redhat Linux 6.1 i386
- Redhat Linux 6.0
- SGI IRIX 6.5
- SGI IRIX 6.4
- Slackware Linux 7.1
- Sun Solaris 8_sparc
- Sun Solaris 7.0
- Sun Solaris 2.6
- SuSE Linux 7.0
- SuSE Linux 6.4
- SuSE Linux 6.3
X-Chat X-Chat 1.3.12
- Debian Linux 2.2
- Debian Linux 2.1
- FreeBSD FreeBSD 5.0
- FreeBSD FreeBSD 4.0
- HP HP-UX 11.0
- Mandriva Linux Mandrake 7.1
- Mandriva Linux Mandrake 7.0
- NetBSD NetBSD 1.4.2 x86
- NetBSD NetBSD 1.4.1 x86
- OpenBSD OpenBSD 2.7
- OpenBSD OpenBSD 2.6
- Redhat Linux 6.2 E i386
- Redhat Linux 6.2 i386
- Redhat Linux 6.1 i386
- Redhat Linux 6.0
- SGI IRIX 6.5
- SGI IRIX 6.4
- Slackware Linux 7.1
- Sun Solaris 8_sparc
- Sun Solaris 7.0
- Sun Solaris 2.6
- SuSE Linux 7.0
- SuSE Linux 6.4
- SuSE Linux 6.3
X-Chat X-Chat 1.3.11
- Debian Linux 2.2
- Debian Linux 2.1
- FreeBSD FreeBSD 5.0
- FreeBSD FreeBSD 4.0
- HP HP-UX 11.0
- Mandriva Linux Mandrake 7.1
- Mandriva Linux Mandrake 7.0
- NetBSD NetBSD 1.4.2 x86
- NetBSD NetBSD 1.4.1 x86
- OpenBSD OpenBSD 2.7
- OpenBSD OpenBSD 2.6
- Redhat Linux 6.2 E i386
- Redhat Linux 6.2 i386
- Redhat Linux 6.1 i386
- Redhat Linux 6.0
- SGI IRIX 6.5
- SGI IRIX 6.4
- Slackware Linux 7.1
- Sun Solaris 8_sparc
- Sun Solaris 7.0
- Sun Solaris 2.6
- SuSE Linux 7.0
- SuSE Linux 6.4
- SuSE Linux 6.3
X-Chat X-Chat 1.3.10
- Debian Linux 2.2
- Debian Linux 2.1
- FreeBSD FreeBSD 5.0
- FreeBSD FreeBSD 4.0
- HP HP-UX 11.0
- Mandriva Linux Mandrake 7.1
- Mandriva Linux Mandrake 7.0
- NetBSD NetBSD 1.4.2 x86
- NetBSD NetBSD 1.4.1 x86
- OpenBSD OpenBSD 2.7
- OpenBSD OpenBSD 2.6
- Redhat Linux 6.2 E i386
- Redhat Linux 6.2 i386
- Redhat Linux 6.1 i386
- Redhat Linux 6.0
- SGI IRIX 6.5
- SGI IRIX 6.4
- Slackware Linux 7.1
- Sun Solaris 8_sparc
- Sun Solaris 7.0
- Sun Solaris 2.6
- SuSE Linux 7.0
- SuSE Linux 6.4
- SuSE Linux 6.3
X-Chat X-Chat 1.3.9
- Debian Linux 2.2
- Debian Linux 2.1
- FreeBSD FreeBSD 5.0
- FreeBSD FreeBSD 4.0
- HP HP-UX 11.0
- Mandriva Linux Mandrake 7.1
- Mandriva Linux Mandrake 7.0
- NetBSD NetBSD 1.4.2 x86
- NetBSD NetBSD 1.4.1 x86
- OpenBSD OpenBSD 2.7
- OpenBSD OpenBSD 2.6
- Redhat Linux 6.2 E i386
- Redhat Linux 6.2 i386
- Redhat Linux 6.1 i386
- Redhat Linux 6.0
- SGI IRIX 6.5
- SGI IRIX 6.4
- Slackware Linux 7.1
- Sun Solaris 8_sparc
- Sun Solaris 7.0
- Sun Solaris 2.6
- SuSE Linux 7.0
- SuSE Linux 6.4
- SuSE Linux 6.3
X-Chat X-Chat 1.2.1
- Mandriva Linux Mandrake 7.0
Redhat xchat-1.8.11-7.i386.rpm
+ Redhat Linux 9.0 i386
Redhat Fedora Core2
Redhat Fedora Core1
Netwosix Netwosix Linux 1.1
Netwosix Netwosix Linux 1.0
Not Vulnerable: X-Chat X-Chat 2.0.8 -r1

Discussion

XChat SOCKS 5 Remote Buffer Overrun Vulnerability

A remotely exploitable buffer overrun was reported in XChat. This issue exists in the SOCKS 5 proxy code.

This stack-based buffer overrun could be exploited by a malicious proxy server if SOCKS 5 traversal has been enabled in the client. Successful exploitation will result in execution of arbitrary code as the client user.

It should be noted that SOCKS 5 traversal is not enabled by default and this issue only poses a risk if the victim user deliberately connects to an attacker's SOCKS 5 proxy server.

Exploit / POC

XChat SOCKS 5 Remote Buffer Overrun Vulnerability

The following proof of concept exploit has been supplied by vade79/v9 [email protected].

Solution / Fix

XChat SOCKS 5 Remote Buffer Overrun Vulnerability

Solution:
Red Hat has released an advisory (RHSA-2004:177-01) and fixes to address this issue in Red Hat Linux 9. Red Hat Linux users are advised to see the referenced advisory for further details regarding obtaining and applying appropriate fixes.

Gentoo has released updates for this issue, which may be applied with the following commands:
# emerge sync
# emerge -pv "=net-irc/xchat-1.8.11-r1"
# emerge "=net-irc/xchat-1.8.11-r1"

Debian has released advisory DSA 493-1 with patches dealing with this issue.

Mandrake has released advisory MDKSA-2004:036 as well as fixes dealing with this issue.

Netwosix has realeased an advisory (LNSA-#2004-0014) and fixes for this issue. To obtain fixed packages, users should execute the following commands:
# cd /usr/ports/graphics/xchat/
# rm nepote
# wget http://download.netwosix.org/0014/nepote
# sh nepote

The vendor has also released a source code patch.

Red Hat has released a Fedora legacy advisory (FLSA:1549) to address this issue in xchat. This advisory fixes the issue in Red Hat Linux 7.3 running on the i386 architecture. Please see the referenced advisory for more details and information about obtaining fixes.

Red Hat has released advisory RHSA-2004:297-09 and fixes to address this issue on Red Hat Linux Enterprise platforms. Customers who are affected by this issue are advised to apply the appropriate updates. Customers subscribed to the Red Hat Network may apply the appropriate fixes using the Red Hat Update Agent (up2date). Please see referenced advisory for additional information.

Fedora Legacy has released security advisory FLSA:123013 addressing this issue for Fedora Core 1 and Core 2. Users are advised to see the referenced advisory for details on obtaining and applying the appropriate updates.


Redhat xchat-1.8.11-7.i386.rpm

X-Chat X-Chat 1.8.9

X-Chat X-Chat 2.0.1

X-Chat X-Chat 2.0.4

X-Chat X-Chat 2.0.5

X-Chat X-Chat 2.0.6

X-Chat X-Chat 2.0.7

X-Chat X-Chat 2.0.8

References

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report