CVE-2025-9470
BaseFortify
Publication date: 2025-08-26
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-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-9470 is a critical SQL injection vulnerability in the itsourcecode Apartment Management System version 1.0, specifically in the /management/add_m_committee.php file. The vulnerability occurs because the 'id' parameter is not properly validated or sanitized, allowing attackers to inject malicious SQL code. This can lead to unauthorized access to the database, enabling attackers to retrieve, modify, or delete sensitive data remotely without authentication. [1, 2]
How can this vulnerability impact me? :
Exploiting this vulnerability can allow attackers to gain unauthorized access to the database, leading to data leakage, data manipulation, and potentially full system compromise or service disruption. Attackers can retrieve sensitive information, modify or delete data, and disrupt normal operations of the Apartment Management System. Since no authentication is required, the attack can be launched remotely and easily. [1, 2]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
The vulnerability can be detected by testing the 'id' parameter in the URL /management/add_m_committee.php for SQL injection using boolean-based blind and time-based blind SQL injection techniques. Example payloads include: - Boolean-based blind: id=22' RLIKE (SELECT (CASE WHEN (2564=2564) THEN 22 ELSE 0x28 END))-- - Time-based blind: id=22' AND (SELECT 3611 FROM (SELECT(SLEEP(5)))STpj)-- Testing can be automated using tools like sqlmap targeting the vulnerable URL, for example: sqlmap -u "http://127.0.0.1/apartment/management/add_m_committee.php?id=22" --batch [2]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include: 1. Use prepared statements with parameter binding to separate SQL code from user input, preventing injection. 2. Implement strict input validation and filtering to ensure inputs conform to expected formats. 3. Minimize database user permissions by avoiding use of high-privilege accounts (e.g., root or admin) for routine operations. 4. Conduct regular security audits of code and systems to detect and fix vulnerabilities promptly. [2, 1]