Itsourcecode Online House Rental System SQL Injection Vulnerability in Payment Management File

Vulnerability

A SQL injection vulnerability has been identified in the Online House Rental System version 1.0, specifically within the manage_payment.php file. This vulnerability arises from inadequate validation of the 'id' parameter, allowing remote attackers to inject malicious SQL queries. The exploitation of this vulnerability could lead to unauthorized database access, data manipulation, and exposure of sensitive information.

Impact

Exploitation of this vulnerability allows for SQL injection, which could be used to access, modify, or delete database information. Additionally, it could lead to unauthorized access to sensitive data and potentially allow attackers to gain control over the system.

Reproduction

The vulnerability can be reproduced by sending a GET request to manage_payment.php with an injected SQL payload in the 'id' parameter. This can be done using a tool like sqlmap, which automates the process of finding and exploiting SQL injection vulnerabilities.

Remediation

To address this vulnerability, 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 system security.

Added: Jun 1, 2026, 1:24 PM
Updated: Jun 1, 2026, 1:24 PM

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
3.1
exploitability
9.7
remediation
0.0
relevance
9.7
threat
6.4