Campcodes Online Hotel Reservation System
CVE-2025-8379
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCompromise admin credentials
-
DeliveryAuthenticate to admin panel
-
ExploitNavigate to /admin/edit_room.php
-
ExecutionUpload PHP file via photo parameter
-
PersistAccess uploaded file via HTTP
-
ImpactExecute arbitrary code as web server user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires valid high-privileged administrator account credentials to authenticate to the Campcodes admin interface and access /admin/edit_room.php. The vulnerability does NOT require any special configuration or non-default setup - all installations of version 1.0 are vulnerable if an admin account is compromised. The limiting factor is authentication: unauthenticated remote attackers cannot exploit this. The attack is contingent on prior account compromise or insider threat. No user interaction (UI:N) is required once authenticated. |
| Impact | This vulnerability presents a CRITICAL MISMATCH between CVSS scoring and real-world risk. The CVSS v4.0 score of 2.0 and EPSS of 0.11% (29th percentile) both indicate LOW exploitation probability and impact, contradicting the 'critical' severity label in the description. The key limiting factor is PR:H (high privilege required), meaning only administrators can exploit it - this dramatically reduces real-world risk compared to unauthenticated remote code execution. However, the publicly available POC and network-accessible endpoint (AV:N) mean that once an admin account is compromised through other means (credential theft, phishing, weak passwords), this becomes a lateral movement vector for privilege escalation or persistence. SSVC analysis suggests this is NOT an emergency patch: exploitation requires privileged insider threat or prior account compromise, automatable but not widespread. The contradiction between 'critical' label and CVSS 2.0 suggests either vendor miscalibration or that the description undersells non-obvious impacts (e.g., if uploaded files can be chained with other vulnerabilities). VERIFY: Does admin compromise in this application grant sufficient access to execute uploaded code, or are uploads sandboxed/restricted by the web server? |
| Exploit ScenarioDerived | An attacker with compromised administrative credentials (obtained via credential stuffing, phishing, or weak password) authenticates to the Campcodes admin panel, navigates to the room editing interface, and uploads a PHP web shell or malicious image file with embedded PHP code via the photo parameter in /admin/edit_room.php. The unvalidated upload handler accepts the file and stores it in a web-accessible directory. The attacker then directly accesses the uploaded shell via HTTP, achieving remote code execution on the server with web server privileges. Publicly available POC code demonstrates this attack path. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Unrestricted file upload in Campcodes Online Hotel Reservation System 1.0 allows high-privileged authenticated administrators to upload arbitrary files via the photo parameter in /admin/edit_room.php, potentially leading to remote code execution. The vulnerability requires administrative credentials to exploit and has publicly available proof-of-concept code, but carries low real-world risk due to the high privilege requirement (PR:H) and limited confidentiality/integrity impact in the CVSS v4.0 vector.
RemediationAI
Upgrade to a patched version of Campcodes Online Hotel Reservation System if available from the vendor at https://www.campcodes.com/. If an upgrade is unavailable, implement strict server-side file upload validation: whitelist allowed file extensions (e.g., .jpg, .png, .gif only), validate MIME types, store uploaded files outside the web root or in a non-executable directory, and rename uploaded files with random identifiers to prevent direct execution. Additionally, restrict the /admin/edit_room.php endpoint to specific IP addresses or require multi-factor authentication for admin login to reduce the attack surface. Configure the web server (Apache/Nginx) to prevent execution of scripts in the upload directory using .htaccess or web.config directives.
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 the administrative file upload handler at /admin/edit_room.php, where the photo parameter fails to properly validate or restrict uploaded file types. This is a classic unrestricted file upload flaw (CWE-284: Improper Access Control) that occurs in the context of a PHP-based hotel reservation system. The file upload mechanism does not implement proper validation such as file type checking, MIME type verification, or extension whitelisting. An attacker with administrative access could potentially upload PHP files or other executable content to achieve remote code execution, though the CVSS v4.0 vector's VC:L/VI:L/VA:L ratings suggest the vendor's assessment limits the scope of direct impact from this single vulnerability.
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:H/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 classified as critical has been found in Campcodes Online Hotel Reservation System 1.0. This affects an unknown part of the file /admin/edit_room.php. The manipulation of the argument photo leads to unrestricted upload. It is possible to initiate 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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
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