CVE-2025-10796
7.3code-projects · Hostel Management System
A SQL injection vulnerability in the Hostel Management System 1.0 allows remote, unauthenticated attackers to manipulate database queries via the email parameter in admin/login.php.
Executive summary
An unauthenticated SQL injection vulnerability in code-projects Hostel Management System 1.0 poses a significant risk of unauthorized database access and potential data compromise.
Vulnerability
This is a SQL injection flaw (CWE-89) located in the /justines/admin/login.php file. The vulnerability allows an unauthenticated remote attacker to inject malicious SQL commands via the email parameter.
Business impact
Successful exploitation of this vulnerability can lead to unauthorized access to the application database, potentially resulting in the compromise of sensitive user information or administrative credentials. With a CVSS score of 7.3, this flaw is considered High severity due to the ease of remote, unauthenticated exploitation, which could lead to a full breach of the management system.
Remediation
Immediate Action: As no official vendor patch is currently confirmed, administrators should restrict access to the affected login interface using network-level controls or by disabling the service until a secure update is released.
Proactive Monitoring: Security teams should monitor web server logs for suspicious activity targeting the /justines/admin/login.php endpoint, specifically looking for common SQL injection payloads within the email parameter.
Compensating Controls: Deploy a Web Application Firewall (WAF) with rules configured to detect and block SQL injection patterns to provide a virtual patch layer against incoming exploitation attempts.
Exploitation status
Public Exploit Available: Yes, a public proof-of-concept exists as documented in the GitHub issue referenced in the CVE record.
Analyst recommendation
Given the availability of a public proof-of-concept and the lack of a verified vendor patch, organizations currently running Hostel Management System 1.0 must prioritize isolating this application from public-facing networks. Immediate implementation of WAF rules and rigorous monitoring is essential to mitigate the risk of unauthorized database access until the vendor provides a remediation update.
More code-projects CVEs
Sources
Originally found and disclosed by Shuyuan LI (VulDB User), per the CVE Program record.