CVE-2025-12208
BaseFortify
Publication date: 2025-10-27
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 |
|---|---|---|
| mayurik | best_house_rental_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?
This vulnerability is an SQL injection found in the login2 function of the /admin_class.php file in SourceCodester Best House Rental Management System 1.0. By manipulating the Username argument, an attacker can inject malicious SQL code. This attack can be performed remotely and the exploit is publicly available.
How can this vulnerability impact me? :
The vulnerability allows an attacker to perform SQL injection remotely, which can lead to unauthorized access, data leakage, data modification, or disruption of the application. This can compromise the security and integrity of the system and its data.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by testing the login2 function in the /admin_class.php file for SQL injection vulnerabilities, specifically by manipulating the Username argument. Common detection methods include using SQL injection testing tools or manual testing with payloads such as ' OR '1'='1 to see if unauthorized access or database errors occur. Network detection might involve monitoring for unusual or suspicious HTTP requests targeting the login2 function with SQL injection patterns. Specific commands are not provided in the resources.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include applying input validation and parameterized queries to the login2 function in /admin_class.php to prevent SQL injection. If a patch or update is available from the vendor, it should be applied promptly. Additionally, restricting access to the admin interface and monitoring for exploit attempts can help reduce risk. No specific mitigation commands or patches are detailed in the provided resources.