Code-Projects Online Shoe Store SQL Injection Vulnerability in Admin Feature File

Vulnerability

A critical SQL injection vulnerability has been identified in version 1.0 of the Code-Projects Online Shoe Store. The issue resides in the '/admin/admin_feature.php' file, where the 'MULTIPART product_code' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication, leading to unauthorized database access, data modification or deletion, and exposure of sensitive information.

Impact

Exploitation of this vulnerability allows for unauthorized access to the database, manipulation or deletion of data, access to sensitive information, and potential disruption of services.

Reproduction

To reproduce this vulnerability, send a POST request to '/admin/admin_feature.php' with the 'MULTIPART product_code' parameter. Inject a payload that exploits time-based blind SQL injection, such as one that uses the MySQL 'SLEEP' function to delay the response. This can be done by appending a crafted SQL injection payload to the 'product_code' parameter, which is then processed by the application without proper sanitization.

Remediation

It is recommended to use prepared statements and parameter binding to prevent SQL injection, validate and filter user input, minimize database user permissions, and conduct regular security audits.

Added: Jun 20, 2025, 4:23 AM
Updated: Jun 20, 2025, 4:23 AM

Vulnerability Rating

Custom Algorithm
spread
0.8
impact
7.5
exploitability
9.5
remediation
0.0
relevance
0.2
threat
6.4
urgency
2.9
incentive
10.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.