PHPGurukul Old Age Home Management System SQL Injection Vulnerability

Vulnerability

A critical SQL injection vulnerability has been identified in PHPGurukul Old Age Home Management System version 1.0. The issue resides in the file '/admin/edit-services.php', where the 'sertitle' parameter can be manipulated to inject malicious SQL queries. This vulnerability allows attackers to access and manipulate the database, potentially leading to unauthorized data access, data modification, and disruption of services.

Impact

Exploitation of this vulnerability allows for unauthorized database access via SQL injection, enabling attackers to manipulate database queries and potentially execute arbitrary SQL commands. This could lead to unauthorized data access, data modification, and in some cases, executing administrative operations on the database.

Reproduction

To reproduce this vulnerability, send a POST request to '/admin/edit-services.php' with the 'sertitle' parameter. Include a payload that exploits the SQL injection vulnerability, such as one that uses a time-based blind SQL injection technique, like 'RLIKE SLEEP(5)'.

Remediation

It is recommended to use prepared statements and parameter binding to prevent SQL injection vulnerabilities. Additionally, input validation and filtering should be implemented to ensure that user input conforms to expected formats, blocking malicious inputs. Finally, database user permissions should be minimized, ensuring that the account used to connect to the database has only the necessary permissions.

Added: Jun 30, 2025, 1:18 PM
Updated: Jun 30, 2025, 3:23 PM

Vulnerability Rating

Custom Algorithm
spread
0.8
impact
7.5
exploitability
6.6
remediation
0.0
relevance
0.2
threat
6.4
urgency
2.9
incentive
1.7

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