Code-Projects Student Membership System SQL Injection Vulnerability

Vulnerability

A SQL injection vulnerability has been identified in Code-Projects Student Membership System version 1.0. The issue arises in the User Registration Handler component, where user-submitted POST data is directly concatenated into SQL queries without proper filtering or parameterization. This flaw allows attackers to execute arbitrary SQL commands, potentially leading to data leaks, unauthorized data modification, or complete control over the database.

Impact

Exploitation of this vulnerability allows for arbitrary SQL command execution, with potential consequences including deletion of database tables, unauthorized access to sensitive data, modification of data, and gaining a database shell for complete database control.

Reproduction

To reproduce this vulnerability, send a POST request to the user registration endpoint (index.php) with crafted input that exploits the lack of SQL query parameterization. The input can include SQL commands that, when executed, could manipulate the database, such as dropping tables or accessing sensitive information.

Remediation

It is recommended to use prepared statements with PDO or MySQLi to prevent SQL injection. Additionally, validate and escape all user input before processing it in SQL queries.

Added: Mar 31, 2026, 9:19 AM
Updated: Mar 31, 2026, 9:19 AM

Vulnerability Rating

Custom Algorithm
spread
0.3
impact
3.1
exploitability
9.1
remediation
0.0
relevance
5.1
threat
6.4
urgency
2.9
incentive
8.3

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