Bug 452815 (CVE-2008-2841)

Summary: CVE-2008-2841 xchat: command execution when xchat is started from the browser
Product: [Other] Security Response Reporter: Tomas Hoger <thoger>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: caillon, fedora, kevin
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-2841
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-25 12:06:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Hoger 2008-06-25 09:14:01 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2008-2841 to the following vulnerability:

Argument injection vulnerability in XChat 2.8.7b and earlier on Windows, when Internet Explorer is used, allows remote attackers to execute arbitrary commands via the --command parameter in an ircs:// URI.

Refences:
http://www.milw0rm.com/exploits/5795
http://forum.xchat.org/viewtopic.php?t=4218
http://secunia.com/advisories/30695

Comment 1 Tomas Hoger 2008-06-25 09:19:04 UTC
This seems to be IE flaw rather than xchat flaw, as this can be used to inject
additional command line arguments to any external protocol handler application.
 Firefox does have a irc:// protocol handler, but seems to escape / URL-encode
arguments passed to external program properly (as any sane browse should do).

Additionally, --command argument to xchat was only introduced recently.  It is
only supported in 2.8.6 currently only in Rawhide.  Versions of xchat in Fedora
8 and 9, and Red Hat Enterprise Linux 2.1, 3, 4 and 5 do not support --command
command line argument.

Comment 2 Kevin Kofler 2008-06-25 12:06:07 UTC
Window$-only exploit, does not affect any version of Fedora or RHEL.