itsourcecode Student Management System SQL Injection Vulnerability in record.php
Vulnerability
A SQL injection vulnerability exists in the itsourcecode Student Management System version 1.0, specifically within the record.php file. The issue arises from the application's failure to properly sanitize the 'id' parameter in GET requests, allowing attackers to inject malicious SQL code. This vulnerability can be exploited remotely without authentication, potentially leading to unauthorized database access, data manipulation, and disruption of service.
Impact
Exploitation of this vulnerability allows for SQL injection, where attackers can manipulate database queries. This could result in unauthorized data access, data leakage, data tampering, and in some cases, executing commands on the server or causing a denial-of-service.
Reproduction
The vulnerability can be reproduced by sending a GET request to record.php with an injected SQL payload in the 'id' parameter. The injection can be time-based, using SQL commands that cause a delay, or through UNION-based injections that extract data from the database.
Remediation
It is recommended to use prepared statements and parameter binding to prevent SQL injection. Input validation and filtering should be implemented to ensure user input conforms to expected formats. Additionally, minimize database user permissions and conduct regular security audits.
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.
