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.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
