Code-Projects Simple Banking System SQL Injection Vulnerability in transfermoney.php

Vulnerability

A SQL injection vulnerability has been identified in Code-Projects Simple Banking System version 1.0, specifically in the transfermoney.php file. This vulnerability arises from inadequate validation of the 'id' parameter, allowing attackers to inject malicious SQL queries. 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, enabling attackers to interfere with the application's database queries. This could result in unauthorized data access, data modification or deletion, and in some cases, executing administrative operations on the database.

Reproduction

The vulnerability can be reproduced by sending a crafted HTTP request to the transfermoney.php file with an injected SQL payload in the 'id' parameter. Various injection techniques can be used, including boolean-based blind, error-based, time-based blind, and UNION-based injections. This can be done manually or automated using tools like sqlmap.

Remediation

To address this vulnerability, it is recommended to implement prepared statements and parameter binding to separate SQL code from user input, validate and filter user input to ensure it meets expected formats, minimize database user permissions, and conduct regular security audits.

Added: Oct 7, 2025, 9:18 AM
Updated: Oct 7, 2025, 9:18 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
3.8
exploitability
4.6
remediation
0.0
relevance
0.7
threat
6.4
urgency
2.9
incentive
1.7

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