# Exploit Title: User Registration & Login and User Management System 2.1 — Stored Cross-Site Scripting
# Date: 2020–11–19
# Exploit Author: Akshay Jain(Mr Akuma)
# Vendor Homepage:
# Software Link:
# Version: 2.1
# Tested on Pop OS(Linux)
# CVE: CVE-2020–28927

Stored Cross-site scripting(XSS):
Stored attacks are those where the injected script is permanently stored on the target servers,
such as in a database, in a message forum, visitor log, comment field, etc.
The victim then retrieves the malicious script from the server when it requests the stored information.
Stored XSS is also sometimes referred to as Persistent XSS.

Image for post
Image for post

Attack vector:
This vulnerability can result in an attacker to inject the XSS payload in the User Registration section and each time admin visits the manage user section from the admin panel,
the XSS triggers and the attacker can able to steal the cookie according to the crafted payload.

Vulnerable Parameters: Last Name
Steps to reproduce:
1. Goto registration page
2. fill in the details. & put <script>alert(“XSS”)</script> payload in First name,Last name
3. Now go to Admin Panel. we can see that our payload gets executed.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store