Skip to main content

Campcodes Online Hotel Reservation System CVE-2025-8379

LOW
Improper Access Control (CWE-284)
2025-07-31 cna@vuldb.com
2.0
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Compromise admin credentials
  2. Delivery
    Authenticate to admin panel
  3. Exploit
    Navigate to /admin/edit_room.php
  4. Execution
    Upload PHP file via photo parameter
  5. Persist
    Access uploaded file via HTTP
  6. Impact
    Execute 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

NVD PRIMARY 2.0 LOW
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.1%
Top 71% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:campcodes:online_hotel_reservation_system:1.0:*:*:*:*:*:*:*
CVE-2025-6355 MEDIUM POC
5.5 Jun 20

CVE-2025-6355 is a critical SQL injection vulnerability in SourceCodester Online Hotel Reservation System version 1.0, s

CVE-2025-8378 MEDIUM POC
5.5 Jul 31

SQL injection in the login endpoint of Campcodes Online Hotel Reservation System 1.0 enables unauthenticated remote atta

CVE-2025-6458 MEDIUM POC
5.5 Jun 22

CVE-2025-6458 is a critical SQL injection vulnerability in code-projects Online Hotel Reservation System version 1.0, af

CVE-2025-6457 MEDIUM POC
5.5 Jun 22

CVE-2025-6457 is a critical SQL injection vulnerability in code-projects Online Hotel Reservation System 1.0 affecting t

CVE-2025-6456 MEDIUM POC
5.5 Jun 22

CVE-2025-6456 is a critical SQL injection vulnerability in code-projects Online Hotel Reservation System 1.0, specifical

CVE-2025-6455 MEDIUM POC
5.5 Jun 22

CVE-2025-6455 is a SQL injection vulnerability in code-projects Online Hotel Reservation System version 1.0, specificall

CVE-2025-9789 MEDIUM POC
5.5 Sep 01

A vulnerability was identified in SourceCodester Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9),

CVE-2025-8470 MEDIUM POC
5.5 Aug 02

A vulnerability classified as critical was found in SourceCodester Online Hotel Reservation System 1.0. Rated medium sev

CVE-2025-8469 MEDIUM POC
5.5 Aug 02

A vulnerability classified as critical has been found in SourceCodester Online Hotel Reservation System 1.0. Rated mediu

CVE-2025-10843 MEDIUM POC
5.5 Sep 23

A flaw has been found in Reservation Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9), this vulnera

CVE-2025-11055 MEDIUM POC
5.5 Sep 27

A vulnerability was detected in SourceCodester Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9), th

CVE-2025-10789 MEDIUM POC
5.5 Sep 22

A vulnerability was identified in SourceCodester Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9),

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy