Code-Projects Simple Grading System SQL Injection Vulnerability in Admin Panel

Vulnerability

A SQL injection vulnerability has been identified in Code-Projects Simple Grading System version 1.0. The issue resides in the Admin Panel, specifically within the '/add_student_grade.php' file. The vulnerability is triggered by manipulating the 'add' argument, allowing for remote exploitation. The application improperly sanitizes input before incorporating it into SQL queries, enabling attackers to execute arbitrary SQL commands.

Impact

Exploitation of this vulnerability allows for SQL injection, where an attacker can interfere with the application's database queries. This could lead to unauthorized data access, data manipulation, or in some cases, executing administrative operations on the database.

Reproduction

To reproduce this vulnerability, send a POST request to '/SCESGS/add_student_grade.php' with the 'grading' parameter set to 'First Grading'. Include the 'add' parameter with a crafted SQL payload that exploits the application's SQL query handling. The injection can be verified by observing a delay in the response, indicating successful exploitation.

Added: Aug 29, 2025, 5:17 PM
Updated: Aug 29, 2025, 5:17 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
8.7
remediation
0.0
relevance
0.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.