CVE-2025-10813
7.3code-projects · Hostel Management System
A SQL injection vulnerability exists in code-projects Hostel Management System 1.0 via the Home argument in /justines/admin/mod_reports/index.php, allowing remote unauthenticated attackers to execute code.
Executive summary
A critical SQL injection vulnerability in the code-projects Hostel Management System 1.0 allows remote, unauthenticated attackers to compromise database integrity.
Vulnerability
This is a SQL injection vulnerability (CWE-89) located in the /justines/admin/mod_reports/index.php file. An unauthenticated attacker can trigger this flaw by manipulating the Home parameter to perform unauthorized database operations.
Business impact
The ability for an unauthenticated user to execute arbitrary SQL commands poses a severe risk to data confidentiality and integrity. Successful exploitation could lead to unauthorized data exfiltration, modification of administrative records, or potential system-wide compromise. Given the CVSS score of 7.3, this represents a high-severity threat that necessitates immediate attention to prevent unauthorized access to sensitive hostel management data.
Remediation
Immediate Action: As no official patch is currently available, administrators should restrict access to the application by placing it behind a VPN or firewall and limiting network exposure.
Proactive Monitoring: Review web server access logs for suspicious patterns in the Home parameter, specifically looking for SQL syntax, such as union, select, or comment characters.
Compensating Controls: Deploy a Web Application Firewall (WAF) with rules specifically configured to detect and block SQL injection patterns targeting the identified index.php endpoint.
Exploitation status
Public Exploit Available: Yes, a published proof-of-concept exists, attributed to the technical write-up provided in the referenced GitHub issue.
Analyst recommendation
This vulnerability presents a significant risk due to the availability of public exploit material and the lack of required authentication for an attacker. Organizations currently running version 1.0 of the Hostel Management System should treat this as a high-priority item. Until a vendor-supplied patch is released, implementing robust network-level access controls and WAF filtering is essential to prevent potential compromise of the underlying database.
More code-projects CVEs
Sources
Originally found and disclosed by wuwenjie (VulDB User), per the CVE Program record.