Skip to main content

Hostel Management System CVE-2025-6294

| EUVDEUVD-2025-28713 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-06-20 cna@vuldb.com
5.5
CVSS 4.0 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Impact

This vulnerability presents elevated real-world risk despite CVSS 7.3 being mid-range. Multiple risk signals converge: (1) Attack Vector=Network with AC=Low and PR=None indicates trivial remote exploitation requiring no privilege escalation or special conditions; (2) CWE-74/SQL injection is highly automatable—standard SQLi payloads (UNION-based, time-based blind, error-based) are likely effective; (3) public disclosure with available POC significantly lowers the barrier to exploitation by script kiddies and automated scanners; (4) the affected product (Hostel Management System) is likely to handle sensitive data (guest information, bookings, payment details), making the C:L/I:L/A:L impact understated—actual impact could include guest PII exfiltration and business logic compromise. The CVSS vector (C:L/I:L/A:L) appears conservative; SQL injection on a business application typically enables full database compromise. From an SSVC perspective: exploitation is active (POC public), the attack is automatable (standard SQL injection), and technical impact is high (database compromise). Recommendation: HIGH PRIORITY for immediate patching; organizations running Hostel Management System 1.0 should treat this as critical regardless of CVSS score.

Exploit ScenarioDerived

An attacker discovers a Hostel Management System 1.0 instance deployed at example-hostel.com. They craft a malicious GET request to /contact.php?hostel_name=1' UNION SELECT user(), database(), version()-- and receive database metadata in the response, confirming SQL injection. They escalate to hostel_name=1'; DROP TABLE guests;-- to delete guest records, or use UNION SELECT * FROM users to exfiltrate login credentials and guest PII. Because the endpoint is public (contact form), no authentication is required. The attacker can automate this with tools like sqlmap (sqlmap -u 'http://example-hostel.com/contact.php?hostel_name=1' --dbs) to fully enumerate and dump the database. With public POC available, attackers using off-the-shelf exploit code can compromise dozens of instances in hours. No user interaction is required—the attack succeeds via HTTP GET/POST alone.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – Mar 15, 2026

CVE-2025-6294 is a critical SQL injection vulnerability in code-projects Hostel Management System version 1.0, specifically in the /contact.php file's hostel_name parameter. An unauthenticated remote attacker can exploit this without user interaction to execute arbitrary SQL queries, potentially leading to unauthorized data access, modification, or deletion. The vulnerability has been publicly disclosed with exploit code available, and while CVSS 7.3 indicates moderate-to-high severity with confidentiality, integrity, and availability impact, the simplicity of exploitation (network-accessible, no privileges required, low complexity) makes this a practical threat requiring immediate patching.

Affected VersionsENISA

Hostel Management System 1.0

Affected Packages

euvd hostel_management_system no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability exists due to improper input validation and parameterization in the contact.php endpoint, falling under CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component, commonly manifesting as SQL injection). The affected component is code-projects' Hostel Management System, a web-based property management application written in PHP. The vulnerability stems from concatenating user-supplied input (hostel_name parameter) directly into SQL queries without prepared statements or parameterized queries. The attack vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:N, meaning the flaw is remotely exploitable over the network with no authentication, no special conditions, and no user interaction required—a classic SQL injection pattern in PHP applications that fail to use mysqli_prepare() or PDO prepared statements.

Know when Hostel Management 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 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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
None
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

Lifecycle Timeline

4
Severity Changed
Apr 29, 2026 - 01:11 NVD
HIGH MEDIUM
CVSS changed
Apr 29, 2026 - 01:11 NVD
7.3 (HIGH) 5.5 (MEDIUM)
PoC Detected
Oct 23, 2025 - 20:06 vuln.today
Public exploit code
CVE Published
Jun 20, 2025 - 01:15 nvd
HIGH 7.3

DescriptionCVE.org

A vulnerability was found in code-projects Hostel Management System 1.0. It has been classified as critical. Affected is an unknown function of the file /contact.php. The manipulation of the argument hostel_name leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

Executive ViewAI

Why It Matters

A critical SQL injection vulnerability in Hostel Management System 1.0 allows remote attackers to execute arbitrary database commands through the /contact.php file. Organizations using this system face immediate risk of data breach, unauthorized access, and potential operational disruption, especially if customer or booking data is exposed.

Recommended Action

Within 24 hours: Isolate affected systems from production networks or disable the /contact.php contact feature if non-critical; immediately notify all users of the system about potential exposure. Within 7 days: Implement Web Application Firewall (WAF) rules to block SQL injection patterns targeting the hostel_name parameter; conduct database access logs review for signs of exploitation; assess data exposure scope. Within 30 days: Evaluate migration to patched version or alternative software solution; if patch becomes available, prioritize deployment; perform full security audit of the application and database.

Business Impact: High
Compensating Controls

Implement WAF rules to filter SQL metacharacters in hostel_name parameter; disable /contact.php endpoint if not critical to operations; restrict database user permissions to read-only for web application; enable SQL query logging and real-time alerting for suspicious database activity; place application behind reverse proxy with input validation; conduct immediate vulnerability scanning to identify if systems have been compromised.

Threat Intelligence Overview

EPSS Score
0.1%
Top 82% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
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.

CVE-2020-5510 CRITICAL POC
9.8 Jan 08

PHPGurukul Hostel Management System v2.0 allows SQL injection via the id parameter in the full-profile.php file. Rated c

CVE-2025-45953 CRITICAL POC
9.1 Apr 28

A vulnerability was found in PHPGurukul Hostel Management System 2.1 in the /hostel/change-password.php file of the user

CVE-2021-43137 HIGH POC
8.8 Dec 01

Cross-Site Scripting (XSS) and Cross-Site Request Forgery (CSRF) vulnerability exits in hostel management system 2.1 via

CVE-2025-63611 HIGH POC
8.7 Jan 08

Cross-Site Scripting in phpgurukul Hostel Management System v2.1 user-provided complaint fields (Explain the Complaint)

CVE-2024-2481 MEDIUM POC
6.5 Mar 15

A vulnerability, which was classified as critical, was found in Surya2Developer Hostel Management System 1.0. Rated medi

CVE-2023-36939 MEDIUM POC
6.1 Jul 10

Cross-Site Scripting (XSS) vulnerability in Hostel Management System v2.1 allows an attacker to execute arbitrary code v

CVE-2025-6159 MEDIUM POC
5.5 Jun 17

Critical SQL injection vulnerability in code-projects Hostel Management System version 1.0, specifically in the /allocat

CVE-2025-6155 MEDIUM POC
5.5 Jun 17

Critical SQL injection vulnerability in PHPGurukul Hostel Management System 1.0 affecting the login functionality (/incl

CVE-2025-6154 MEDIUM POC
5.5 Jun 17

A SQL injection vulnerability in A vulnerability (CVSS 7.3). Risk factors: public PoC available.

CVE-2025-6153 MEDIUM POC
5.5 Jun 17

A SQL injection vulnerability in A vulnerability (CVSS 7.3). Risk factors: public PoC available.

CVE-2025-6296 MEDIUM POC
5.5 Jun 20

CVE-2025-6296 is a critical SQL injection vulnerability in code-projects Hostel Management System version 1.0, specifica

CVE-2025-6295 MEDIUM POC
5.5 Jun 20

A SQL injection vulnerability in A vulnerability (CVSS 7.3). Risk factors: public PoC available.

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