CVE-2025-10798
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-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. |
| 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. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2025-10798 is a critical SQL injection vulnerability in the Hostel Management System 1.0, specifically in the file /justines/admin/mod_roomtype/index.php?view=view. The vulnerability occurs because the 'id' parameter is not properly validated or sanitized before being used in SQL queries. This allows attackers to inject malicious SQL code remotely without any authentication, enabling unauthorized manipulation of the database. [1]
How can this vulnerability impact me? :
Exploitation of this vulnerability can lead to unauthorized database access, leakage of sensitive information, modification or deletion of data, full system compromise, and potential service disruption. Since no authentication is required, attackers can easily exploit this flaw to cause significant damage to the system and its data. [1]
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
This vulnerability can negatively impact compliance with standards like GDPR and HIPAA because it can lead to unauthorized access and leakage of sensitive personal or health information. Such data breaches violate the confidentiality and integrity requirements mandated by these regulations, potentially resulting in legal and financial penalties. [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_roomtype/index.php?view=view&id=82' for SQL injection. Commands using sqlmap can be used to automate detection, for example: sqlmap -u "http://target/justines/admin/mod_roomtype/index.php?view=view&id=82" --batch. Manual testing can include injecting payloads such as 'AND 5312=5312' for boolean-based blind SQL injection, or time-based payloads like 'AND (SELECT SLEEP(5))' to observe response delays. [1]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include implementing prepared statements with parameter binding to prevent SQL injection, enforcing strict input validation and filtering on the 'id' parameter, minimizing database user privileges by avoiding high-privilege accounts for routine operations, and conducting regular security audits of the code and system to detect and fix vulnerabilities promptly. [1]