Tried, Tested and Proven

Security Advisory 07-004 – Conversation logs are vulnerable to a reflected Javascript injection

Vulnerability discovery and development:

Portcullis Security Testing Services

Credit for Discovery:

Tim Brown – Portcullis Computer Security Ltd.

Affected Systems:

All known versions of Bandersnatch, this vulnerability was discovered for version 0.4.


Javascript can be injected into Bandersnatch’s conversation logs by sending a malicious resource name using a standard Jabber client. When an authenticated user visits the conversation logs, the resource name will be included as part of the attackers JID. It is likely that there are other elements of the log that have similar injection points although this has not been tested.


An attacker could use this to execute malicious code on the visitors computer.


Exploit code is not required.

Vendor Status:

Vendor contacted.


Copyright © Portcullis Computer Security Limited 2007, All rights reserved worldwide.
Permission is hereby granted for the electronic redistribution of this information. It is not to be edited or altered in any way without the express written consent of Portcullis Computer Security Limited.


The information herein contained may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user’s risk. In no event shall the author/distributor (Portcullis Computer Security Limited) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.