Document Title: =============== Edmodo BB#1 - Persistent Input Validation Vulnerability Date: ===== 2016-08-21 References: =========== http://www.vulnerability-lab.com/get_content.php?id=1921 VL-ID: ===== 1921 Common Vulnerability Scoring System: ==================================== 3.3 Introduction: ============= Edmodo is a global education network that helps connect all learners with the people and resources needed to reach their full potential. Edmondo is part of an official security disclosure program. (Copy of the Vendor Homepage: https://www.edmodo.com/about ) Abstract: ========= The vulnerability laboratory core research team discovered a persistent input validation vulnerability in the Edmodo online service web-application. Report-Timeline: ================ 2016-08-29: Public Disclosure (Vulnerability Laboratory) Status: ======== Published Affected Products: ================== Edmodo Product: Edmodo - Online Service (Web-Application) v2016 Q3 Exploitation-Technique: ======================= Remote Severity: ========= Medium Details: ======== The persistent input validation vulnerability has been discovered in the official Edmodo online service web-application. The security vulnerability allows remote attackers to inject own script code on the application-side of affected modules. The vulnerability is located in the placeholders `Title of the web page` - http:// or embed fields in the `Note` and `Assignment` sections. Remote attackers with low privilege web-application user accounts are able to inject own malicious script code via GET method request. The vulnerability is located on the application-side of the vulnerable service module. The security risk of the vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 3.3. Exploitation of the persistent 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 Service(s): [+] www.edmodo.com Vulnerable Module(s): [+] Home Proof of Concept: ================= The xss web vulnerability can be exploited by remote attackers with low privileged user account and low user interaction. For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue. Manual steps to reproduce the vulnerability ... 1. Create an account in the web-application to access with low privileges 2. Go to the `share link` by function 3. Create in the `title of the web page` `http;// or ` input a script code payload Note: ` 4. Click the button 5. Now, the payload executes on edit and can be posted via share function 6. Successful reproduce of the remote cross site scripting vulnerability! Solution: ========= The vulnerability can be patched by a secure parse and encode of the vulnerable input fields. Restrict the input and disallow usage of special chars. Filter and setup a secure exception handling that prevents the persistent execution in the output location. Risk: ===== The security risk of application-side input validation web vulnerability in the Edmodo web-application is estimated as medium. (CVSS 3.3) Credits: ======== Vulnerability Laboratory [Research Team] - SaifAllah benMassaoud (http://www.vulnerability-lab.com/show.php?user=SaifAllahbenMassaoud ) Disclaimer: =========== 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]™