Skip to main content

Campcodes Online Hotel Reservation System CVE-2025-8381

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
    Authenticate to application
  2. Delivery
    Access reservation form
  3. Exploit
    Inject SQL payload in room_id field
  4. Execution
    Execute arbitrary SQL query
  5. Impact
    Extract 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.

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

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, 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

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