header-logo
Suggest Exploit
vendor:
Online Diagnostic Lab Management System
by:
Himash
9.3
CVSS
CRITICAL
Stored Cross-Site Scripting (XSS)
79
CWE
Product Name: Online Diagnostic Lab Management System
Affected Version From: 1
Affected Version To: 1
Patch Exists: NO
Related CWE:
CPE: a:sourcecodester:online_diagnostic_lab_management_system:1.0
Metasploit:
Other Scripts:
Platforms Tested: Kali Linux
2022

Online Diagnostic Lab Management System 1.0 – Stored Cross Site Scripting (XSS)

Online Diagnostic Lab Management System 1.0 is vulnerable to stored cross-site-scripting. Stored cross-site scripting (persistent XSS) arises when an application receives its data from an untrusted source and includes that data within its responses in an unsafe way.

Mitigation:

Input validation and output encoding can be used to mitigate XSS attacks.
Source

Exploit-DB raw data:

#Exploit Title: Online Diagnostic Lab Management System 1.0 - Stored Cross Site Scripting (XSS)
#Date: 11/01/2022
#Exploit Author: Himash
#Vendor Homepage: https://www.sourcecodester.com/php/15129/online-diagnostic-lab-management-system-php-free-source-code.html
#Software Link: https://www.sourcecodester.com/sites/default/files/download/oretnom23/odlms.zip
#Version: 1.0
#Tested on: Kali Linux

Online Diagnostic Lab Management System 1.0 is vulnerable to stored cross-site-scripting.
Stored cross-site scripting (persistent XSS) arises when an application receives its data from
an untrusted source and includes that data within its responses in an unsafe way.

#Steps to Reproduce

1. Login to the admin account with username 'admin' and password 'admin123'

2. Navigate to the 'User List' option 

3. Create new user by adding following payload in
   First Name and Last Name fields.
   <image src/onerror=prompt(document.cookie)>

4. XSS payload will be triggered in the page http://localhost/odlms/admin/?page=user/list