Tried, Tested and Proven

Security Advisory 08-005 – Affinium Campaign’s parameters are vulnerable to reflected JavaScript injection

Vulnerability Title:

The web application’s parameters are vulnerable to reflected JavaScript injection.

Vulnerable System:

Affinium Campaign

Vulnerability discovery and development:

Portcullis Security Testing Services

Credit for Discovery:

Tim Brown – Portcullis Computer Security Ltd.

Affected Systems:

All known versions of Affinium Campaign; the vulnerability discovered was for version


It is possible for an attacker to inject JavaScript by manipulating various parameters such that the the JavaScript from the manipulated request is returned in the response. Example URLs that trigger this behaviour include:

  • https://webserver/Campaign/‘xss’)%3C/script%3E
  • https://webserver/Campaign/‘xss’)%3C/script%3E
  • https://webserver/Campaign/Campaign?function=%3Cscript%3Ealert(‘xss’)%3C/script%3E
  • https://webserver/Campaign/
  • https://webserver/Campaign/‘xss’)%3C/script%3E
  • https://webserver/Campaign/Campaign?function=LoadFrame&Frame=3Cscript%3Ealert(‘xss’)%3C/script%3E

In many of these cases the web application fails, when attempting to parse the JavaScript as an integer. The resultant error page includes details of the exception thrown including the malformed input containing the injected JavaScript.

Of particular concern are the following example URLs which when requested, result in the JavaScript being returned in the login page itself:

  • https://webserver/manager/jsp/test.jsp?affiniumUserName=%22%3E%3Cscript%3Ealert(‘xss’)%3C/script%3E
  • https://webserver/Campaign/‘xss’)%3C/script%3E

It is worth considering that there may well be other instances where similar exceptions may be raised and these are also likely to be vulnerable.


An attacker would be able to use this to execute malicious code on a visitors computers.


Exploit code is not required.

Vendor Status:

05/06/2008 – vendor informed

10/06/2008 – Vendor updated

11/06/2008 – Vendor responded via email

16/07/2008 – Vendor confirmed patches


Copyright © Portcullis Computer Security Limited 2008, 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.