CVE-2025-10799

7.3

code-projects · Hostel Management System

A SQL injection vulnerability in code-projects Hostel Management System 1.0 allows remote attackers to compromise the application via the ID parameter in the reservation module.

Executive summary

A critical SQL injection vulnerability in the code-projects Hostel Management System 1.0 poses a significant risk of unauthorized data access and manipulation for unauthenticated remote attackers.

Vulnerability

This vulnerability is a SQL injection flaw (CWE-89) located in the file /justines/admin/mod_reservation/index.php. An unauthenticated attacker can execute arbitrary SQL commands by manipulating the ID argument.

Business impact

Successful exploitation allows an attacker to interact directly with the underlying database, potentially leading to the unauthorized disclosure or modification of sensitive reservation data. Given the CVSS score of 7.3, this high-severity flaw threatens the confidentiality and integrity of the application, which may result in significant operational disruption and data breach risks.

Remediation

Immediate Action: As no official patch is currently available, administrators should restrict access to the affected administrative directory using network-level controls or by disabling the vulnerable component entirely.

Proactive Monitoring: Inspect web server access logs for suspicious patterns, such as SQL syntax or unexpected characters within the ID parameter of requests directed at the reservation module.

Compensating Controls: Implement a Web Application Firewall (WAF) with rules configured to detect and block common SQL injection payloads targeting the identified endpoint.

Exploitation status

Public Exploit Available: Yes, a public proof-of-concept exists and is documented in the referenced GitHub issue.

Analyst recommendation

The presence of a public proof-of-concept for this SQL injection vulnerability necessitates immediate defensive action. Organizations using code-projects Hostel Management System 1.0 must prioritize isolating the affected component and applying compensating security controls until an official software update is released by the vendor.

More code-projects CVEs

Sources

Originally found and disclosed by Zhenyu Yang (VulDB User), per the CVE Program record.