CVE-2025-10798
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 ID argument in the index.php file.
Executive summary
The Hostel Management System version 1.0 contains a critical SQL injection vulnerability that allows unauthenticated remote attackers to manipulate backend database queries.
Vulnerability
This is a SQL injection vulnerability (CWE-89) located in the file /justines/admin/mod_roomtype/index.php. The flaw allows an unauthenticated remote attacker to inject malicious SQL commands by manipulating the ID parameter.
Business impact
Successful exploitation of this vulnerability could lead to unauthorized database access, potentially resulting in the exposure or modification of sensitive administrative and user data. With a CVSS score of 7.3, this high-severity flaw poses a significant risk to the integrity and confidentiality of the application, as the attack requires no authentication to execute.
Remediation
Immediate Action: Since no official vendor patch is currently available, administrators should restrict access to the affected directory via network controls or disable the vulnerable component if it is not business-critical.
Proactive Monitoring: Review web server access logs for anomalous requests containing SQL syntax or unusual characters directed at the index.php file within the mod_roomtype directory.
Compensating Controls: Deploy a Web Application Firewall (WAF) with rules configured to detect and block SQL injection patterns targeting the identified vulnerable parameter.
Exploitation status
Public Exploit Available: Yes, a public proof-of-concept exists as documented in the GitHub issue referenced in the vulnerability record.
Analyst recommendation
Given the availability of a public proof-of-concept and the ease of remote execution, this vulnerability represents a significant security risk. Security teams should prioritize restricting access to the vulnerable endpoint immediately and implement WAF filtering to prevent exploitation until a formal vendor update is released.
More code-projects CVEs
Sources
Originally found and disclosed by Chengyao He (VulDB User), per the CVE Program record.