CVE-2025-9645
BaseFortify
Publication date: 2025-08-29
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 |
|---|---|---|
| admerc | apartment_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-9645 is a critical SQL injection vulnerability in itsourcecode Apartment Management System version 1.0, specifically in the file /t_dashboard/r_all_info.php. The vulnerability occurs because the 'mid' parameter is not properly validated or sanitized, allowing attackers to inject malicious SQL code. This enables unauthorized access to the database, allowing attackers to retrieve, modify, or delete sensitive data remotely without authentication. [1, 2, 3]
How can this vulnerability impact me? :
Exploiting this vulnerability can lead to unauthorized database access, data leakage, data manipulation, and potential full system control. Attackers can disrupt services, alter or delete data, and compromise the confidentiality, integrity, and availability of the system. Since the attack can be performed remotely without authentication, it poses a significant security risk. [1, 2, 3]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by testing the 'mid' parameter in the /t_dashboard/r_all_info.php file for SQL injection. Tools like sqlmap can be used to confirm the injection point. Example payloads include boolean-based blind SQL injection such as "mid=2' RLIKE (SELECT (CASE WHEN (4802=4802) THEN 2 ELSE 0x28 END))--" and time-based blind SQL injection like "mid=2' AND (SELECT 2015 FROM (SELECT(SLEEP(5)))oqRb)--". Additionally, Google dorking with queries like "inurl:t_dashboard/r_all_info.php" can help identify vulnerable targets. [2, 3]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include implementing prepared statements with parameter binding to separate SQL code from user input, enforcing strict input validation and filtering to ensure inputs conform to expected formats, and minimizing database user permissions by avoiding high-privilege accounts for routine operations. Regular security audits should also be conducted to detect and address vulnerabilities promptly. If possible, replacing the affected component with an alternative product is suggested. [2, 3]