Campcodes Online Hotel Reservation System
CVE-2025-8381
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to application
-
DeliveryAccess reservation form
-
ExploitInject SQL payload in room_id field
-
ExecutionExecute arbitrary SQL query
-
ImpactExtract or modify database contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | Authentication required: attacker must possess valid credentials and be logged into the Campcodes system or have access to the /add_reserve.php endpoint through an authenticated session. The reservation module must be enabled and accessible. SQL injection succeeds only if the room_id parameter is processed directly in a SQL query without parameterization; if the application uses prepared statements or input sanitization, exploitation is prevented. Non-default configuration: this assumes the default, vulnerable application code is deployed; if the operator has already patched or applied WAF rules, exploitation fails. No evidence indicates the vulnerability affects multi-version deployments or upgrades; version 1.0 alone is confirmed vulnerable. |
| Impact | Multiple signals reveal disconnect between severity labels and actual exploitability. CVSS 4.0 score of 2.1 with PR:L (login required) and low impact ratings (VC:L/VI:L/VA:L) indicates a low-risk vulnerability, confirmed by EPSS 0.07% (20th percentile)-the lowest exploitation probability tier-suggesting minimal real-world targeting. Public exploit code exists (POC confirmed), yet EPSS remains extremely low, implying either the exploit is proof-of-concept only, requires application-specific knowledge, or targets a niche product with limited deployment. KEV status is not confirmed, and active exploitation in the wild is not reported. The initial 'critical' classification contradicts the 2.1 CVSS score and 20th-percentile EPSS; this appears to be a low-complexity SQL injection in an obscure application with limited attack surface due to authentication requirements. Priority should be moderate for operators of this system, but not urgent enterprise-wide. |
| Exploit ScenarioDerived | An authenticated user (e.g., staff member with reservation privileges) supplies a malicious SQL payload in the room_id field (e.g., room_id=1' UNION SELECT ...) when submitting the /add_reserve.php form. The unvalidated input is concatenated into a SQL query and executed by the backend, allowing the attacker to exfiltrate guest data, modify reservations, or enumerate database structure. Public POC code exists on GitHub (https://github.com/XiaoJiesecqwq/sql/issues/4), but exploitation requires valid application credentials. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
SQL injection in Campcodes Online Hotel Reservation System 1.0 via the room_id parameter in /add_reserve.php allows authenticated remote attackers to execute arbitrary SQL queries, but CVSS 2.1 and EPSS 0.07% (20th percentile) indicate minimal real-world risk despite public exploit availability. The vulnerability requires valid user authentication and produces only low confidentiality, integrity, and availability impact-inconsistent with the 'critical' classification in the initial report.
RemediationAI
Contact Campcodes for patched version availability; no specific patch version is published in vendor advisories reviewed. As immediate mitigation, implement input validation and parameterized queries (prepared statements) in /add_reserve.php for the room_id parameter to neutralize SQL injection; code review of all database queries in the reservation module is strongly recommended. If vendor patch is unavailable, restrict access to /add_reserve.php via Web Application Firewall (WAF) rules that block SQL metacharacters in the room_id parameter, or limit reservation functionality to administrators only by enforcing stricter role-based access controls. Upgrade to a patched version once released; monitor https://www.campcodes.com/ for security updates.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in PHP-based hotel reservation software where user input (room_id parameter) is processed in /add_reserve.php without proper parameterization or input validation before being embedded into SQL queries. This instantiates CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component-'Injection'), a class covering SQL injection attacks. The affected product is Campcodes Online Hotel Reservation System version 1.0, identified by CPE cpe:2.3:a:campcodes:online_hotel_reservation_system:1.0. The attack vector is network-based but requires prior authentication (CVSS PR:L), limiting the threat surface to existing users or accounts.
Know when 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:L/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
DescriptionCVE.org
A vulnerability, which was classified as critical, has been found in Campcodes Online Hotel Reservation System 1.0. This issue affects some unknown processing of the file /add_reserve.php. The manipulation of the argument room_id leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public 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.
Affected Products (CPE)CVE.org
CVE-2025-6355 is a critical SQL injection vulnerability in SourceCodester Online Hotel Reservation System version 1.0, s
SQL injection in the login endpoint of Campcodes Online Hotel Reservation System 1.0 enables unauthenticated remote atta
CVE-2025-6458 is a critical SQL injection vulnerability in code-projects Online Hotel Reservation System version 1.0, af
CVE-2025-6457 is a critical SQL injection vulnerability in code-projects Online Hotel Reservation System 1.0 affecting t
CVE-2025-6456 is a critical SQL injection vulnerability in code-projects Online Hotel Reservation System 1.0, specifical
CVE-2025-6455 is a SQL injection vulnerability in code-projects Online Hotel Reservation System version 1.0, specificall
A vulnerability was identified in SourceCodester Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9),
A vulnerability classified as critical was found in SourceCodester Online Hotel Reservation System 1.0. Rated medium sev
A vulnerability classified as critical has been found in SourceCodester Online Hotel Reservation System 1.0. Rated mediu
A flaw has been found in Reservation Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9), this vulnera
A vulnerability was detected in SourceCodester Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9), th
A vulnerability was identified in SourceCodester Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9),
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB