PHPGurukul Zoo Management System SQL Injection Vulnerability in View Foreigner Ticket Management

Vulnerability

A critical SQL injection vulnerability has been identified in PHPGurukul Zoo Management System version 2.1. The issue resides in the file '/admin/view-foreigner-ticket.php', where the 'viewid' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication, potentially leading to unauthorized access to the database, data modification or deletion, and leakage 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

To reproduce this vulnerability, send a GET request to '/admin/view-foreigner-ticket.php' with a crafted 'viewid' parameter that includes SQL injection payloads. The injected SQL code will be executed by the database, demonstrating the vulnerability.

Remediation

It is recommended to validate and sanitize user inputs, particularly for parameters that are used in SQL queries. Implementing prepared statements can also help prevent SQL injection attacks.

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.