itsourcecode Apartment Management System SQL Injection Vulnerability in Add Floor Function
Vulnerability
A SQL injection vulnerability has been identified in the itsourcecode Apartment Management System version 1.0. The issue arises in the file '/floor/addfloor.php', where the 'MULTIPART hdnid' parameter is not properly validated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication.
Impact
Exploitation of this vulnerability allows unauthorized access to the database, where attackers can read, modify, or delete data. It also poses a risk of executing arbitrary commands on the system and potentially disrupting services.
Reproduction
To reproduce this vulnerability, send a POST request to '/floor/addfloor.php' with the 'MULTIPART hdnid' parameter. Inject a payload that exploits the SQL injection, such as one that uses a time-based blind SQL injection technique, like adding a SQL 'SLEEP' command to the payload. This can be done using tools like sqlmap.
Remediation
It is recommended to use prepared statements and parameter binding to prevent SQL injection. Additionally, input validation and filtering should be implemented to ensure user input conforms to expected formats. Minimizing database user permissions and conducting regular security audits can also help enhance overall security.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
