Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Impact | The CVSS 3.1 score of 7.3 (High severity) reflects moderate real-world risk: AV:N (network-exploitable), AC:L (low attack complexity), and PR:N (no privileges required) indicate ease of exploitation. However, CWE-74 is broad and the actual impact depends on database permissions and data sensitivity. The CVSS impact ratings (C:L/I:L/A:L—all Low) suggest the vulnerability provides limited confidentiality, integrity, and availability impact under the CVSS model, contradicting the 'critical' classification in the description. The public disclosure with exploit availability (POC confirmed in description) significantly elevates real-world risk despite moderate CVSS scoring. Without EPSS or KEV status data provided, we assess exploitation as highly probable given: (1) network accessibility, (2) zero authentication requirements, (3) straightforward SQL injection patterns, (4) public POC existence. This is a high-priority vulnerability for affected systems due to attack ease and public exploit availability, though the actual impact may be narrower than 'critical' suggests if database permissions are restrictive. |
| Exploit ScenarioDerived | An attacker discovers the Simple Online Hotel Reservation System 1.0 instance via web reconnaissance. They craft a malicious HTTP request to /admin/edit_query_account.php with a SQL injection payload in the 'Name' parameter, such as: Name=' OR '1'='1' UNION SELECT user,password FROM admin_users WHERE '1'='1. Since PR:N (no privilege requirement), the request bypasses authentication or targets an unauthenticated endpoint. The backend PHP code concatenates this unsanitized input into a SQL query (e.g., SELECT * FROM accounts WHERE name = ' OR '1'='1' ... ), causing the injected SQL to execute. The attacker exfiltrates database contents (guest credentials, booking records, payment data) or modifies admin accounts. Public POC existence means this attack is likely already automated and deployed by threat actors scanning for vulnerable instances. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 15, 2026
CVE-2025-6418 is a critical SQL injection vulnerability in Simple Online Hotel Reservation System 1.0 affecting the /admin/edit_query_account.php endpoint, where the 'Name' parameter is improperly sanitized, allowing remote attackers to execute arbitrary SQL queries without authentication. The vulnerability has been publicly disclosed with exploit code availability, making it a high-priority threat for organizations running this system in production; attackers can manipulate database queries to extract sensitive data, modify records, or potentially escalate privileges.
RemediationAI
Immediate actions: (1) Implement input validation on the 'Name' parameter in /admin/edit_query_account.php using allowlist-based validation (alphanumeric + safe characters only); (2) Replace all dynamic SQL query construction with parameterized prepared statements (parameterized queries using placeholders); (3) Apply the principle of least privilege to the database user account used by the PHP application, restricting to SELECT/UPDATE on necessary tables only; (4) Implement Web Application Firewall (WAF) rules to detect and block SQL injection payloads (e.g., detecting SQL keywords like UNION, SELECT, OR in parameter values); (5) Monitor database query logs for suspicious patterns. Long-term: contact the vendor (code-projects) for patch availability or migrate to a maintained hotel reservation system. No official patch version is referenced; if vendor does not provide updates, consider forking and patching internally or replacement.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is classified as CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component, also known as 'Injection') manifesting as SQL injection. The affected component is a PHP application (Simple Online Hotel Reservation System v1.0) where user-supplied input in the 'Name' parameter of /admin/edit_query_account.php is concatenated directly into SQL queries without proper parameterized prepared statements or input validation. This is a classic first-order SQL injection vulnerability where attacker-controlled input reaches a SQL query construction function without sufficient neutralization. The admin-facing endpoint suggests this may bypass basic authentication checks or target authenticated admin users, though the CVSS vector (PR:N) indicates no privilege requirement, suggesting the endpoint may be accessible without authentication or the authentication mechanism is separately bypassable.
Know when Simple Online Hotel Reservation System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability was found in code-projects Simple Online Hotel Reservation System 1.0 and classified as critical. Affected by this issue is some unknown functionality of the file /admin/edit_query_account.php. The manipulation of the argument Name leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.
Executive ViewAI
A publicly disclosed SQL injection vulnerability in Simple Online Hotel Reservation System 1.0 allows remote attackers to compromise the admin panel's account management functionality without authentication. Organizations using this system face immediate risk of unauthorized data access, account manipulation, and potential complete system compromise, with no vendor patch currently available.
Deploy WAF rules to detect and block SQL injection attempts in the Name parameter; implement input validation and sanitization; restrict admin panel access to specific IP ranges or VPN; disable the vulnerable edit_query_account.php functionality if not critical; enforce strong authentication and multi-factor authentication for admin accounts; conduct database activity monitoring; consider network segmentation to isolate the application from sensitive systems.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
A vulnerability was found in itsourcecode Simple Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9),
A vulnerability, which was classified as critical, has been found in itsourcecode Simple Online Hotel Reservation System
A vulnerability classified as critical was found in itsourcecode Simple Online Hotel Reservation System 1.0. Rated mediu
A vulnerability, which was classified as critical, was found in code-projects Simple Online Hotel Reservation System 1.0
A critical SQL injection vulnerability exists in code-projects Simple Online Hotel Reservation System version 1.0, speci
A critical SQL injection vulnerability exists in code-projects Simple Online Hotel Reservation System version 1.0, speci
CVE-2025-6419 is a critical SQL injection vulnerability in code-projects Simple Online Hotel Reservation System 1.0 affe
A vulnerability was detected in code-projects Simple Online Hotel Reservation System 1.0.php. Rated medium severity (CVS
CVE-2025-6578 is a critical SQL injection vulnerability in Simple Online Hotel Reservation System version 1.0 affecting
CVE-2025-6451 is a critical SQL injection vulnerability in code-projects Simple Online Hotel Reservation System version
CVE-2025-6450 is a critical SQL injection vulnerability in code-projects Simple Online Hotel Reservation System version
CVE-2025-6449 is a critical SQL injection vulnerability in Simple Online Hotel Reservation System v1.0 affecting the /ad
EUVD-2025-18822
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB