Skip to main content

Campcodes Online Hotel Reservation System CVE-2025-8382

LOW
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-07-31 cna@vuldb.com
2.1
CVSS 4.0 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain admin credentials
  2. Delivery
    Access /admin/edit_room.php
  3. Exploit
    Inject SQL into room_id parameter
  4. Execution
    Query database via UNION-based SQLi
  5. Impact
    Extract 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.

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

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

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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
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, 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

EPSS Score
0.1%
Top 80% 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

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

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