Code-Projects Real Estate Property Management System SQL Injection Vulnerability

Vulnerability

A critical SQL injection vulnerability has been identified in version 1.0 of the Code-Projects Real Estate Property Management System. The issue resides in the '/Admin/EditCity.php' file, where the 'txtCityId' parameter is vulnerable to injection attacks. This vulnerability allows attackers to manipulate SQL queries by injecting malicious payloads, potentially leading to unauthorized database access, data modification or deletion, and exposure of sensitive information. The vulnerability can be exploited remotely without any authentication.

Impact

Exploitation of this vulnerability allows for SQL injection, enabling attackers to interfere with the application's database queries. This could lead to unauthorized data access, data manipulation, and in some cases, executing administrative operations on the database.

Reproduction

The vulnerability can be reproduced by sending a POST request to '/Admin/EditCity.php' with a crafted 'txtCityId' parameter that includes malicious SQL code. This payload can be designed to exploit time-based blind SQL injection, such as using a SQL injection payload that causes the database to pause execution for a few seconds before responding, indicating that the injection was successful.

Remediation

It is recommended to use prepared statements and parameter binding to prevent SQL injection vulnerabilities. Additionally, input validation and filtering should be implemented to ensure that user input conforms to expected formats. Regular security audits can help identify and address potential vulnerabilities.

Added: Jun 6, 2025, 10:18 AM
Updated: Jun 6, 2025, 10:18 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
8.7
remediation
0.0
relevance
0.2
threat
6.4
urgency
2.9
incentive
5.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.