PHPGurukul Online Course Registration SQL Injection Vulnerability

Vulnerability

A SQL injection vulnerability exists in PHPGurukul Online Course Registration version 3.1, specifically within the '/admin/check_availability.php' file. The issue arises because the 'regno' parameter is not properly sanitized or validated, allowing attackers to inject malicious SQL code. This vulnerability can be exploited remotely, without any authentication.

Impact

Exploitation of this vulnerability allows attackers to manipulate SQL queries, potentially leading to unauthorized database access, data modification or deletion, and disclosure of sensitive information.

Reproduction

The vulnerability can be reproduced by sending a POST request to '/onlinecourse/admin/check_availability.php' with a crafted 'regno' parameter that includes SQL injection 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.

Added: Apr 9, 2026, 12:21 AM
Updated: Apr 9, 2026, 12:21 AM

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
3.1
exploitability
9.7
remediation
0.0
relevance
5.5
threat
6.4
urgency
2.9
incentive
8.3

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