X-Chat CTCP Ping Arbitrary Remote IRC Command Execution Vulnerability

BID:3830

Info

X-Chat CTCP Ping Arbitrary Remote IRC Command Execution Vulnerability

Bugtraq ID: 3830
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Jan 09 2002 12:00AM
Updated: Jan 09 2002 12:00AM
Credit: Published on the BugTraq mailing list by zen-parse <[email protected]> on January 9, 2002.
Vulnerable: 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.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
+ Redhat Linux 6.2 sparc
+ Redhat Linux 6.2 i386
+ Redhat Linux 6.2 alpha
Not Vulnerable: 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

Discussion

X-Chat CTCP Ping Arbitrary Remote IRC Command Execution Vulnerability

X-Chat is a graphical client for IRC. It requires the GTK+ toolkit, and is available for many Linux and Unix operating systems.

If a CTCP ping request includes escaped newline characters and additional IRC commands, these commands may be executed by the vulnerable client. It is possible to gain operator status in channels owned by the vulnerable user, or to use their identity to initiate social engineering attacks.

Although this vulnerability exists in recent versions of X-Chat, the option to expand characters has been disabled by default since version 1.4.3.

Exploit / POC

X-Chat CTCP Ping Arbitrary Remote IRC Command Execution Vulnerability

The following exploit has been provided by Marcus Meissner <[email protected]>:

cat xchat.exploit - | netcat server 6667

Solution / Fix

X-Chat CTCP Ping Arbitrary Remote IRC Command Execution Vulnerability

Solution:
Updated versions of X-Chat are available.


X-Chat X-Chat 1.4

X-Chat X-Chat 1.4.1

X-Chat X-Chat 1.4.2

X-Chat X-Chat 1.4.3

X-Chat X-Chat 1.6.3

X-Chat X-Chat 1.6.4

X-Chat X-Chat 1.7.7

X-Chat X-Chat 1.8

X-Chat X-Chat 1.8.1

X-Chat X-Chat 1.8.2

X-Chat X-Chat 1.8.6

References

X-Chat CTCP Ping Arbitrary Remote IRC Command Execution Vulnerability

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