| Título | PHPGurukul Emergency Ambulance Hiring Portal 1.0 Cross Site Scripting |
|---|
| Descripción | Bug Description:
A stored cross-site scripting (XSS) vulnerability in PHPGurukul Emergency Ambulance Hiring Portal 1.0 allows attackers to execute arbitrary web scripts via a crafted payload injected in the "Add Ambulance" functionality.
Steps to Reproduce:
# Exploit Title: Stored XSS in "Add Ambulance" functionality of Emergency Ambulance Hiring Portal
# Date: 28-03-2024
# Exploit Author: dhabaleshwardas
# Vendor Homepage: https://phpgurukul.com/
# Software Link: https://phpgurukul.com/emergency-ambulance-hiring-portal-using-php-and-mysql/
# Version: 1.0
# Tested on: firefox/chrome/brave
# CVE:
To reproduce the attack:
1- First, login to the application then, head to the http://localhost/eahp/admin/add-ambulance.php endpoint .
2- Here you would be asked to fill all the fields. We simply put XSS payloads in "Ambulance Reg No." and "Driver Name" fields and clicked "Add".
3- We can see that the payloads are directly embedded into the HTML content without proper sanitization or encoding, and hence, pop-ups are shown. |
|---|
| Fuente | ⚠️ https://github.com/dhabaleshwar/Open-Source-Vulnerabilities/blob/main/eahp_authsxss.md |
|---|
| Usuario | dhabaleshwar (UID 58737) |
|---|
| Sumisión | 2024-03-29 12:06 (hace 2 años) |
|---|
| Moderación | 2024-03-29 15:27 (3 hours later) |
|---|
| Estado | Aceptado |
|---|
| Entrada de VulDB | 258683 [PHPGurukul Emergency Ambulance Hiring Portal 1.0 Add Ambulance Page /admin/add-ambulance.php Ambulance Reg No/Driver Name secuencias de comandos en sitios cruzados] |
|---|
| Puntos | 20 |
|---|