CVE-2025-12598
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-11-02

Last updated on: 2026-04-29

Assigner: VulDB

Description
A flaw has been found in SourceCodester Best House Rental Management System 1.0. Affected by this issue is the function save_tenant of the file /admin_class.php. Executing manipulation of the argument firstname can lead to sql injection. The attack can be launched remotely. The exploit has been published and may be used. Other parameters might be affected as well.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-11-02
Last Modified
2026-04-29
Generated
2026-05-07
AI Q&A
2025-11-02
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
mayurik best_house_rental_management_system 1.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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 a SQL injection flaw in the SourceCodester Best House Rental Management System version 1.0. It occurs in the save_tenant function within the /admin_class.php file, where the firstname parameter is not properly sanitized. This allows an attacker to inject malicious SQL code remotely, potentially manipulating the database. The vulnerability corresponds to CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) and can compromise the confidentiality, integrity, and availability of the system. [1]


How can this vulnerability impact me? :

This vulnerability can impact you by allowing attackers to execute arbitrary SQL commands on your database remotely, which can lead to unauthorized access to sensitive data, modification or deletion of data, and disruption of service. Since it affects confidentiality, integrity, and availability, it poses a significant risk to the security and operation of the affected system. [1]


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by identifying if the system is running SourceCodester Best House Rental Management System version 1.0 and if the /admin_class.php file's save_tenant function is accessible. Attackers can use Google dorking with queries like `inurl:admin_class.php` to find vulnerable targets. To detect exploitation attempts on your system, you can monitor web server logs for suspicious requests targeting /admin_class.php with unusual or malicious input in the firstname parameter. For example, you can use commands like `grep 'admin_class.php' /var/log/apache2/access.log | grep -i 'firstname='` to find potential injection attempts. Additionally, using web application firewalls (WAF) or intrusion detection systems (IDS) with SQL injection detection rules can help identify exploitation attempts. [1]


What immediate steps should I take to mitigate this vulnerability?

No known countermeasures or mitigations have been documented for this vulnerability. The recommended immediate step is to replace the affected product with an alternative that is not vulnerable. Additionally, restricting access to the vulnerable endpoint, applying strict input validation, and monitoring for exploitation attempts can help reduce risk until a fix or replacement is implemented. [1]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart