Lucene search
K

LearnVest Cross Site Scripting

🗓️ 11 Jul 2016 00:00:00Reported by Omkar JoshiType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 24 Views

LearnVest Web Application Stored Cross-Site Scripting (XSS

Code
`# 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  
  
`

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