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 X-Chat X-Chat 2.0.6 X-Chat X-Chat 2.0.5 X-Chat X-Chat 2.0.4 X-Chat X-Chat 2.0.1 X-Chat X-Chat 1.8.9 X-Chat X-Chat 1.8.8 X-Chat X-Chat 1.8.7 X-Chat X-Chat 1.8.6 X-Chat X-Chat 1.8.2 X-Chat X-Chat 1.8.1 X-Chat X-Chat 1.8 X-Chat X-Chat 1.7.7 X-Chat X-Chat 1.6.4 X-Chat X-Chat 1.6.3 X-Chat X-Chat 1.5.6 dev X-Chat X-Chat 1.5 dev X-Chat X-Chat 1.4.3 X-Chat X-Chat 1.4.2 X-Chat X-Chat 1.4.1 X-Chat X-Chat 1.4 X-Chat X-Chat 1.4 X-Chat X-Chat 1.3.13 X-Chat X-Chat 1.3.12 X-Chat X-Chat 1.3.11 X-Chat X-Chat 1.3.10 X-Chat X-Chat 1.3.9 X-Chat X-Chat 1.2.1 Redhat xchat-1.8.11-7.i386.rpm 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.
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].
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
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
-
RedHat xchat-1.8.11-9.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/xchat-1.8.11-9.i386.rpm
X-Chat X-Chat 1.8.9
-
Debian xchat-common_1.8.9-0woody3_all.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat-common_1.8. 9-0woody3_all.deb -
Debian xchat-gnome_1.8.9-0woody3_alpha.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat-gnome_1.8.9 -0woody3_alpha.deb -
Debian xchat-gnome_1.8.9-0woody3_arm.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat-gnome_1.8.9 -0woody3_arm.deb -
Debian xchat-gnome_1.8.9-0woody3_hppa.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat-gnome_1.8.9 -0woody3_hppa.deb -
Debian xchat-gnome_1.8.9-0woody3_i386.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat-gnome_1.8.9 -0woody3_i386.deb -
Debian xchat-gnome_1.8.9-0woody3_ia64.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat-gnome_1.8.9 -0woody3_ia64.deb -
Debian xchat-gnome_1.8.9-0woody3_m68k.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat-gnome_1.8.9 -0woody3_m68k.deb -
Debian xchat-gnome_1.8.9-0woody3_mips.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat-gnome_1.8.9 -0woody3_mips.deb -
Debian xchat-gnome_1.8.9-0woody3_mipsel.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat-gnome_1.8.9 -0woody3_mipsel.deb -
Debian xchat-gnome_1.8.9-0woody3_powerpc.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat-gnome_1.8.9 -0woody3_powerpc.deb -
Debian xchat-gnome_1.8.9-0woody3_s390.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat-gnome_1.8.9 -0woody3_s390.deb -
Debian xchat-gnome_1.8.9-0woody3_sparc.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat-gnome_1.8.9 -0woody3_sparc.deb -
Debian xchat-text_1.8.9-0woody3_alpha.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat-text_1.8.9- 0woody3_alpha.deb -
Debian xchat-text_1.8.9-0woody3_arm.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat-text_1.8.9- 0woody3_arm.deb -
Debian xchat-text_1.8.9-0woody3_hppa.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat-text_1.8.9- 0woody3_hppa.deb -
Debian xchat-text_1.8.9-0woody3_i386.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat-text_1.8.9- 0woody3_i386.deb -
Debian xchat-text_1.8.9-0woody3_ia64.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat-text_1.8.9- 0woody3_ia64.deb -
Debian xchat-text_1.8.9-0woody3_m68k.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat-text_1.8.9- 0woody3_m68k.deb -
Debian xchat-text_1.8.9-0woody3_mips.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat-text_1.8.9- 0woody3_mips.deb -
Debian xchat-text_1.8.9-0woody3_mipsel.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat-text_1.8.9- 0woody3_mipsel.deb -
Debian xchat-text_1.8.9-0woody3_powerpc.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat-text_1.8.9- 0woody3_powerpc.deb -
Debian xchat-text_1.8.9-0woody3_s390.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat-text_1.8.9- 0woody3_s390.deb -
Debian xchat-text_1.8.9-0woody3_sparc.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat-text_1.8.9- 0woody3_sparc.deb -
Debian xchat_1.8.9-0woody3_alpha.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat_1.8.9-0wood y3_alpha.deb -
Debian xchat_1.8.9-0woody3_arm.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat_1.8.9-0wood y3_arm.deb -
Debian xchat_1.8.9-0woody3_hppa.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat_1.8.9-0wood y3_hppa.deb -
Debian xchat_1.8.9-0woody3_i386.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat_1.8.9-0wood y3_i386.deb -
Debian xchat_1.8.9-0woody3_ia64.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat_1.8.9-0wood y3_ia64.deb -
Debian xchat_1.8.9-0woody3_m68k.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat_1.8.9-0wood y3_m68k.deb -
Debian xchat_1.8.9-0woody3_mips.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat_1.8.9-0wood y3_mips.deb -
Debian xchat_1.8.9-0woody3_mipsel.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat_1.8.9-0wood y3_mipsel.deb -
Debian xchat_1.8.9-0woody3_powerpc.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat_1.8.9-0wood y3_powerpc.deb -
Debian xchat_1.8.9-0woody3_s390.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat_1.8.9-0wood y3_s390.deb -
Debian xchat_1.8.9-0woody3_sparc.deb
Debian GNU/Linux 3.0 (woody)
http://security.debian.org/pool/updates/main/x/xchat/xchat_1.8.9-0wood y3_sparc.deb -
RedHat xchat-1.8.9-1.73.2.legacy.i386.rpm
http://download.fedoralegacy.org/redhat/7.3/updates/i386/xchat-1.8.9-1 .73.2.legacy.i386.rpm
X-Chat X-Chat 2.0.1
-
XChat xc208-fixsocks5.diff
http://www.xchat.org/files/source/2.0/patches/xc208-fixsocks5.diff
X-Chat X-Chat 2.0.4
-
Mandrake xchat-2.0.4-7.1.92mdk.amd64.rpm
Mandrakelinux 9.2/AMD64:
http://www.mandrakesecure.net/en/ftp.php -
Mandrake xchat-2.0.4-7.1.92mdk.i586.rpm
Mandrakelinux 9.2:
http://www.mandrakesecure.net/en/ftp.php -
Mandrake xchat-2.0.4-7.1.92mdk.src.rpm
Mandrakelinux 9.2/AMD64:
http://www.mandrakesecure.net/en/ftp.php -
Mandrake xchat-perl-2.0.4-7.1.92mdk.amd64.rpm
Mandrakelinux 9.2/AMD64:
http://www.mandrakesecure.net/en/ftp.php -
Mandrake xchat-perl-2.0.4-7.1.92mdk.i586.rpm
Mandrakelinux 9.2:
http://www.mandrakesecure.net/en/ftp.php -
Mandrake xchat-python-2.0.4-7.1.92mdk.amd64.rpm
Mandrakelinux 9.2/AMD64:
http://www.mandrakesecure.net/en/ftp.php -
Mandrake xchat-python-2.0.4-7.1.92mdk.i586.rpm
Mandrakelinux 9.2:
http://www.mandrakesecure.net/en/ftp.php -
Mandrake xchat-tcl-2.0.4-7.1.92mdk.amd64.rpm
Mandrakelinux 9.2/AMD64:
http://www.mandrakesecure.net/en/ftp.php -
Mandrake xchat-tcl-2.0.4-7.1.92mdk.i586.rpm
Mandrakelinux 9.2:
http://www.mandrakesecure.net/en/ftp.php -
RedHat xchat-2.0.7-1.FC1.1.legacy.i386.rpm
Fedora Core 1:
http://download.fedoralegacy.org/fedora/1/updates/i386/xchat-2.0.7-1.F C1.1.legacy.i386.rpm
X-Chat X-Chat 2.0.5
-
XChat xc208-fixsocks5.diff
http://www.xchat.org/files/source/2.0/patches/xc208-fixsocks5.diff
X-Chat X-Chat 2.0.6
-
XChat xc208-fixsocks5.diff
http://www.xchat.org/files/source/2.0/patches/xc208-fixsocks5.diff
X-Chat X-Chat 2.0.7
-
Mandrake xchat-2.0.7-6.1.100mdk.i586.rpm
Mandrakelinux 10.0:
http://www.mandrakesecure.net/en/ftp.php -
Mandrake xchat-2.0.7-6.1.100mdk.src.rpm
Mandrakelinux 10.0:
http://www.mandrakesecure.net/en/ftp.php -
Mandrake xchat-perl-2.0.7-6.1.100mdk.i586.rpm
Mandrakelinux 10.0:
http://www.mandrakesecure.net/en/ftp.php -
Mandrake xchat-python-2.0.7-6.1.100mdk.i586.rpm
Mandrakelinux 10.0:
http://www.mandrakesecure.net/en/ftp.php -
Mandrake xchat-tcl-2.0.7-6.1.100mdk.i586.rpm
Mandrakelinux 10.0:
http://www.mandrakesecure.net/en/ftp.php -
RedHat xchat-2.0.7-5.1.legacy.i386.rpm
Fedora Core 2:
http://download.fedoralegacy.org/fedora/2/updates/i386/xchat-2.0.7-5.1 .legacy.i386.rpm -
XChat xc208-fixsocks5.diff
http://www.xchat.org/files/source/2.0/patches/xc208-fixsocks5.diff
X-Chat X-Chat 2.0.8
-
XChat xc208-fixsocks5.diff
http://www.xchat.org/files/source/2.0/patches/xc208-fixsocks5.diff
References
XChat SOCKS 5 Remote Buffer Overrun Vulnerability
References:
References: