X-Chat Command Execution Via URLs Vulnerability

BID:1601

Info

X-Chat Command Execution Via URLs Vulnerability

Bugtraq ID: 1601
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Aug 17 2000 12:00AM
Updated: Aug 17 2000 12:00AM
Credit: This vulnerability was posted to the Bugtraq mailing list on August 17, 2000 by zenith parsec <[email protected]>
Vulnerable: 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.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.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
Not Vulnerable:

Discussion

X-Chat Command Execution Via URLs Vulnerability

A vulnerability exists in versions 1.4.2 and earlier of the X-Chat IRC client. By supplying commands enclosed in backticks (``) in URL's sent to X-Chat, it is possible to execute arbitrary commands should the X-Chat user decide to view the link by clicking on it. This is due to the manner in which X-Chat launches pages for viewing.

X-Chat launches Netscape without checking for shell metacharacters in the supplied URL. This allows for an attacker to exploit shell expansion capabilities to execute commands as the user running Netscape.

Exploit / POC

X-Chat Command Execution Via URLs Vulnerability

An example from the Bugtraq post:
http://www.altavista.com/?x=`date`y='`date`'

Solution / Fix

X-Chat Command Execution Via URLs Vulnerability

Solution:
The new version of X-Chat (1.4.3) is available as a source tarball.

Debian has provided updated deb packages.

RedHat has provided patched RPMs.

Conectiva has provided patched RPMs of 1.4.2:
(copied from the Conectiva advisory)
ftp://atualizacoes.conectiva.com.br/4.2/SRPMS/xchat-1.4.2-4cl.src.rpm
ftp://atualizacoes.conectiva.com.br/4.2/i386/xchat-1.4.2-4cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/5.0/SRPMS/xchat-1.4.2-4cl.src.rpm
ftp://atualizacoes.conectiva.com.br/5.0/i386/xchat-1.4.2-4cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/5.1/SRPMS/xchat-1.4.2-4cl.src.rpm
ftp://atualizacoes.conectiva.com.br/5.1/i386/xchat-1.4.2-4cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/ferramentas/ecommerce/SRPMS/xchat-1.4.2-4cl.src.rpm
ftp://atualizacoes.conectiva.com.br/ferramentas/ecommerce/i386/xchat-1.4.2-4cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/ferramentas/graficas/SRPMS/xchat-1.4.2-4cl.src.rpm
ftp://atualizacoes.conectiva.com.br/ferramentas/graficas/i386/xchat-1.4.2-4cl.i386.rpm

Users of Slackware 7.0, 7.1, and -current are urged to upgraded to the
xchat.tgz package available in the Slackware -current branch.

TurboLinux has released updated packages:
ftp://ftp.turbolinux.com/pub/updates/6.0/xchat-1.4.3-1.i386.rpm
ftp://ftp.turbolinux.com/pub/updates/6.0/SRPMS/xchat-1.4.3-1.src.rpm

The new xchat.tgz package is available from:
ftp://ftp.slackware.com/pub/slackware/slackware-current/slakware/gtk/xchat.tgz


X-Chat X-Chat 1.2.1

X-Chat X-Chat 1.3.10

X-Chat X-Chat 1.3.11

X-Chat X-Chat 1.3.12

X-Chat X-Chat 1.3.13

X-Chat X-Chat 1.3.9

X-Chat X-Chat 1.4

X-Chat X-Chat 1.4.1

X-Chat X-Chat 1.4.2

References

X-Chat Command Execution Via URLs 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