PHPGurukul Online Shopping Portal Project
cpe:2.3:a:phpgurukul:online_shopping_portal:*:*:*:*:*:*:*
- 2.1
A SQL injection vulnerability exists in PHPGurukul Online Shopping Portal Project version 2.1, specifically within the categorywise-products.php file. The issue arises from inadequate input validation of the 'cid' parameter, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, with public proof-of-concept available.
Exploitation of this vulnerability allows unauthorized database access, data manipulation, and potential disruption of services.
The vulnerability can be reproduced by sending a crafted GET request to the categorywise-products.php file with a malicious 'cid' parameter. This can be done using tools like sqlmap, which can automate the exploitation process by injecting SQL payloads and extracting database information.
It is recommended to implement prepared statements and parameter binding to prevent SQL injection. Additionally, input validation and filtering should be applied to ensure that user input meets expected formats, blocking malicious data. Database user permissions should be minimized, granting only necessary access rights.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.