| Título | SourceCodester Online Tours & Travels Management System traveller_details.php cross site scripting |
|---|
| Descrição | SourceCodester Online Tours & Travels Management System traveller_details.php cross site scripting
url:admin/traveller_details.php
Abstract:
Line 111 of traveller_details.php sends unvalidated data to a web browser, which can result in the browser executing malicious code.
Explanation:
Cross-site scripting (XSS) vulnerabilities occur when:
Data enters a web application through an untrusted source. In the case of persistent (also known as stored) XSS, the untrusted source is typically a database or other back-end data store, while in the case of reflected XSS it is typically a web request.
The data is included in dynamic content that is sent to a web user without being validated.
In this case, the data is sent at builtin_echo() in traveller_details.php at line 111.
It is clear that the application doesn’t perform data validation and trust user-supplied data, we can use the below XSS payload as input which may be stored in the application.
payload :
<img src=0 onerror=alert(2)>
Download Code:
https://www.sourcecodester.com/php/14510/online-tours-travels-management-system-project-using-php-and-mysql.html |
|---|
| Fonte | ⚠️ https://blog.csdn.net/Dwayne_Wade/article/details/129524104 |
|---|
| Utilizador | bit3hh (UID 42576) |
|---|
| Submissão | 14/03/2023 06h00 (há 3 anos) |
|---|
| Moderação | 14/03/2023 15h35 (10 hours later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 222983 [SourceCodester Online Tours & Travels Management System 1.0 traveller_details.php address Script de Site Cruzado] |
|---|
| Pontos | 20 |
|---|