Skip to main content

Hostel Management System CVE-2025-6293

| EUVDEUVD-2025-18709 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

CVSS 7.3 indicates high severity with balanced impact across confidentiality, integrity, and availability (C:L/I:L/A:L), but the AV:N/AC:L/PR:N/UI:N vector elevates practical risk significantly—this is a trivially exploitable, unauthenticated remote vulnerability with no complexity barriers. The critical classification combined with public disclosure and confirmed POC availability suggests EPSS exploitation probability is very high (likely >0.95). SSVC assessment: Exploitation=Active (disclosed POC, public discussion), Automatable=Yes (trivial SQL injection patterns are easily scripted), Technical Impact=Partial (confidentiality, integrity, and availability all affected—database compromise). This is NOT a high-CVSS-but-low-risk issue; it is a genuine, immediately exploitable threat. Threat actors likely have functional exploits given public disclosure. Organizations running Hostel Management System 1.0 should treat this as P0/critical priority.

Exploit ScenarioDerived

An attacker identifies a target institution running Hostel Management System 1.0 via banner grabbing or application fingerprinting. The attacker crafts an HTTP request to http://target.edu/contact_manager.php?student_roll_no=1' UNION SELECT user(),database(),version() -- , exploiting the lack of input sanitization to execute arbitrary SQL. The attacker gains access to database metadata, table structures, and potentially user credentials stored in the database. A follow-up request using student_roll_no=1'; DROP TABLE users; -- could delete critical data. Alternatively, a blind SQL injection technique (e.g., student_roll_no=1' AND SLEEP(5) -- ) confirms vulnerability and enables data exfiltration via time-based inference. Since no authentication is required and attack complexity is low, exploitation is within reach of script kiddies using publicly available SQLi tools (sqlmap) combined with the disclosed POC.

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-6293 is a critical SQL injection vulnerability in code-projects Hostel Management System v1.0 affecting the /contact_manager.php endpoint, where the student_roll_no parameter is inadequately sanitized, allowing unauthenticated remote attackers to execute arbitrary SQL queries and potentially exfiltrate, modify, or delete database records. Public exploit disclosure and active exploitation signals indicate this is a high-priority threat requiring immediate remediation.

RemediationAI

  1. IMMEDIATE: Disable or restrict access to /contact_manager.php via WAF/firewall rules until patching is possible. 2) Apply parameterized queries (prepared statements) to all database interactions in contact_manager.php—replace string concatenation with placeholders (e.g., PDO prepared statements or mysqli prepared statements in PHP). 3) Implement strict input validation on student_roll_no (whitelist alphanumeric characters, validate format against expected roll number pattern). 4) Use output encoding and ORM frameworks where applicable. 5) Monitor database access logs for SQL injection patterns (UNION, SELECT, OR statements in unexpected parameters). 6) Contact code-projects for patch availability; if no patch exists, consider migrating to an alternative, actively maintained hostel management system. 7) Audit all other endpoints in the application for similar injection vulnerabilities (contact_manager.php is likely not the only vulnerable point).

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

The vulnerability exists in a PHP-based web application (Hostel Management System) where user input via the student_roll_no parameter in /contact_manager.php is directly incorporated into SQL queries without proper parameterization or prepared statements. This represents a classic CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component) manifestation—specifically SQL injection. The root cause is the absence of input validation, output encoding, or prepared statement usage when constructing database queries. The attack vector is network-based with no authentication required (PR:N), low attack complexity (AC:L), and no user interaction (UI:N), indicating a straightforward injection point likely exploitable through HTTP GET/POST requests to /contact_manager.php with crafted student_roll_no payloads containing SQL syntax (e.g., ' OR '1'='1, UNION-based queries).

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 and classified as critical. This issue affects some unknown processing of the file /contact_manager.php. The manipulation of the argument student_roll_no leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

Executive ViewAI

Why It Matters

A SQL injection vulnerability in Hostel Management System 1.0 allows unauthenticated remote attackers to compromise database integrity and potentially access sensitive student records. Public exploit availability and active exploitation risk make this an immediate threat to any organization running this system.

Business Impact: High
Compensating Controls

Implement Web Application Firewall (WAF) rules to block requests containing SQL metacharacters in the student_roll_no parameter; restrict /contact_manager.php access via network segmentation or IP whitelisting; disable the contact_manager.php endpoint if functionality is not critical; monitor database query logs for anomalous activity; enforce input validation at the application level if source code modification is possible.

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