Code-Projects Refugee Food Management System SQL Injection Vulnerability

Vulnerability

A SQL injection vulnerability exists in version 1.0 of the Code-Projects Refugee Food Management System. The issue is located in the file '/home/viewtakenfd.php', where the 'tfid' parameter can be manipulated to inject malicious SQL code. This vulnerability can be exploited remotely, without any authentication, allowing attackers to interfere with the database by altering or extracting data, and potentially disrupting the application's normal operations.

Impact

Exploitation of this vulnerability allows for unauthorized SQL command execution, leading to database manipulation or access. This could result in unauthorized data exposure, data modification, or in some cases, executing commands on the server where the database is hosted.

Reproduction

The vulnerability can be reproduced by sending a GET request to 'viewtakenfd.php' with a crafted 'tfid' parameter that includes malicious SQL code. This input is not properly sanitized, allowing the injected SQL to be executed by the database.

Remediation

To address this vulnerability, it is recommended to use prepared statements and parameterized queries to prevent SQL injection. Additionally, input validation should be implemented to ensure that user-provided data conforms to expected formats before it is processed or included in SQL queries.

Added: Dec 29, 2025, 10:17 AM
Updated: Dec 29, 2025, 4:18 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
8.7
remediation
0.0
relevance
1.8
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.