code-projects Online Shoe Store SQL Injection Vulnerability in admin_football.php

Vulnerability

A critical SQL injection vulnerability has been identified in the code-projects Online Shoe Store version 1.0. The issue arises in the file /admin/admin_football.php, where the 'pid' parameter is manipulated, leading to unauthorized database access. This vulnerability allows attackers to inject malicious SQL queries, potentially causing data leakage, unauthorized data modification, and disruption of service. The vulnerability can be exploited remotely without authentication.

Impact

Exploitation of this vulnerability allows for SQL injection, where attackers can manipulate database queries to gain unauthorized access to the database, leak sensitive information, modify or delete data, and disrupt services.

Reproduction

The vulnerability can be reproduced by sending a POST request to the /admin/admin_football.php file with a crafted 'pid' 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.

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, 2:44 PM
Updated: Jun 20, 2025, 2:44 PM

Vulnerability Rating

Custom Algorithm
spread
0.8
impact
5.0
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.