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. The issue resides in the admin_index.php file within the admin directory. This vulnerability allows remote attackers to manipulate the 'username' parameter, injecting malicious SQL code that could be executed by the database. The flaw arises from inadequate validation of user input, enabling unauthorized access to the database, data modification or deletion, and exposure of sensitive information. Notably, this vulnerability can be exploited without any authentication.
Exploitation of this vulnerability allows for unauthorized database access, manipulation of database contents, and access to sensitive information. Such actions could disrupt services and pose a significant risk to overall system security and business operations.
The vulnerability can be reproduced by sending a POST request to the '/admin/admin_index.php' file with a crafted 'username' 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 further 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.