PHPGurukul Company Visitor Management System SQL Injection Vulnerability

Vulnerability

A critical SQL injection vulnerability has been identified in PHPGurukul Company Visitor Management System version 2.0. The issue resides in the file '/visitor-detail.php', where the 'editid' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely without any authentication, leading to unauthorized database access, data modification or deletion, and potential leakage of sensitive information.

Impact

Exploitation of this vulnerability allows for unauthorized database access, manipulation or deletion of data, and disruption of services. It poses a significant threat to system security and business continuity.

Reproduction

The vulnerability can be reproduced by sending a POST request to '/cvms/visitor-detail.php' with the 'editid' parameter. The request can include a payload that exploits the SQL injection, such as a boolean-based blind injection or a UNION-based injection that extracts database information.

Remediation

It is recommended to implement prepared statements and parameter binding to prevent SQL injection. Additionally, input validation and filtering should be applied to ensure that user input conforms to expected formats. Minimizing database user permissions can also help reduce the impact of potential exploits.

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.