Campcodes Online Hotel Reservation System
CVE-2025-8382
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials
-
DeliveryAccess /admin/edit_room.php
-
ExploitInject SQL into room_id parameter
-
ExecutionQuery database via UNION-based SQLi
-
ImpactExtract sensitive data or modify records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | Exploitation requires valid admin-level authentication (PR:L) to access the /admin/edit_room.php endpoint. The vulnerability is triggered by direct manipulation of the room_id GET or POST parameter; the application must accept this parameter unsanitized in a SQL query. Default configurations of Campcodes 1.0 are vulnerable if admin accounts exist and are not adequately secured. No special network conditions, unusual application settings, or user interaction are required once admin access is obtained. The primary limiting factor is the authentication requirement-the attack cannot be executed against default installations by unauthenticated external attackers. |
| Impact | This vulnerability presents a LOW real-world priority despite public exploit availability. CVSS 4.0 vector indicates PR:L (requires authentication), limiting the attack surface to compromised or malicious admin accounts. EPSS score of 0.07% (20th percentile) strongly indicates minimal exploitation likelihood in the wild, contradicting the 'critical' severity label in the description-a classification inconsistency. The low confidentiality, integrity, and availability impact (L/L/L) combined with no scope change (SC:N) reflects that SQL injection here is constrained. However, the public exploit (E:P) means any attacker with admin access can trivially execute the attack. Real risk depends on admin credential hygiene: if admin accounts are well-protected, exploitation is unlikely; if admin credentials are commonly compromised or shared, this becomes medium-risk. The EPSS/CVSS mismatch suggests this is a valid vulnerability but not actively weaponized or broadly targeted. |
| Exploit ScenarioDerived | An attacker with valid admin credentials (obtained via phishing, credential reuse, or insider threat) navigates to /admin/edit_room.php and injects a SQL payload such as room_id=1' UNION SELECT user_name, password FROM admin_users-- into the room_id parameter. The unsanitized input is concatenated into the SQL query, allowing the attacker to extract sensitive data (admin usernames, hashed passwords) or modify room records without triggering application-level authorization checks. Public exploit code on GitHub demonstrates this attack technique. |
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 allows authenticated remote attackers to manipulate the room_id parameter in /admin/edit_room.php, enabling data exfiltration and modification with low impact. The vulnerability requires valid login credentials (PR:L) and carries a CVSS 2.1 score reflecting limited scope; however, the public exploit disclosure and EPSS percentile 20 suggest limited real-world exploitation interest despite active availability of proof-of-concept code.
RemediationAI
Update Campcodes Online Hotel Reservation System to a patched version released by the vendor; consult https://www.campcodes.com/ for availability and upgrade instructions, as no specific patch version was identified from vendor advisory data. If an immediate patched version is unavailable, implement these compensating controls: (1) restrict direct access to /admin/edit_room.php via web application firewall (WAF) rules, blocking requests containing SQL metacharacters (semicolon, single quote, double dash) in the room_id parameter-note this may block legitimate room IDs if they contain such characters; (2) enforce strong, unique admin credentials and implement account lockout after failed login attempts to reduce the risk of credential compromise; (3) apply input validation at the application level to ensure room_id contains only expected numeric or alphanumeric values before query execution; (4) enable SQL query logging and monitor for suspicious room_id patterns (e.g., UNION, SELECT). Contact the vendor at cna@vuldb.com or https://www.campcodes.com/ for official patch status and timeline.
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
Campcodes Online Hotel Reservation System is a PHP-based hotel management application. The vulnerability resides in the /admin/edit_room.php endpoint, which fails to properly sanitize the room_id parameter before incorporating it into SQL queries, violating CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component). The SQL injection occurs in an admin-facing function, requiring prior authentication. The attack vector is network-based (AV:N) with low complexity (AC:L), meaning the injection payload requires no special conditions beyond valid admin credentials.
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, was found in Campcodes Online Hotel Reservation System 1.0. Affected is an unknown function of the file /admin/edit_room.php. The manipulation of the argument room_id leads to sql injection. It is possible to launch the attack 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