CVE-2025-9789: SQL Injection in SourceCodester Online Hotel Reservation System
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 Analysis
Technical Summary
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.
Affected Countries
Germany, France, United Kingdom, Italy, Spain, Netherlands
CVE-2025-9789: SQL Injection in SourceCodester 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
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.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
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
Related Threats
CVE-2025-9932: SQL Injection in PHPGurukul Beauty Parlour Management System
MediumCVE-2025-9931: Cross Site Scripting in Jinher OA
MediumCVE-2025-58064: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ckeditor ckeditor5
LowCVE-2025-9930: SQL Injection in 1000projects Beauty Parlour Management System
MediumCVE-2025-9929: Cross Site Scripting in code-projects Responsive Blog Site
MediumActions
Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.