PHPGurukul Cyber Cafe Management System
cpe:2.3:a:phpgurukul:cyber_cafe_management_system:*:*:*:*:*:*:*
- 1.0
A critical SQL injection vulnerability has been identified in PHPGurukul's Cyber Cafe Management System version 1.0. The issue resides in the index.php file, where the 'username' parameter can be manipulated to inject malicious SQL queries. This vulnerability allows attackers to access and manipulate the database, potentially leading to unauthorized data access, data modification or deletion, and disruption of services. The vulnerability can be exploited remotely without any authentication.
Exploitation of this vulnerability allows for unauthorized database access via the 'index.php' file. Attackers can inject malicious SQL queries through the 'username' parameter, leading to unauthorized data access, data manipulation, and potential disruption of services.
To reproduce this vulnerability, send a POST request to 'ccms/index.php' with the 'username' parameter. Inject a payload that exploits time-based blind SQL injection, such as one that uses the SQL 'SLEEP' function to create a delay, indicating successful exploitation. No authentication is required to perform this attack.
It is recommended to use prepared statements and parameter binding to prevent SQL injection. Additionally, input validation and filtering should be implemented to ensure user input meets expected formats, blocking malicious data. Finally, minimize database user permissions to the least required for operations.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.