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 '/contactus.php' file. This vulnerability arises from inadequate validation of user input in the 'email' parameter, allowing attackers to inject malicious SQL queries. The exploitation of this vulnerability can 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 requirements.
Exploitation of this vulnerability allows for SQL injection, enabling attackers to interfere with the application's database queries. This could result in unauthorized data access, data manipulation, and in some cases, executing administrative operations on the database.
The vulnerability can be reproduced by sending a POST request to 'contactus.php' with a crafted 'email' 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 prevent SQL injection. Additionally, user input should be validated and filtered to ensure it meets expected formats. Minimizing database user permissions and conducting regular security audits can also help enhance the application's security.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.