vendor:
Online Examination System
by:
Nikhil Kumar
8.8
CVSS
HIGH
Stored Cross Site Scripting
79
CWE
Product Name: Online Examination System
Affected Version From: 1.0
Affected Version To: 1.0
Patch Exists: NO
Related CWE: N/A
CPE: a:projectworldsofficial:online-examination-systen-in-php
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Ubntu 18 + Xampp-linux-x64-5.5.38-3
2020
Online examination system 1.0 – ‘name’ Stored Cross Site Scripting
A stored cross-site scripting vulnerability exists in Online Examination System 1.0, which allows an attacker to inject malicious JavaScript code into the 'name' field of the sign up form. This code is then stored in the database and is reflected each time a user logs in with their credentials.
Mitigation:
Input validation should be used to prevent the injection of malicious code into the application. Additionally, the application should use a whitelist of accepted characters and reject any input that contains characters outside of the whitelist.