vendor:
Online Hotel Reservation System
by:
Richard Jones
8.8
CVSS
HIGH
Authentication Bypass
287
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: a:sourcecodester:online_hotel_reservation_system:1.0
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Windows 10 Home 19041 (x64_86) + XAMPP 7.2.34
2021
Online Hotel Reservation System 1.0 – Admin Authentication Bypass
This exploit allows an attacker to bypass the authentication of the Online Hotel Reservation System 1.0 by sending a specially crafted HTTP POST request to the login.php page. The request contains an email parameter with a value of 'admin' or 1=1 -- -ac1d, which bypasses the authentication check and allows the attacker to gain access to the admin panel.
Mitigation:
Ensure that authentication checks are properly implemented and that user input is properly sanitized and validated.