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 '/check_availability.php' file. The issue arises from the inadequate validation of the 'cid' parameter, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication.
Exploitation of this vulnerability allows unauthorized access to the database, where attackers can leak, modify, or delete data. Additionally, it could lead to complete control over the system and disruption of services.
To reproduce this vulnerability, send a POST request to '/onlinecourse/check_availability.php' with the 'cid' parameter manipulated to include SQL injection payloads. This can be done using a tool like sqlmap, targeting the 'cid' parameter to exploit the SQL injection vulnerability.
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 can also help reduce the risk of exploitation.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.