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/admins/assessments/pretest/btn_functions.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 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/btn_functions.php' with the 'difficulty_id' parameter. The request can include a crafted payload that exploits the SQL injection vulnerability, such as using SQL injection techniques like boolean-based blind, error-based, or time-based blind payloads.
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 conforms to expected formats. Minimizing database user permissions is also advised.
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.
