CVE-2023-7100 in Restaurant Table Booking Systeminfo

Summary

by MITRE • 12/25/2023

A vulnerability, which was classified as critical, was found in PHPGurukul Restaurant Table Booking System 1.0. Affected is an unknown function of the file /admin/bwdates-report-details.php. The manipulation of the argument fdate leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-248952.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Analysis

by VulDB Data Team • 03/04/2025

The vulnerability identified as CVE-2023-7100 represents a critical sql injection flaw within the PHPGurukul Restaurant Table Booking System version 1.0. This system, designed for restaurant reservation management, contains a dangerous code execution vulnerability that resides in the administrative component of the application. The affected file /admin/bwdates-report-details.php processes user input through the parameter fdate without adequate sanitization or validation, creating a pathway for malicious actors to manipulate database queries. The vulnerability classification as critical stems from the combination of remote exploitability and the potential for full database compromise, making it particularly dangerous in production environments.

The technical implementation of this vulnerability occurs when the application fails to properly escape or parameterize user-supplied input from the fdate parameter. This parameter is directly incorporated into sql query construction within the bwdates-report-details.php file, allowing attackers to inject malicious sql code that can be executed by the database server. The vulnerability falls under CWE-89 which specifically addresses sql injection weaknesses in software applications. Attackers can exploit this by crafting malicious input that alters the intended sql query structure, potentially enabling them to extract sensitive data, modify database contents, or even execute administrative commands on the underlying database system. The remote exploitability aspect means that attackers do not require physical access to the system and can target the vulnerability through network-based attacks.

The operational impact of this vulnerability extends beyond simple data theft, as it can lead to complete system compromise and unauthorized access to sensitive customer information. Restaurant booking systems typically contain personal data including customer names, contact information, reservation details, and potentially payment information. The ability to perform sql injection attacks against this system creates risks for data breaches, identity theft, and potential regulatory violations under data protection laws such as gdpr or pci dss. The disclosed exploit status means that threat actors have already developed working attack vectors, increasing the likelihood of real-world exploitation. This vulnerability also demonstrates poor input validation practices that violate secure coding principles and can be mapped to ATT&CK technique T1190 which covers exploits for execution through sql injection attacks.

Mitigation strategies for this vulnerability must be implemented immediately through multiple layers of defense. The primary remediation involves proper input validation and parameterized query construction, ensuring that all user-supplied data is properly escaped or parameterized before database interaction. Application developers should implement prepared statements or stored procedures to prevent sql injection attacks. Network-level protections including web application firewalls and intrusion detection systems should be configured to monitor for sql injection patterns. Additionally, the system should be updated to the latest version of the PHPGurukul Restaurant Table Booking System where this vulnerability has been patched. Regular security assessments and code reviews should be conducted to identify similar vulnerabilities in other application components. Access controls should be implemented to limit administrative functionality exposure and ensure that only authorized personnel can access the affected administrative interfaces. The vulnerability also highlights the importance of keeping third-party applications updated and following secure development lifecycle practices to prevent similar issues in future deployments.

Responsible

VulDB

Reservation

12/24/2023

Disclosure

12/25/2023

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00101

KEV

no

Activities

very low

Sector

Hospital

Sources

Want to know what is going to be exploited?

We predict KEV entries!