Skip to main content

CVE-2025-9789: SQL Injection in SourceCodester Online Hotel Reservation System

Medium
VulnerabilityCVE-2025-9789cvecve-2025-9789
Published: Mon Sep 01 2025 (09/01/2025, 18:02:07 UTC)
Source: CVE Database V5
Vendor/Project: SourceCodester
Product: Online Hotel Reservation System

Description

A vulnerability was identified in SourceCodester Online Hotel Reservation System 1.0. Affected by this issue is some unknown functionality of the file /admin/edituser.php. The manipulation of the argument userid leads to sql injection. The attack may be initiated remotely. The exploit is publicly available and might be used.

AI-Powered Analysis

AILast updated: 09/01/2025, 18:32:55 UTC

Technical Analysis

CVE-2025-9789 is a SQL Injection vulnerability identified in version 1.0 of the SourceCodester Online Hotel Reservation System, specifically within the /admin/edituser.php file. The vulnerability arises from improper sanitization or validation of the 'userid' parameter, which can be manipulated by an attacker to inject malicious SQL code. This injection flaw allows an unauthenticated remote attacker to execute arbitrary SQL commands on the backend database without requiring any user interaction or privileges. The vulnerability has a CVSS 4.0 base score of 6.9, indicating a medium severity level. The attack vector is network-based (AV:N), with low attack complexity (AC:L), no authentication required (PR:N), and no user interaction needed (UI:N). The impact on confidentiality, integrity, and availability is low to limited, suggesting that while the attacker can manipulate some data or retrieve limited information, the overall damage scope is constrained. No known exploits are currently reported in the wild, but public exploit code is available, increasing the risk of exploitation. The vulnerability affects only version 1.0 of the product, which is a niche online hotel reservation system, likely used by small to medium hospitality businesses. The lack of patches or vendor-provided fixes at the time of publication increases the urgency for mitigation.

Potential Impact

For European organizations, especially those in the hospitality sector using the SourceCodester Online Hotel Reservation System version 1.0, this vulnerability poses a risk of unauthorized data access or modification. Attackers could leverage the SQL injection to extract sensitive user information, including personal details of hotel guests or administrative users, potentially leading to privacy violations under GDPR. Additionally, attackers might alter reservation data or user credentials, disrupting business operations and damaging customer trust. Although the impact is rated medium, the hospitality industry is a frequent target for cyberattacks due to the valuable personal and payment data processed. Exploitation could also lead to reputational damage and regulatory penalties. Given the remote and unauthenticated nature of the exploit, attackers could scan for vulnerable instances across Europe and launch automated attacks, increasing the threat surface for affected organizations.

Mitigation Recommendations

Organizations should immediately audit their use of the SourceCodester Online Hotel Reservation System to identify if version 1.0 is deployed. Since no official patches are currently available, mitigation should focus on implementing web application firewall (WAF) rules to detect and block SQL injection attempts targeting the 'userid' parameter in /admin/edituser.php. Input validation and parameterized queries should be enforced in the application code to prevent injection. If possible, upgrade to a newer, patched version of the software or consider migrating to a more secure reservation system. Network segmentation and restricting administrative interface access to trusted IP addresses can reduce exposure. Regular security assessments and penetration testing should be conducted to identify similar injection points. Monitoring logs for unusual database queries or failed injection attempts can provide early detection of exploitation attempts.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
VulDB
Date Reserved
2025-09-01T10:04:21.843Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 68b5e345ad5a09ad00d1e19a

Added to database: 9/1/2025, 6:17:41 PM

Last enriched: 9/1/2025, 6:32:55 PM

Last updated: 9/3/2025, 8:39:25 AM

Views: 11

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats