PHPGurukul Vehicle Parking Management System SQL Injection Vulnerability

Vulnerability

A critical SQL injection vulnerability has been identified in PHPGurukul Vehicle Parking Management System version 1.13. The issue resides in the file '/admin/view-incomingvehicle-detail.php', where the 'viewid' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication or authorization.

Impact

Exploitation of this vulnerability allows attackers to gain unauthorized access to the application's database, potentially leading to data manipulation, unauthorized data access, and in some cases, full control over the application or server.

Reproduction

To reproduce this vulnerability, send a GET request to '/vpms/admin/view-incomingvehicle-detail.php' with the 'viewid' parameter. The request can include a crafted SQL payload that exploits the injection vulnerability, such as a boolean-based blind injection or a UNION-based injection that extracts database information.

Remediation

Developers are advised to use prepared statements and parameter binding to prevent SQL injection. Input validation and filtering should be implemented to ensure that user inputs conform to expected formats, blocking malicious data. Additionally, database user permissions should be minimized, granting only the necessary rights for operations.

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

Vulnerability Rating

Custom Algorithm
spread
0.8
impact
7.5
exploitability
9.5
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.