itsourcecode College Management System SQL Injection Vulnerability in asign-single-student-subjects.php
Vulnerability
A SQL injection vulnerability exists in the itsourcecode College Management System version 1.0, specifically within the admin/asign-single-student-subjects.php file. This vulnerability allows authenticated users to inject malicious SQL code through the course_code parameter, exploiting the application's failure to properly sanitize input before executing SQL queries. The vulnerability can be exploited remotely, leading to unauthorized database access, data manipulation, and potential disruption of service.
Impact
Exploitation of this vulnerability allows for SQL injection, where an attacker can manipulate database queries to access, modify, or delete database information. This could result in unauthorized access to sensitive data, data corruption, or disruption of service.
Reproduction
To reproduce this vulnerability, log into the application and navigate to the admin/asign-single-student-subjects.php page. Once there, send a POST request with the course_code parameter manipulated to include a crafted SQL payload. This can be done using a tool 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, as these techniques separate SQL code from user input. Additionally, input validation and filtering should be implemented to ensure that user data conforms to expected formats. Minimizing database user permissions and conducting regular security audits can also help enhance the application's security.
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.
