PHPGurukul News Portal Project
cpe:2.3:a:phpgurukul:news_portal:*:*:*:*:*:*:*
- 4.1
A SQL injection vulnerability has been identified in PHPGurukul News Portal Project version 4.1. The issue resides in the file '/admin/check_availability.php', where the 'username' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, with a public exploit available.
Exploitation of this vulnerability allows attackers to inject SQL queries that could be executed by the database, potentially leading to unauthorized data access, data manipulation, or execution of administrative operations.
The vulnerability can be reproduced by sending a POST request to '/admin/check_availability.php' with a crafted 'username' 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 conforms to expected formats. Finally, database user permissions should be minimized to reduce the impact of a potential exploitation.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.