Tried, Tested and Proven

Security Advisory 08-003 – Affinium Campaign’s templates web page is vulnerable to a JavaScript injection.

Vulnerability Title:

The web application’s templates web page is vulnerable to a 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 into the templates web page by manipulating the displayIcon parameter of requests to https://webserver/Campaign/ For example:

POST https://webserver/Campaign/ HTTP/1.1

Host: webserver

Cookie: CAMPAIGNSESSIONID=HXJBBgzXJdYp1w1klLbQhwycZZ7pQxYyG1af33hRkXtJ1P9CTnMz!707630239

Content-Type: application/x-www-form-urlencoded

Content-Length: 818

uacoffercodegen&treatmentCodeGenerator=++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ &treatmentCodeFmt=nnnnnnnnn&offerListSelect=STATIC&offerListSelect=HIDDEN_STATIC&offerListSelect=PARAMETERIZED&policyId=100&updateEnumAttributeID=

The JavaScript from the manipulated request is returned in the response and executed when the browser tries to load the display icon.


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.