CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Lifecycle Timeline
4Description
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.
Analysis
CVE-2025-6458 is a critical SQL injection vulnerability in code-projects Online Hotel Reservation System version 1.0, affecting the /admin/execedituser.php endpoint. An unauthenticated remote attacker can manipulate the 'userid' parameter to execute arbitrary SQL queries, potentially leading to unauthorized data access, modification, or deletion. The vulnerability has been publicly disclosed with exploit code available, making it actively exploitable in the wild.
Technical Context
The vulnerability stems from improper input validation in the userid parameter passed to /admin/execedituser.php, classified under CWE-74 (Improper Neutralization of Special Elements in Output). This is a classic SQL injection flaw where user-controlled input is concatenated directly into SQL queries without parameterized statements or proper escaping. The affected product is code-projects Online Hotel Reservation System 1.0, a web-based hotel management application. The vulnerable file directly processes user input for database operations without sanitization, allowing attackers to break out of intended query context and inject arbitrary SQL commands. CPE identifier would be: cpe:2.3:a:code-projects:online_hotel_reservation_system:1.0:*:*:*:*:*:*:*
Affected Products
- vendor: code-projects; product: Online Hotel Reservation System; version: 1.0; vulnerable_component: /admin/execedituser.php; vulnerable_parameter: userid; cpe: cpe:2.3:a:code-projects:online_hotel_reservation_system:1.0:*:*:*:*:*:*:*; status: vulnerable
Priority Score
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-18836