itsourcecode Student Management System SQL Injection Vulnerability

Vulnerability

A SQL injection vulnerability exists in the itsourcecode Student Management System version 1.0, specifically within the '/update_subject.php' file. The vulnerability arises because the application does not properly sanitize or validate the 'id' parameter before using it in SQL queries. This oversight allows attackers to inject malicious SQL code, potentially leading to unauthorized database access, data manipulation, and other severe consequences. Notably, this vulnerability can be exploited remotely without any authentication.

Impact

Exploitation of this vulnerability allows for SQL injection, where attackers can manipulate SQL queries to access, modify, or delete database information. This could lead to unauthorized data exposure, data corruption, or in some cases, executing administrative operations on the database.

Reproduction

The vulnerability can be reproduced by sending a POST request to the 'update_subject.php' file with an 'id' parameter that includes malicious SQL code. 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. Additionally, input validation and filtering should be implemented to ensure that user input conforms to expected formats. Minimizing database user permissions and conducting regular security audits can also help mitigate such vulnerabilities.

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

Vulnerability Rating

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