Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-12857: SQL Injection in code-projects Responsive Hotel Site

0
Medium
VulnerabilityCVE-2025-12857cvecve-2025-12857
Published: Fri Nov 07 2025 (11/07/2025, 14:02:06 UTC)
Source: CVE Database V5
Vendor/Project: code-projects
Product: 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

AILast updated: 11/07/2025, 14:35:48 UTC

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.

Need more detailed analysis?Get Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

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