PHPGurukul Tourism Management System SQL Injection Vulnerability in User Bookings Management

Vulnerability

A SQL injection vulnerability has been identified in PHPGurukul's Tourism Management System version 1.0. The issue resides in the admin/user-bookings.php file, where the uid parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication, potentially leading to unauthorized database access, data modification or deletion, and exposure of sensitive information.

Impact

Exploitation of this vulnerability allows for SQL injection, where attackers can interfere with the application's database queries. This could lead to unauthorized data access, data manipulation, and in some cases, executing administrative operations on the database.

Reproduction

The vulnerability can be reproduced by sending a crafted HTTP request to the admin/user-bookings.php file with a malicious payload in the uid parameter. This can be done using tools like sqlmap, which automates the process of finding and exploiting SQL injection vulnerabilities.

Remediation

It is recommended to implement input validation and sanitization for the uid parameter to prevent SQL injection. Additionally, using prepared statements for database queries can help mitigate this type of vulnerability.

Added: Nov 16, 2025, 11:19 AM
Updated: Nov 16, 2025, 11:19 AM

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
5.0
exploitability
9.7
remediation
0.0
relevance
1.1
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.