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 Network-accessible attack vector (AV:N), Low attack complexity (AC:L), requiring No privileges (PR:N) and No user interaction (UI:N). While CVSS severity is elevated, the real-world risk is substantial when cross-referenced with additional signals: (1) Public exploit disclosure means attackers possess working POC code; (2) Attack vector is unauthenticated and remote, eliminating barriers to exploitation; (3) SQL injection at authentication layer provides maximum technical impact—complete authentication bypass and database compromise; (4) Login endpoints are typically scanned continuously by automated tools, making this highly automatable; (5) Hostel management systems often contain PII (student names, contact info, payment data). Despite a moderate CVSS score not reaching 9.0+, the combination of public POC, zero authentication barriers, critical business logic impact, and high automation potential elevates this to critical priority. SSVC framework would classify as Exploitation: active/PoC available, Automatable: yes, Technical Impact: total. This is a legitimate high-priority threat, not a false alarm. |
| Exploit ScenarioDerived | An attacker performs reconnaissance on a hostel's web application and identifies the login page powered by PHPGurukul Hostel Management System 1.0. They craft a simple SQL injection payload in the Username field, such as: ' OR '1'='1' -- or ' UNION SELECT username, password FROM users -- . Due to lack of input sanitization, this payload is concatenated directly into the SQL query, e.g., SELECT * FROM users WHERE username='' OR '1'='1' -- '. The query returns all user records regardless of password, bypassing authentication. The attacker gains access to the admin panel without credentials, then extracts the entire student/staff database containing personal information, payment records, and room assignments. They may also modify records, inject backdoors, or launch further attacks on the network. Given the public POC availability, this attack requires minimal sophistication—script kiddies with basic SQL knowledge can exploit this at scale across multiple vulnerable instances. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 14, 2026
Critical SQL injection vulnerability in PHPGurukul Hostel Management System 1.0 affecting the login functionality (/includes/login-hm.inc.php). An unauthenticated attacker can manipulate the Username parameter to execute arbitrary SQL queries remotely, potentially compromising data confidentiality, integrity, and availability. Public exploit disclosure and active exploitation potential significantly elevate real-world risk despite a moderate CVSS score of 7.3.
RemediationAI
Immediate actions: (1) Apply input validation to the Username parameter—use allowlist-based validation (alphanumeric + specific symbols only) and enforce length limits; (2) Implement parameterized queries or prepared statements in /includes/login-hm.inc.php to separate SQL logic from data; (3) Apply Web Application Firewall (WAF) rules to detect and block SQL injection patterns (e.g., quotes, UNION, SELECT keywords in login parameters); (4) Consider upgrading to a newer version of PHPGurukul if available, or migrate to maintained hostel management solutions; (5) Conduct a security audit of all authentication-related code in the application. No official vendor patch is currently available; coordinate with PHPGurukul maintainers for a security update. Short-term workaround: disable the application or restrict access via network controls until patched.
Affected VersionsENISA
Affected Packages
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 PHPGurukul Hostel Management System 1.0, a PHP-based web application for hostel administration. The root cause is classified under CWE-74 (Improper Neutralization of Special Elements in Output), specifically manifesting as SQL injection in the login module. The /includes/login-hm.inc.php file fails to properly sanitize or parameterize the Username input parameter before incorporating it into SQL queries. This allows attackers to inject malicious SQL syntax (e.g., ' OR '1'='1) to bypass authentication, extract sensitive data, or modify database contents. The vulnerability affects the authentication layer, a critical trust boundary in any web application.
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
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
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability was found in PHPGurukul Hostel Management System 1.0. It has been classified as critical. Affected is an unknown function of the file /includes/login-hm.inc.php. The manipulation of the argument Username 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
A critical SQL injection vulnerability in PHPGurukul Hostel Management System 1.0 allows attackers to remotely compromise user authentication and access sensitive hostel data without a vendor patch currently available. This poses immediate risk to any organization using this system, as public exploits are already circulating and the attack requires minimal sophistication.
Implement Web Application Firewall (WAF) rules to block SQL injection payloads targeting the login parameter; restrict network access to the login interface via firewall rules or IP whitelisting; disable the affected login functionality and enforce single sign-on (SSO) through a separate, hardened authentication service if available; apply input validation and parameterized query enforcement at the application level if source code modifications are permitted; monitor login endpoint for suspicious SQL syntax patterns; consider running the application in a containerized environment with strict resource limits to minimize blast radius if compromised.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Hostel Management System
View allPHPGurukul Hostel Management System v2.0 allows SQL injection via the id parameter in the full-profile.php file. Rated c
A vulnerability was found in PHPGurukul Hostel Management System 2.1 in the /hostel/change-password.php file of the user
Cross-Site Scripting (XSS) and Cross-Site Request Forgery (CSRF) vulnerability exits in hostel management system 2.1 via
Cross-Site Scripting in phpgurukul Hostel Management System v2.1 user-provided complaint fields (Explain the Complaint)
A vulnerability, which was classified as critical, was found in Surya2Developer Hostel Management System 1.0. Rated medi
Cross-Site Scripting (XSS) vulnerability in Hostel Management System v2.1 allows an attacker to execute arbitrary code v
Critical SQL injection vulnerability in code-projects Hostel Management System version 1.0, specifically in the /allocat
A SQL injection vulnerability in A vulnerability (CVSS 7.3). Risk factors: public PoC available.
A SQL injection vulnerability in A vulnerability (CVSS 7.3). Risk factors: public PoC available.
CVE-2025-6296 is a critical SQL injection vulnerability in code-projects Hostel Management System version 1.0, specifica
A SQL injection vulnerability in A vulnerability (CVSS 7.3). Risk factors: public PoC available.
CVE-2025-6294 is a critical SQL injection vulnerability in code-projects Hostel Management System version 1.0, specifica
EUVD-2025-18443
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB