SourceCodester Food Ordering Management System SQL Injection Vulnerability in View Menu Endpoint

Vulnerability

A critical SQL injection vulnerability has been identified in SourceCodester Food Ordering Management System versions through 1.0. The issue resides in the admin menus view_menu.php file, where the ID parameter can be manipulated to execute arbitrary SQL commands. This vulnerability can be exploited remotely.

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, log into the application as an admin. Navigate to the menu list page and select the 'View' option for any menu item. Once the view_menu.php page is loaded, modify the URL to include a crafted SQL injection payload in the ID parameter. The response will reveal the database version, indicating successful exploitation.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
6.1
remediation
0.0
relevance
0.0
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.