CVE-2025-6458 in Online Hotel Reservation Systeminfo

Summary

by MITRE • 06/22/2025

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

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 06/26/2025

The vulnerability identified as CVE-2025-6458 represents a critical SQL injection flaw within the code-projects Online Hotel Reservation System version 1.0. This weakness specifically resides in the administrative component of the application, namely in the /admin/execedituser.php file where user input is improperly handled. The vulnerability stems from insufficient validation and sanitization of the userid parameter, which allows malicious actors to inject arbitrary SQL commands into the database query execution flow. This critical classification indicates the severity of potential impact and the ease with which attackers can exploit the flaw without requiring privileged access or specialized knowledge beyond basic web application exploitation techniques. The vulnerability's presence in the administrative interface suggests that successful exploitation could provide attackers with elevated privileges and access to sensitive user data.

The technical exploitation of this vulnerability occurs through the manipulation of the userid argument within the execedituser.php script, where user-supplied input directly influences database query construction without proper parameterization or input filtering. This creates an environment where attackers can inject malicious SQL payloads that bypass authentication mechanisms and directly interact with the underlying database system. The remote attack vector means that exploitation does not require physical access to the server or local network presence, making the vulnerability particularly dangerous as it can be leveraged from any location with internet connectivity. The public disclosure of the exploit further compounds the risk, as it provides threat actors with ready-made attack scripts and methodologies to compromise affected systems. This vulnerability aligns with CWE-89 which specifically addresses SQL injection weaknesses in software applications.

The operational impact of CVE-2025-6458 extends beyond simple data theft to encompass complete system compromise and potential data destruction. Successful exploitation could enable attackers to extract sensitive user information including personal details, reservation data, and potentially administrative credentials. The vulnerability's location within the administrative execution file suggests that attackers might gain access to user management functions, potentially allowing them to modify user accounts, escalate privileges, or create new administrative access points. Additionally, the ability to execute arbitrary SQL commands provides attackers with the capability to manipulate or delete database records, potentially causing service disruption or data corruption. Organizations running this vulnerable system face significant risk of reputational damage, regulatory compliance violations, and potential financial losses due to data breaches.

Organizations utilizing the code-projects Online Hotel Reservation System version 1.0 must implement immediate remediation measures to address this critical vulnerability. The primary mitigation strategy involves implementing proper input validation and parameterized queries throughout the application code, specifically within the execedituser.php file and related administrative components. Database access controls should be reviewed and strengthened, with proper privilege separation ensuring that application accounts have minimal required permissions. Network-level protections including web application firewalls and intrusion detection systems should be deployed to monitor for exploitation attempts. Regular security assessments and code reviews should be conducted to identify similar vulnerabilities in other application components. The vulnerability's classification as a critical risk aligns with ATT&CK technique T1190 which covers exploitation of remote services, and T1071.004 which addresses application layer protocol usage. Organizations should also consider implementing automated patch management processes to ensure timely deployment of security updates and maintain comprehensive incident response procedures to address potential exploitation attempts.

Responsible

VulDB

Disclosure

06/22/2025

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00394

KEV

no

Activities

very low

Sector

Hospital

Sources

Want to know what is going to be exploited?

We predict KEV entries!