Code-Projects Online Event Judging System SQL Injection Vulnerability in add_judge.php

Vulnerability

A SQL injection vulnerability has been identified in version 1.0 of the Code-Projects Online Event Judging System. The issue arises in the add_judge.php file, where the fullname parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, and a public exploit is available.

Impact

Exploitation of this vulnerability allows attackers to execute arbitrary SQL commands, potentially leading to unauthorized database access, data manipulation, and in some cases, remote code execution.

Reproduction

To reproduce this vulnerability, send a POST request to add_judge.php with the fullname parameter. Inject a payload that exploits the SQL injection, such as one that uses a time-based blind SQL injection technique, like adding a SQL injection payload that causes the database to sleep for a few seconds before responding.

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 user input conforms to expected formats. Minimizing database user permissions and conducting regular security audits are also advisable.

Added: Oct 27, 2025, 9:19 AM
Updated: Oct 27, 2025, 2:03 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
6.6
remediation
0.0
relevance
0.8
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.