CVE-2025-10799
BaseFortify
Publication date: 2025-09-22
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| angeljudesuarez | hostel_management_system | 1.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-89 | The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. |
| CWE-74 | The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2025-10799 is a critical SQL injection vulnerability in Hostel Management System 1.0, specifically in the file /justines/admin/mod_reservation/index.php?view=view. The vulnerability occurs because the 'id' parameter is used directly in SQL queries without proper input validation or sanitization, allowing attackers to inject malicious SQL code remotely without authentication. This enables attackers to manipulate database queries to access, modify, or delete data unauthorizedly. [1]
How can this vulnerability impact me? :
This vulnerability can lead to unauthorized database access, data leakage, data tampering, full system control by attackers, and potential service disruption. Since exploitation does not require authentication, attackers can remotely compromise the system, leading to severe security breaches and business continuity risks. [1]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by testing the 'id' parameter in the URL /justines/admin/mod_reservation/index.php?view=view for SQL injection using various techniques such as Boolean-based blind, error-based, time-based blind, and UNION-based SQL injection. Example commands include using sqlmap with the target URL, e.g., sqlmap -u "http://target/justines/admin/mod_reservation/index.php?view=view&id=20" --batch. Specific payloads to test include: 1) Boolean-based: view=view&id=20 AND 5338=5338 2) Error-based: payloads involving INFORMATION_SCHEMA.PLUGINS and FLOOR(RAND(0)*2) 3) Time-based: view=view&id=20 AND (SELECT 2454 FROM (SELECT(SLEEP(5)))KdxI) 4) UNION-based: using a 35-column UNION SELECT statement with hexadecimal strings to extract data. [1]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include: 1) Implement prepared statements with parameter binding to separate SQL code from user input. 2) Apply strict input validation and filtering to ensure inputs conform to expected formats. 3) Minimize database user permissions by avoiding use of high-privilege accounts for routine operations. 4) Conduct regular security audits to detect and fix vulnerabilities promptly. [1]