CVE-2025-6917 in Online Hotel Bookinginfo

Summary

by MITRE • 06/30/2025

A vulnerability has been found in code-projects Online Hotel Booking 1.0 and classified as critical. This vulnerability affects unknown code of the file /admin/registration.php. The manipulation of the argument uname leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 07/07/2025

This critical vulnerability resides within the code-projects Online Hotel Booking 1.0 application, specifically in the administrative registration component located at /admin/registration.php. The flaw represents a classic sql injection vulnerability that occurs when user input is improperly sanitized before being incorporated into database queries. The vulnerability is triggered through manipulation of the uname parameter, which serves as an entry point for malicious sql commands to be executed within the backend database system.

The technical implementation of this vulnerability demonstrates a failure in input validation and parameterized query construction within the application's administrative interface. When an attacker supplies malicious input through the uname field, the application directly incorporates this unvalidated data into sql statements without proper sanitization or parameterization. This creates an exploitable condition where attackers can craft sql payloads that manipulate the database structure, extract sensitive information, modify records, or potentially gain unauthorized access to the underlying database system. The remote exploitability of this vulnerability means that attackers can leverage this flaw from external networks without requiring physical access to the system.

The operational impact of this vulnerability extends beyond simple data compromise, as it represents a fundamental security failure that could lead to complete system takeover. Attackers exploiting this sql injection vulnerability could potentially access user credentials, reservation data, payment information, and other sensitive business data stored within the database. The disclosure of this exploit to the public significantly increases the risk profile, as malicious actors can immediately implement attacks against vulnerable installations. This vulnerability aligns with CWE-89 which specifically addresses sql injection flaws, and represents a critical weakness in the application's data handling processes that violates basic security principles for input validation and database interaction.

Mitigation strategies for this vulnerability must address both immediate remediation and long-term security improvements. The primary solution involves implementing proper parameterized queries or prepared statements for all database interactions, particularly within the administrative registration component. Input validation should be strengthened to reject malicious payloads and enforce proper data formats for the uname field. Additionally, the application should implement proper access controls to limit administrative functionality to authorized users only, and regular security testing should be conducted to identify similar vulnerabilities. Organizations should also consider implementing web application firewalls and database activity monitoring to detect and prevent exploitation attempts. The vulnerability demonstrates the importance of following secure coding practices and adhering to the principle of least privilege in application design, with the ATT&CK framework identifying this as a potential path for credential access and privilege escalation through database manipulation techniques.

Responsible

VulDB

Disclosure

06/30/2025

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00204

KEV

no

Activities

very low

Sector

Hospital

Sources

Do you need the next level of professionalism?

Upgrade your account now!