Home / os / winmobile

LearnVest Cross Site Scripting

Posted on 12 July 2016

# Exploit Title: LearnVest Web Application - Stored Cross-Site Scripting (XSS) # Date: 07/04/16 # Exploit Author: Omkar Joshi # Vendor Homepage: https://www.learnvest.com # Version: Latest # Contacted Vendor Date: 07/04/16 *# Affected URL:- https://www.learnvest.com/mylv/money/#/settings/account <https://www.learnvest.com/mylv/money/#/settings/account> (My Profile)* *# Attack Scenario: Stored Cross Site Scripting* Step 1. Login into LearnVest Web Application Step 2: Go to User Settings. Step 3: Insert XSS payload in "Address", "Address Line 2" and "City" parameter of Shipping Address. I have used *"><img src=x onerror=prompt(document.cookie);>* XSS payload Step 4: Then click on Save Settings Step 5: Whenever anyone try to visit Settings Page or navigate pages of LearnVest, XSS Script will get execute. *# Impact of attack: *An attack can perform Cross Site Scripting attack and steal the cookie of other active sessions. An attacker would exploit a vulnerability within a website or web application that the victim would visit, essentially using the vulnerable website as a vehicle to deliver a malicious script to the victim’s browser. An attacker might be able to put stored XSS into the website. https://www.owasp.org/index.php/Cross-site_Scripting_(XSS) *# Recommendation:* Use an appropriate combination of white listing and blacklisting to ensure only valid and expected input is processed by the system.Furthermore, classes within the output tag libraries should also be modified to encode potentially dangerous characters with their HTML escape Counter parts. For more information refer the following link https://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet

 

TOP