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: 10/19/2025, 12:33:44 PM
Views: 40
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-11940: Uncontrolled Search Path in LibreWolf
HighCVE-2025-11939: Path Traversal in ChurchCRM
MediumCVE-2025-11938: Deserialization in ChurchCRM
MediumAI Chat Data Is History's Most Thorough Record of Enterprise Secrets. Secure It Wisely
MediumAI Agent Security: Whose Responsibility Is It?
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.