Code-Projects Simple Food Order System SQL Injection Vulnerability

Vulnerability

A SQL injection vulnerability has been identified in Code-Projects Simple Food Order System version 1.0. The issue resides in the 'view-ticket-admin.php' file, where user input is not properly sanitized, allowing attackers to manipulate SQL queries and potentially access or modify database information.

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 GET request to 'food/view-ticket-admin.php' with a crafted 'id' parameter that includes SQL payloads. The application is built on PHP 8.1 and uses a database named 'food'.

Added: Mar 2, 2026, 8:21 PM
Updated: Mar 2, 2026, 8:39 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
0.6
exploitability
8.0
remediation
0.0
relevance
3.4
threat
6.4
urgency
2.9
incentive
0.0

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