Code-Projects Online Reviewer System SQL Injection Vulnerability
Vulnerability
A SQL injection vulnerability has been identified in Code-Projects Online Reviewer System version 1.0. The issue resides in the file '/system/system/students/assessments/results/studentresult-view.php', where the 'test_id' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication.
Impact
Exploitation of this vulnerability allows unauthorized access to the database, manipulation or deletion of data, leakage of sensitive information, and potential disruption of services.
Reproduction
The vulnerability can be reproduced by sending a GET request to 'studentresult-view.php' with a crafted 'test_id' parameter that includes malicious SQL payloads. 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 meets expected formats, and database user permissions should be minimized to the least required.
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.
