PHPGurukul News Portal Project
cpe:2.3:a:phpgurukul:news_portal:*:*:*:*:*:*:*
- 4.1
A SQL injection vulnerability exists in PHPGurukul News Portal Project version 4.1, specifically within the file /admin/add-subcategory.php. The issue arises from inadequate input validation of the 'sucatdescription' 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 attackers to manipulate SQL queries, potentially leading to unauthorized database access, data modification or deletion, and disclosure of sensitive information.
To reproduce this vulnerability, send a POST request to /newsportal/admin/add-subcategory.php with the 'sucatdescription' parameter. Include a payload that exploits time-based blind SQL injection, such as one that uses the SQL 'SLEEP' function to introduce a delay in the response.
It is recommended to use prepared statements and parameter binding to prevent SQL injection, validate and filter user input, and limit database user permissions to the minimum required.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.