CVE-2026-137437 in Basic Hotel Online Reservation Systeminfo

Summary

by MITRE • 11/26/2026

A vulnerability was determined in SourceCodester Basic Hotel Online Reservation System 1.0. The impacted element is an unknown function of the file add_reserve.php. Executing a manipulation of the argument Date can lead to sql injection. The attack can be executed remotely. The exploit has been publicly disclosed and may be utilized.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 11/28/2026

The SourceCodester Basic Hotel Online Reservation System version 1.0 contains a critical security flaw within its reservation management module, specifically located in the add_reserve.php file. This vulnerability stems from an improper handling of user-supplied input passed through the Date argument to an underlying database query function. The application fails to adequately sanitize or parameterize this specific input field before incorporating it into SQL commands executed against the backend database server. As a result, an attacker can inject arbitrary SQL code by manipulating the date value provided during the reservation creation process. This type of flaw is classically categorized under CWE-89 Improper Neutralization of Special Elements used in an SQL Command which indicates that the software does not sufficiently verify or escape special characters before using them in dynamic database queries.

The operational impact of this vulnerability is severe due to its remote exploitability and the nature of the underlying weakness. Because the flaw resides in a function likely accessible via standard HTTP requests, an unauthenticated attacker can interact with the application over the network without prior authentication credentials. By crafting malicious payloads within the Date parameter, the attacker can bypass intended logic controls or extract sensitive data from the database. This could lead to unauthorized access to customer personal information including names, contact details, and potentially payment-related data stored in association with reservations. Furthermore depending on the privileges of the database account used by the web application an attacker might execute administrative commands such as dropping tables modifying system configurations or even achieving remote code execution through advanced SQL injection techniques like out-of-band interactions or stacked queries if supported by the specific database management system in use.

This vulnerability aligns with several entries in the MITRE ATT&CK framework particularly those related to initial access and collection phases of an attack lifecycle. The ability to remotely execute arbitrary SQL commands allows adversaries to perform data exfiltration which falls under techniques associated with credential harvesting or sensitive information discovery. Additionally if the database engine permits it this flaw could facilitate lateral movement within a network infrastructure by leveraging stored procedures or external scripts invoked via sql injection thereby escalating from simple data theft to broader system compromise. The fact that an exploit has been publicly disclosed significantly increases the risk landscape as automated scanning tools and opportunistic attackers can readily leverage known proof-of-concept code to identify and target vulnerable instances of this software deployed in production environments without needing to develop custom exploitation methods.

Mitigation strategies must address both immediate remediation and long-term defensive posture improvements. The primary technical fix involves implementing strict input validation for the Date argument ensuring that only expected date formats are accepted while rejecting any characters commonly associated with sql injection such as single quotes semicolons or comment markers. More robustly developers should refactor the affected code to use prepared statements with parameterized queries which separate SQL logic from data inputs thereby neutralizing injection attempts regardless of content. Additionally deploying a web application firewall can provide an additional layer of defense by filtering malicious payloads before they reach the application backend though this should not replace proper coding practices. Organizations currently running this version are advised to upgrade to patched versions if available or apply manual code fixes immediately while monitoring logs for signs of exploitation activity such as unusual database query patterns or error messages indicating syntax failures from injected commands.

Responsible

VulDB

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00328

KEV

no

Activities

very low

Sector

Hospital

Sources

Might our Artificial Intelligence support you?

Check our Alexa App!