SourceCodester Online Food Ordering System
cpe:2.3:a:online_food_ordering_system_project:online_food_ordering_system:*:*:*:*:*:*:*
- 1.0
A SQL injection vulnerability has been identified in SourceCodester Online Food Ordering System version 1.0. The issue resides in the admin/view_product.php file, where the application fails to properly sanitize the 'id' parameter in the HTTP GET request. This flaw allows authenticated attackers to inject arbitrary SQL commands. Exploitation of this vulnerability could lead to unauthorized data access, including sensitive information such as administrator credentials, which could be displayed on the webpage.
Successful exploitation allows attackers to retrieve and display database content, including sensitive information such as admin credentials, on the webpage. This could lead to unauthorized access and system compromise.
To reproduce this vulnerability, deploy the Online Food Ordering System locally and log in as an administrator. The 'id' parameter in the 'admin/view_product.php' file can be manipulated to inject SQL commands. This vulnerability can be exploited manually or by using automated tools like 'sqlmap'.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.