CVE-2025-12913: SQL Injection in code-projects Responsive Hotel Site
A flaw has been found in code-projects Responsive Hotel Site 1.0. This affects an unknown part of the file /admin/roomdel.php. Executing manipulation of the argument ID can lead to sql injection. It is possible to launch the attack remotely. The exploit has been published and may be used.
AI Analysis
Technical Summary
CVE-2025-12913 is a SQL injection vulnerability identified in the Responsive Hotel Site version 1.0 developed by code-projects. The vulnerability resides in the /admin/roomdel.php script, where the 'ID' parameter is improperly sanitized, allowing an attacker to inject malicious SQL code. This injection flaw can be exploited remotely without user interaction but requires high privileges, indicating that the attacker must have some level of administrative access or credentials to trigger the vulnerability. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P) reflects that the attack vector is network-based with low attack complexity and no user interaction, but high privileges are required. The impact on confidentiality, integrity, and availability is low to limited, as the vulnerability allows partial unauthorized database access or modification but does not lead to full system compromise or denial of service. No patches or fixes are currently published, and no known exploits are reported in the wild, though proof-of-concept code has been released, increasing the risk of future exploitation. The vulnerability affects only version 1.0 of the Responsive Hotel Site, a web application used for hotel management, which may be deployed by small to medium hospitality businesses. The lack of authentication bypass means attackers must already have administrative credentials or access to exploit the flaw, somewhat limiting the attack surface. However, once exploited, attackers could manipulate room data or other sensitive information stored in the backend database, potentially leading to data leakage or corruption. The vulnerability underscores the importance of secure coding practices, especially input validation and the use of parameterized queries to prevent SQL injection attacks.
Potential Impact
For European organizations, particularly those in the hospitality sector using the Responsive Hotel Site software, this vulnerability poses risks to the confidentiality and integrity of their booking and room management databases. Attackers with administrative access could manipulate or extract sensitive customer data, reservation details, or internal hotel information, potentially leading to privacy violations and reputational damage. Although the vulnerability does not allow unauthenticated exploitation, compromised credentials or insider threats could leverage this flaw to escalate damage. The impact on availability is limited, but data integrity issues could disrupt hotel operations and customer service. Given the importance of tourism and hospitality in countries like Spain, Italy, France, Germany, and the UK, exploitation could have broader economic implications. Moreover, regulatory frameworks such as GDPR impose strict data protection requirements, and breaches resulting from this vulnerability could lead to legal and financial penalties. The medium severity rating reflects the balance between the required privilege level and the potential damage, emphasizing the need for proactive mitigation in affected environments.
Mitigation Recommendations
To mitigate CVE-2025-12913, organizations should first monitor for and apply any official patches or updates released by code-projects for the Responsive Hotel Site. In the absence of patches, immediate steps include implementing strict input validation on the 'ID' parameter within /admin/roomdel.php, ensuring that only expected numeric values are accepted. Refactoring the code to use parameterized queries or prepared statements will prevent SQL injection by separating code from data. Access to the administrative interface should be tightly controlled using network segmentation, VPNs, or IP whitelisting to reduce exposure. Multi-factor authentication (MFA) should be enforced for all administrative accounts to mitigate risks from credential compromise. Regularly auditing and rotating administrative credentials can further reduce the attack surface. Additionally, deploying web application firewalls (WAFs) with SQL injection detection rules can provide an additional layer of defense. Logging and monitoring database queries and web server access logs for anomalous activity related to the 'ID' parameter can help detect exploitation attempts early. Finally, conducting security awareness training for administrators to recognize phishing or credential theft attempts can prevent attackers from gaining the high privileges required to exploit this vulnerability.
Affected Countries
Spain, Italy, France, Germany, United Kingdom, Portugal, Greece, Netherlands
CVE-2025-12913: SQL Injection in code-projects Responsive Hotel Site
Description
A flaw has been found in code-projects Responsive Hotel Site 1.0. This affects an unknown part of the file /admin/roomdel.php. Executing manipulation of the argument ID can lead to sql injection. It is possible to launch the attack remotely. The exploit has been published and may be used.
AI-Powered Analysis
Technical Analysis
CVE-2025-12913 is a SQL injection vulnerability identified in the Responsive Hotel Site version 1.0 developed by code-projects. The vulnerability resides in the /admin/roomdel.php script, where the 'ID' parameter is improperly sanitized, allowing an attacker to inject malicious SQL code. This injection flaw can be exploited remotely without user interaction but requires high privileges, indicating that the attacker must have some level of administrative access or credentials to trigger the vulnerability. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P) reflects that the attack vector is network-based with low attack complexity and no user interaction, but high privileges are required. The impact on confidentiality, integrity, and availability is low to limited, as the vulnerability allows partial unauthorized database access or modification but does not lead to full system compromise or denial of service. No patches or fixes are currently published, and no known exploits are reported in the wild, though proof-of-concept code has been released, increasing the risk of future exploitation. The vulnerability affects only version 1.0 of the Responsive Hotel Site, a web application used for hotel management, which may be deployed by small to medium hospitality businesses. The lack of authentication bypass means attackers must already have administrative credentials or access to exploit the flaw, somewhat limiting the attack surface. However, once exploited, attackers could manipulate room data or other sensitive information stored in the backend database, potentially leading to data leakage or corruption. The vulnerability underscores the importance of secure coding practices, especially input validation and the use of parameterized queries to prevent SQL injection attacks.
Potential Impact
For European organizations, particularly those in the hospitality sector using the Responsive Hotel Site software, this vulnerability poses risks to the confidentiality and integrity of their booking and room management databases. Attackers with administrative access could manipulate or extract sensitive customer data, reservation details, or internal hotel information, potentially leading to privacy violations and reputational damage. Although the vulnerability does not allow unauthenticated exploitation, compromised credentials or insider threats could leverage this flaw to escalate damage. The impact on availability is limited, but data integrity issues could disrupt hotel operations and customer service. Given the importance of tourism and hospitality in countries like Spain, Italy, France, Germany, and the UK, exploitation could have broader economic implications. Moreover, regulatory frameworks such as GDPR impose strict data protection requirements, and breaches resulting from this vulnerability could lead to legal and financial penalties. The medium severity rating reflects the balance between the required privilege level and the potential damage, emphasizing the need for proactive mitigation in affected environments.
Mitigation Recommendations
To mitigate CVE-2025-12913, organizations should first monitor for and apply any official patches or updates released by code-projects for the Responsive Hotel Site. In the absence of patches, immediate steps include implementing strict input validation on the 'ID' parameter within /admin/roomdel.php, ensuring that only expected numeric values are accepted. Refactoring the code to use parameterized queries or prepared statements will prevent SQL injection by separating code from data. Access to the administrative interface should be tightly controlled using network segmentation, VPNs, or IP whitelisting to reduce exposure. Multi-factor authentication (MFA) should be enforced for all administrative accounts to mitigate risks from credential compromise. Regularly auditing and rotating administrative credentials can further reduce the attack surface. Additionally, deploying web application firewalls (WAFs) with SQL injection detection rules can provide an additional layer of defense. Logging and monitoring database queries and web server access logs for anomalous activity related to the 'ID' parameter can help detect exploitation attempts early. Finally, conducting security awareness training for administrators to recognize phishing or credential theft attempts can prevent attackers from gaining the high privileges required to exploit this vulnerability.
Affected Countries
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-08T07:15:34.245Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 690fa36310a10cc633780a35
Added to database: 11/8/2025, 8:09:07 PM
Last enriched: 11/15/2025, 9:00:36 PM
Last updated: 12/24/2025, 12:08:07 AM
Views: 90
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-15048: Command Injection in Tenda WH450
MediumCVE-2025-68696: CWE-918: Server-Side Request Forgery (SSRF) in jnunemaker httparty
HighCVE-2025-68665: CWE-502: Deserialization of Untrusted Data in langchain-ai langchainjs
HighCVE-2025-15049: SQL Injection in code-projects Online Farm System
MediumCVE-2025-68664: CWE-502: Deserialization of Untrusted Data in langchain-ai langchain
CriticalActions
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.