Code-Projects Student File Management System SQL Injection Vulnerability in Delete Student Functionality

Vulnerability

A SQL injection vulnerability has been identified in Code-Projects Student File Management System version 1.0. The issue resides in the delete_student.php file, specifically within the admin directory. The vulnerability is triggered by manipulating the stud_id parameter, which is directly incorporated into SQL queries without adequate sanitization or validation. This flaw allows remote attackers to inject malicious SQL code, potentially leading to unauthorized database access, data manipulation, and exploitation of sensitive information.

Impact

Exploitation of this vulnerability allows for unauthorized SQL command execution, with the potential to access, modify, or delete database records. This could result in the leakage of sensitive information or disruption of database services.

Reproduction

The vulnerability can be reproduced by sending a POST request to the delete_student.php file with a crafted stud_id parameter. The injected SQL payload can exploit the application's SQL query handling, demonstrating the injection flaw.

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, blocking malicious data. Minimizing database user permissions can also help reduce the impact of potential exploits.

Added: Dec 14, 2025, 6:18 AM
Updated: Dec 14, 2025, 6:18 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
8.7
remediation
0.0
relevance
1.4
threat
6.4
urgency
2.9
incentive
5.8

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