PHPGurukul Campcodes Cyber Cafe Management System SQL Injection Vulnerability

Vulnerability

A critical SQL injection vulnerability has been identified in PHPGurukul Campcodes Cyber Cafe Management System version 1.0. The issue resides in the '/bwdates-reports-details.php' file, where the 'fromdate' and 'todate' parameters are manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication.

Impact

Exploitation of this vulnerability allows unauthorized access to the database, where attackers can leak, modify, or delete data. Additionally, it could lead to unauthorized database access, sensitive data leakage, data tampering, comprehensive system control, and service interruption.

Reproduction

To reproduce this vulnerability, send a POST request to '/ccms/bwdates-reports-details.php' with the 'fromdate' parameter containing a crafted SQL payload that exploits time-based blind SQL injection, along with a 'todate' parameter. The injected SQL payload should be designed to manipulate the application's SQL query execution, such as using the 'SLEEP' function to demonstrate the injection.

Remediation

To address this vulnerability, use prepared statements and parameter binding to separate SQL code from user input, preventing injection attacks. Additionally, implement strict input validation and filtering to ensure user data conforms to expected formats. Minimize database user permissions and conduct regular security audits to identify and fix potential vulnerabilities.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.3
impact
5.0
exploitability
9.1
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
10.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.