PHPGurukul Online Course Registration
cpe:2.3:a:phpgurukul:online_course_registration:*:*:*:*:*:*:*
- 3.1
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.
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.
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.
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.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.