Code-Projects Online Music Site SQL Injection Vulnerability in AdminDeleteUser.php

Vulnerability

A SQL injection vulnerability exists in version 1.0 of Code-Projects Online Music Site, specifically within the AdminDeleteUser.php file. The issue arises because the 'id' parameter can be manipulated to inject malicious SQL code. This unsanitized input is directly used in SQL queries, allowing attackers to alter the queries and execute unauthorized database operations. The vulnerability can be exploited remotely without any authentication.

Impact

Exploitation of this vulnerability allows attackers to access the database without authorization, potentially leading to data manipulation, unauthorized data access, and disruption of services.

Reproduction

The vulnerability can be reproduced by sending a GET request to the AdminDeleteUser.php file with a crafted 'id' parameter that includes malicious SQL payloads. This can be done using a web browser or a tool 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. Additionally, input validation and filtering should be implemented to ensure that user input meets expected formats, and database user permissions should be minimized to reduce the impact of potential attacks.

Added: Jan 26, 2026, 8:19 PM
Updated: Jan 26, 2026, 8:19 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
8.7
remediation
0.0
relevance
2.4
threat
6.4
urgency
2.9
incentive
4.2

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