CVE-2025-12857: SQL Injection in code-projects Responsive Hotel Site
A security vulnerability has been detected in code-projects Responsive Hotel Site 1.0. The affected element is an unknown function of the file /admin/roombook.php. Such manipulation of the argument rid leads to sql injection. The attack can be launched remotely. The exploit has been disclosed publicly and may be used.
AI Analysis
Technical Summary
CVE-2025-12857 identifies a SQL injection vulnerability in the Responsive Hotel Site version 1.0 developed by code-projects. The vulnerability exists in the /admin/roombook.php file where the 'rid' parameter is improperly sanitized, allowing attackers to inject malicious SQL code. This injection flaw can be exploited remotely without user interaction but requires high privileges, indicating that an attacker must already have some level of authenticated access to the admin interface. The vulnerability impacts the confidentiality, integrity, and availability of the backend database, potentially allowing unauthorized data access, modification, or deletion. The CVSS 4.0 base score is 5.1, reflecting a medium severity due to the high privilege requirement and limited scope of impact. No known public exploits have been reported, but the vulnerability has been publicly disclosed, increasing the risk of exploitation. The lack of available patches means organizations must rely on mitigation strategies such as input validation, use of prepared statements, and restricting access to the admin panel. This vulnerability is particularly relevant to organizations in the hospitality sector using this specific software version, as exploitation could compromise booking data and customer information.
Potential Impact
For European organizations, especially those in the hospitality and tourism sectors using the Responsive Hotel Site software, this vulnerability poses a risk of unauthorized database access and manipulation. Successful exploitation could lead to exposure of sensitive customer data, booking details, and potentially financial information, undermining customer trust and violating data protection regulations such as GDPR. Data integrity could be compromised, leading to incorrect booking records or denial of service if the database is corrupted. The requirement for high privileges limits the attack surface to insiders or attackers who have already gained some level of access, but this does not eliminate the risk of insider threats or lateral movement attacks. The medium severity indicates a moderate risk that should be addressed promptly to avoid reputational damage and regulatory penalties.
Mitigation Recommendations
1. Immediately restrict access to the /admin/roombook.php interface to trusted IP addresses or VPN connections to reduce exposure. 2. Implement strict input validation and sanitization for the 'rid' parameter, ensuring only expected numeric or predefined values are accepted. 3. Refactor the backend code to use parameterized queries or prepared statements to prevent SQL injection. 4. Monitor logs for unusual activity related to the 'rid' parameter or admin interface access attempts. 5. Conduct a thorough security review of the entire application to identify and remediate similar injection flaws. 6. If possible, isolate the database with strict access controls and ensure regular backups are maintained. 7. Educate administrative users on secure credential management to prevent privilege escalation. 8. Engage with the vendor or community to obtain patches or updates addressing this vulnerability. 9. Consider deploying Web Application Firewalls (WAF) with custom rules to detect and block SQL injection attempts targeting this endpoint.
Affected Countries
France, Spain, Italy, Germany, United Kingdom, Netherlands, Greece, Portugal, Austria, Switzerland
CVE-2025-12857: SQL Injection in code-projects Responsive Hotel Site
Description
A security vulnerability has been detected in code-projects Responsive Hotel Site 1.0. The affected element is an unknown function of the file /admin/roombook.php. Such manipulation of the argument rid leads to sql injection. The attack can be launched remotely. The exploit has been disclosed publicly and may be used.
AI-Powered Analysis
Technical Analysis
CVE-2025-12857 identifies a SQL injection vulnerability in the Responsive Hotel Site version 1.0 developed by code-projects. The vulnerability exists in the /admin/roombook.php file where the 'rid' parameter is improperly sanitized, allowing attackers to inject malicious SQL code. This injection flaw can be exploited remotely without user interaction but requires high privileges, indicating that an attacker must already have some level of authenticated access to the admin interface. The vulnerability impacts the confidentiality, integrity, and availability of the backend database, potentially allowing unauthorized data access, modification, or deletion. The CVSS 4.0 base score is 5.1, reflecting a medium severity due to the high privilege requirement and limited scope of impact. No known public exploits have been reported, but the vulnerability has been publicly disclosed, increasing the risk of exploitation. The lack of available patches means organizations must rely on mitigation strategies such as input validation, use of prepared statements, and restricting access to the admin panel. This vulnerability is particularly relevant to organizations in the hospitality sector using this specific software version, as exploitation could compromise booking data and customer information.
Potential Impact
For European organizations, especially those in the hospitality and tourism sectors using the Responsive Hotel Site software, this vulnerability poses a risk of unauthorized database access and manipulation. Successful exploitation could lead to exposure of sensitive customer data, booking details, and potentially financial information, undermining customer trust and violating data protection regulations such as GDPR. Data integrity could be compromised, leading to incorrect booking records or denial of service if the database is corrupted. The requirement for high privileges limits the attack surface to insiders or attackers who have already gained some level of access, but this does not eliminate the risk of insider threats or lateral movement attacks. The medium severity indicates a moderate risk that should be addressed promptly to avoid reputational damage and regulatory penalties.
Mitigation Recommendations
1. Immediately restrict access to the /admin/roombook.php interface to trusted IP addresses or VPN connections to reduce exposure. 2. Implement strict input validation and sanitization for the 'rid' parameter, ensuring only expected numeric or predefined values are accepted. 3. Refactor the backend code to use parameterized queries or prepared statements to prevent SQL injection. 4. Monitor logs for unusual activity related to the 'rid' parameter or admin interface access attempts. 5. Conduct a thorough security review of the entire application to identify and remediate similar injection flaws. 6. If possible, isolate the database with strict access controls and ensure regular backups are maintained. 7. Educate administrative users on secure credential management to prevent privilege escalation. 8. Engage with the vendor or community to obtain patches or updates addressing this vulnerability. 9. Consider deploying Web Application Firewalls (WAF) with custom rules to detect and block SQL injection attempts targeting this endpoint.
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2025-11-07T06:58:06.771Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 690e03b5623ee59e95cb7e36
Added to database: 11/7/2025, 2:35:33 PM
Last enriched: 11/7/2025, 2:35:48 PM
Last updated: 11/8/2025, 5:39:15 AM
Views: 5
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-7663: CWE-862 Missing Authorization in ovatheme Ovatheme Events Manager
MediumCVE-2025-12353: CWE-639 Authorization Bypass Through User-Controlled Key in getwpfunnels Easy WordPress Funnel Builder To Collect Leads And Increase Sales – WPFunnels
MediumCVE-2025-12193: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in kitae-park Mang Board WP
MediumCVE-2025-12177: CWE-321 Use of Hard-coded Cryptographic Key in codename065 Download Manager
MediumCVE-2025-12167: CWE-862 Missing Authorization in rnzo Contact Form 7 AWeber Extension
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.