Code-Projects Exam Form Submission SQL Injection Vulnerability

Vulnerability

A critical SQL injection vulnerability has been identified in the Code-Projects Exam Form Submission version 1.0. The issue resides in the file '/admin/update_s3.php', where the 'credits' parameter is improperly validated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication.

Impact

Exploitation of this vulnerability allows for unauthorized database access, manipulation of database queries, and potential leakage or alteration of sensitive information. Such actions could disrupt normal service operations.

Reproduction

The vulnerability can be reproduced by sending a POST request to '/admin/update_s3.php' with the 'credits' parameter. The request should include a crafted SQL payload that exploits the time-based blind SQL injection vulnerability, such as one that uses the SQL 'SLEEP' function to create a delay, indicating successful injection.

Remediation

It is recommended to implement input validation and sanitization for the 'credits' parameter to prevent SQL injection. Additionally, using prepared statements for database queries can mitigate this type of vulnerability. Regular security audits and minimizing database user permissions are also advisable.

Added: Jul 28, 2025, 1:18 AM
Updated: Jul 28, 2025, 1:18 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
6.0
remediation
0.0
relevance
0.3
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.