Code-Projects Online Reviewer System SQL Injection Vulnerability in loaddata.php
Vulnerability
A SQL injection vulnerability has been identified in Code-Projects Online Reviewer System version 1.0. The issue arises in the file '/system/system/admins/assessments/pretest/loaddata.php', where the 'difficulty_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 POST request to '/system/system/admins/assessments/pretest/loaddata.php' with a crafted 'difficulty_id' parameter. Various payloads can be used to exploit the SQL injection, such as boolean-based blind, error-based, time-based blind, and UNION query injections.
Remediation
It is recommended to use prepared statements and parameter binding to prevent SQL injection, validate and filter user input, and minimize database user permissions.
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.
