Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach add_reserve.php over network
-
ExploitInject SQL via room_id parameter
-
ExecutionBackend concatenates untrusted input into query
-
ImpactExtract or modify reservation database records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions beyond reachability of the application - the CVSS vector is AV:N/AC:L/AT:N/PR:N/UI:N, indicating remote unauthenticated exploitation against a running Basic Hotel Online Reservation System 1.0 instance by sending a crafted room_id value to add_reserve.php. The main limiting factors are deployment scope rather than access barriers: the affected software is a niche SourceCodester PHP application that must be internet- or network-reachable, and the impact is bounded to Low (VC:L/VI:L/VA:L), implying partial rather than full database compromise. No authentication, user interaction, or non-default configuration is required according to the supplied vector. |
| Impact | The signals point to a genuine but moderate-priority issue rather than a top-tier emergency. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity, unauthenticated (PR:N) SQL injection, which is easy to reach, but the impact metrics are only Low across confidentiality, integrity and availability (VC:L/VI:L/VA:L) with no subsequent-system impact (SC:N/SI:N/SA:N), yielding a 6.9 Medium rather than a Critical. The E:P (Proof-of-Concept) exploit maturity aligns with the input stating a public PoC reference exists that is not verified as working exploit code - so weaponized, reliable exploitation is not confirmed. This is NOT in CISA KEV and no EPSS score was provided, so there is no evidence of active or widespread exploitation; the vuln.today Decision label is 'this_month', consistent with scheduled remediation rather than act_now/emergency urgency. The product is a small SourceCodester PHP application with little to no enterprise footprint, which further limits real-world exposure. Net: a legitimate unauthenticated SQLi worth fixing on a normal patch cycle, not a drop-everything incident. |
| Exploit ScenarioDerived | A remote, unauthenticated attacker sends an HTTP request to add_reserve.php with a manipulated room_id parameter that is concatenated into a backend SQL query, injecting attacker-controlled SQL. Depending on the query context this can read or alter reservation database contents. A public PoC reference exists (GitHub issue) but it is not verified as working exploit code, so reliability of a turnkey exploit is unconfirmed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
SQL injection in SourceCodester Basic Hotel Reservation System 1.0 allows remote unauthenticated attackers to influence SQL queries through the room_id argument of add_reserve.php, yielding low confidentiality, integrity, and availability impact. A public PoC reference exists but is not verified as working exploit code, and no CISA KEV active exploitation is reported. The exposure is limited mainly by the niche PHP application's deployment reachability, making this a moderate-priority, this_month remediation item.
RemediationAI
No vendor-released patch or fixed version is identified in the available data; the primary action is to apply a code fix that replaces dynamic SQL construction in add_reserve.php with parameterized queries and validates room_id as an integer before use. Until that fix is available, restrict access to add_reserve.php to trusted networks or authenticated users, and use a WAF SQL-injection rule set as a temporary compensating control; each control narrows exposure but does not remove the underlying flaw, and WAF rules can produce false positives or be bypassed. Track the VulDB advisory (https://vuldb.com/vuln/444286) and vendor site (https://www.sourcecodester.com/) for a patch. The public PoC reference at https://github.com/OnlyCMJB/cve/issues/5 is not verified as working exploit code.
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 affected software is a PHP-based reservation application; the CPE cpe:2.3:a:sourcecodester:basic_hotel_online_reservation_system:*:*:*:*:*:*:*:* uses a wildcard version, while the description identifies version 1.0. CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) is the root-cause class: manipulation of the room_id argument in add_reserve.php results in SQL injection. The supplied CVSS:4.0 vector is AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P, and our assessment maps to CVSS:3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L; this confirms remote, unauthenticated reachability with low bounded impact rather than full database takeover. The trigger is specifically the crafted room_id value sent to add_reserve.php; no other mechanism is described in the available sources.
Know when Basic Hotel Online 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
Remote unauthenticated SQL injection via a single HTTP parameter gives AV:N/AC:L/PR:N/UI:N; partial database read/write without a scope change yields C:L/I:L/A:L.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was found in SourceCodester Basic Hotel Online Reservation System 1.0. The affected element is an unknown function of the file add_reserve.php. Performing a manipulation of the argument room_id results in sql injection. Remote exploitation of the attack is possible. The exploit has been made public and could be used.
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.
EUVD-2026-136849
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB