vendor:
Online Hotel Reservation System
by:
Mesut Cetin
3.1
CVSS
MEDIUM
Stored Cross-site Scripting
79
CWE
Product Name: Online Hotel Reservation System
Affected Version From: 1.0
Affected Version To: 1.0
Patch Exists: NO
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Kali Linux 2020.4, PHP 7.4.13, mysqlnd 7.4.13, Apache/2.4.46 (Unix), OpenSSL/1.1.1h, mod_perl/2.0.11 Perl/v5.32.0
2021
Online Hotel Reservation System 1.0 – Stored Cross-site Scripting
The room 'description' parameter is vulnerable to stored Cross-site Scripting. Login with administrator credentials at http://localhost/admin with admin:admin and click on 'Rooms' tab. Edit 'description' parameter with 1<script>alert('document.cookie')</script> and any user at http://localhost/marimar/index.php will get the XSS pop-up warning with their cookie values.
Mitigation:
Input validation and output encoding should be used to prevent XSS attacks.