{"exploit":{"id":"EDB-20161","name":"X-Chat 1.2/1.3/1.4/1.5 - Command Execution via URLs","description":"X-Chat 1.2/1.3/1.4/1.5 - Command Execution via URLs","cves":["CVE-2000-0787"],"author":"zenith parsec","published":"2000-08-17","platform":"linux","type":"remote","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/20161","path":"exploits/linux/remote/20161.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-20161.txt","vulnerabilities":[{"id":"CVE-2000-0787","state":"PUBLISHED","title":null,"titleSource":null,"description":"IRC Xchat client versions 1.4.2 and earlier allows remote attackers to execute arbitrary commands by encoding shell metacharacters into a URL which XChat uses to launch a web browser.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2000-0787","cvss":{"version":"2.0","baseScore":7.5,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2000-0787"},"updatedAt":"2024-08-08T05:28:41.567Z","retrievedAt":"2026-11-26T13:06:33.676Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-20161.png?v=2","url":"https://exploitbin.com/exploits/EDB-20161","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-20161/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-20161/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"source: https://web.archive.org/web/2000/https://www.securityfocus.com/bid/1601/info\n\nA 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.\n\nX-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.\n\n----------------------------------------\n\nhttp://www.altavista.com/?x=`date`y='`date`'","sha256":"3ec88a2a7f7109623b96adbd4be15ddbef565d18433d67956d8b8a196e30e7a2","bytes":714,"fetchedAt":"2026-11-26T13:06:32.003Z","encoding":"utf-8 (display only; download retains original bytes)"}