code-projects Online Shoe Store
cpe:2.3:a:code-projects:online_shoe_store:*:*:*:*:*:*:*
- 1.0
A critical SQL injection vulnerability has been identified in the code-projects Online Shoe Store version 1.0, specifically within the '/function/edit_customer.php' file. This vulnerability arises from inadequate validation of user input in the 'firstname' parameter, allowing attackers to inject malicious SQL queries. Exploitation of this vulnerability could lead to unauthorized access to the database, manipulation or deletion of data, and exposure of sensitive information. Notably, this vulnerability can be exploited remotely without any authentication.
Exploitation of this vulnerability allows for SQL injection, where attackers can manipulate database queries to gain unauthorized access to the database, read or modify data, and execute administrative operations on the database. This poses a significant risk to the application's data integrity and security.
The vulnerability can be reproduced by sending a POST request to '/function/edit_customer.php' with a crafted 'firstname' parameter that includes malicious SQL payloads. This can be done using tools like sqlmap, which automates the process of finding and exploiting SQL injection vulnerabilities.
To address this vulnerability, it is recommended to implement prepared statements and parameter binding to separate SQL code from user input, validate and filter user input to ensure it meets expected formats, minimize database user permissions, and conduct regular security audits.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.