code-projects Simple Food Ordering System
cpe:2.3:a:simple_food_ordering_system_project:simple_food_ordering_system:*:*:*:*:*:*:*
- 1.0
A SQL injection vulnerability has been identified in version 1.0 of the Code-Projects Simple Food Ordering System. The issue resides in the listorder.php file, where the 'id' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication or authorization.
Exploitation of this vulnerability allows attackers to inject and execute malicious SQL queries, potentially leading to unauthorized access to the database, manipulation or deletion of data, and exposure of sensitive information.
To reproduce this vulnerability, send a GET request to the listorder.php file with a crafted 'id' parameter that includes SQL injection payloads. The injection can be verified by observing the application's response or by using a tool like sqlmap to automate the exploitation process.
It is recommended to implement prepared statements and parameter binding to prevent SQL injection. Additionally, input validation and filtering should be applied to ensure that user input meets expected formats, and database user permissions should be minimized to the least required for operations.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.