Document Title: =============== My Movie Collection Sinatra App - (Login) XSS Vulnerabilities Date: ===== 2021-11-01 References: =========== VL-ID: ===== 2293 Common Vulnerability Scoring System: ==================================== 5.1 Vulnerability Class: ==================== Cross Site Scripting - Non Persistent Introduction: ============= Welcome to My Movie Collection Sinatra web app where you can create, read, update, and delete movies that you own. Here you can build and keep track of your DVD/Blu-Ray collection. You can also add movie comments and date purchased. The code is available as open source under the terms of the MIT License. (Copy of the Homepage: ) Abstract: ========= The vulnerability laboratory core research team discovered multiple non-persistent cross site scripting vulnerabilities in the My Movie Collection Sinatra web-application. Affected Product(s): ==================== James Fernandez Product: My Movie Collection Sinatra app (v2017 & v2018)- Video Application (Web-Application) (Ruby) Report-Timeline: ================ 2021-09-01: Researcher Notification & Coordination (Security Researcher) 2021-09-02: Vendor Notification (Security Department) 2021-**-**: Vendor Response/Feedback (Security Department) 2021-**-**: Vendor Fix/Patch (Service Developer Team) 2021-**-**: Security Acknowledgements (Security Department) 2021-11-01: Public Disclosure (Vulnerability Laboratory) Status: ======== Published Exploitation-Technique: ======================= Remote Severity: ========= Medium Details: ======== Multiple non-persistent cross site web vulnerabilities has been discovered in the official My Movie Collection Sinatra web-application. The vulnerability allows remote attackers to inject own malicious script codes with non-persistent attack vector to compromise browser to web-application requests by the client-side. The non-persistent cross site scripting web vulnerabilities are located in the username and password input fields of the login and signup module. Unauthenticated remote attackers are able to process manipulated post method requests for logins or signup to inject own malicious script code with non-persistent attack vector. The request method to inject is post and the attack vector is located on the client-side. Successful exploitation of the vulnerability results in session hijacking, non-persistent phishing attacks, non-persistent external redirects to malicious source and non-persistent manipulation of affected application modules. Request Method(s): [+] POST Vulnerable Module(s): [+] ./login [+] ./signup Vulnerable Input(s): [+] Username [+] Password Vulnerable Parameter(s): [+] username [+] password Proof of Concept: ================= The client-side cross site scripting web vulnerabilities can be exploited by remote attackers without account and with low user interaction. For security demonstration or to reproduce the cross site web vulnerability follow the provided information and steps below to continue. PoC: Exploitation "> My Movie Collection Reference(s): https://sinatra-my-movie-collection.localhost:8000/login https://sinatra-my-movie-collection.localhost:8000/signup Credits: ======== Vulnerability-Lab [Research Team] - 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 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: Services: Social: Feeds: Programs: 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@) to get a ask permission. Copyright © 2021 | Vulnerability Laboratory - [Evolution Security GmbH]™