Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed /admin/tour_reserves.php endpoint
-
DeliverySend HTTP request with crafted tour parameter payload
-
ExploitUnsanitized input reaches SQL query
-
ExecutionExecute UNION-based or blind SQL injection
-
ImpactExtract database contents (credentials, PII, reservation data)
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 | The vulnerability requires the attacker to reach /admin/tour_reserves.php over the network and supply a manipulated |
| Impact | The CVSS 4.0 base score of 6.9 (Medium) with vector AV:N/AC:L/AT:N/PR:N/UI:N reflects a low-complexity, remotely triggerable flaw requiring no user interaction, which on paper is concerning. However, several signals moderate the real-world priority. The impact metrics are scored conservatively at VC:L/VI:L/VA:L, which may understate true SQL injection impact (full database read/write is often achievable). The E:P modifier confirms a published exploit exists, elevating practical risk above the base score alone. The product is not listed in CISA KEV, suggesting no confirmed mass exploitation. Critically, the affected endpoint is /admin/tour_reserves.php - a path that typically sits behind authentication - yet PR:N is assigned; this inconsistency means authentication requirements are not definitively confirmed and should be independently verified before treating this as a fully unauthenticated attack surface. The deployment footprint of this code-projects demo application is small, limiting aggregate exposure. |
| Exploit ScenarioDerived | An attacker sends a crafted HTTP request to /admin/tour_reserves.php appending a SQL injection payload in the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 05, 2026
SQL injection in code-projects Hotel and Tourism Reservation 1.0 allows remote attackers to manipulate the unsanitized tour parameter in /admin/tour_reserves.php, enabling arbitrary SQL query execution against the backend database. The CVSS 4.0 vector assigns PR:N (no privileges required), though the admin-panel endpoint raises questions about whether authentication is genuinely absent or misconfigured - a discrepancy worth verifying in deployments. A public proof-of-concept exploit has been published via GitHub, raising the practical risk despite the medium CVSS 4.0 score of 6.9 and absence of CISA KEV listing.
RemediationAI
No vendor-released patch has been identified at time of analysis. The primary remediation is to replace all raw SQL string concatenation in /admin/tour_reserves.php with PHP PDO or MySQLi prepared statements and parameterized queries, which eliminates the injection vector at its root. As an immediate compensating control, restrict access to the /admin/ directory via server-level authentication (HTTP Basic Auth or equivalent) and IP allowlisting to trusted administrative networks, reducing exposure even if the PHP code remains unpatched - note that this does not fix the underlying flaw but limits who can reach it. Input validation using PHP's filter_input with strict allowlists for the tour parameter provides a secondary defense layer. Deploying a web application firewall (WAF) with SQL injection signatures can detect and block exploit attempts but introduces false-positive risk for legitimate queries. Given this is an educational/demo project, production deployment is strongly discouraged until the codebase undergoes a full security audit. The published exploit advisory is at https://raw.githubusercontent.com/anubhavv106/Security-Advisories/refs/heads/main/Hotel-Tourism-Reservation-tour_reserves.php-SQLi.md.
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 application is a PHP-based hotel and tourism reservation system distributed by code-projects.org, identified by CPE cpe:2.3:a:code-projects:hotel_and_tourism_reservation:*:*:*:*:*:*:*:*. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), where user-supplied input in the tour GET or POST parameter is concatenated directly into a SQL query within /admin/tour_reserves.php without parameterized queries or input sanitization. This is a classic PHP-era pattern of building SQL strings from raw request data, common in demo and educational PHP projects. Because no output encoding or prepared statement is used, an attacker can append SQL logic operators, UNION clauses, or stacked queries depending on the database driver and configuration.
Know when Hotel And Tourism Reservation 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
Admin endpoint implies at minimum low-privilege access (PR:L); SQL injection yields full DB read/write so C:H/I:H; availability impact limited to data corruption rather than full service disruption.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.org
A flaw has been found in code-projects Hotel and Tourism Reservation 1.0. This affects an unknown function of the file /admin/tour_reserves.php of the component Tour Reservations Page. This manipulation of the argument tour causes sql injection. The attack can be initiated remotely. The exploit has been published and may 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.
SQL injection in code-projects Hotel and Tourism Reservation 1.0 allows remote attackers to manipulate the backend datab
SQL injection in code-projects Hotel and Tourism Reservation 1.0 exposes the reservation database to remote manipulation
SQL injection in code-projects Hotel and Tourism Reservation 1.0 exposes the /admin/reservations.php endpoint to databas
EUVD-2026-41773
GHSA-jc28-2w56-9m3w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB