Code-Projects Refugee Food Management System SQL Injection Vulnerability

Vulnerability

A SQL injection vulnerability exists in Code-Projects Refugee Food Management System version 1.0, specifically within the file '/home/editfood.php'. The vulnerability arises because the application improperly sanitizes user input from the 'a' parameter before incorporating it into SQL queries. This flaw allows attackers to manipulate SQL commands and execute unauthorized actions. The vulnerability can be exploited remotely, and a public exploit is available.

Impact

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

Reproduction

To reproduce this vulnerability, send a POST request to 'editfood.php' with the 'a' parameter set to a crafted SQL payload. The injected SQL will be executed by the application's database, demonstrating the SQL injection flaw.

Added: Dec 29, 2025, 11:18 PM
Updated: Dec 29, 2025, 11:18 PM

Vulnerability Rating

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