SourceCodester Online Student File Management System SQL Injection Vulnerability

Vulnerability

A SQL injection vulnerability has been identified in SourceCodester Online Student File Management System version 1.0. The issue arises in the file '/index.php', where the 'stud_no' parameter is manipulated, leading to unauthorized SQL query modifications. This vulnerability can be exploited remotely, without any authentication requirements.

Impact

Exploitation of this vulnerability allows attackers to execute arbitrary SQL commands, potentially leading to unauthorized data access, data manipulation, and in some cases, full system control.

Reproduction

The vulnerability can be reproduced by sending a POST request to '/SFMS/index.php' with the 'stud_no' and 'password' parameters. The 'stud_no' parameter should be crafted to include malicious SQL code that exploits the application's SQL query handling.

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 user input conforms to expected formats. Minimizing database user permissions and conducting regular security audits are also advisable.

Added: Sep 15, 2025, 10:17 PM
Updated: Sep 15, 2025, 10:17 PM

Vulnerability Rating

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