Exploit database

EDB-20161

X-Chat 1.2/1.3/1.4/1.5 - Command Execution via URLs

Exploit-DBlinuxremote
Download source

EDB-20161.txt

Text · 714 bytes
source: https://web.archive.org/web/2000/https://www.securityfocus.com/bid/1601/info

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.

----------------------------------------

http://www.altavista.com/?x=`date`y='`date`'