PHPGurukul Directory Management System SQL Injection Vulnerability in Admin Profile Management

Vulnerability

A critical SQL injection vulnerability has been identified in PHPGurukul Directory Management System version 2.0. The issue resides in the admin-profile.php file, specifically within the adminname parameter. This vulnerability allows attackers to inject malicious SQL queries that are executed by the database, potentially leading to unauthorized data access, data manipulation, and in some cases, full system control. The vulnerability can be exploited remotely, and details of the exploitation have been made public.

Impact

Exploitation of this vulnerability allows for SQL injection, where an attacker can manipulate database queries to access, modify, or delete database information. This could lead to unauthorized access to sensitive data, disruption of services, and in some cases, execution of administrative operations within the application.

Reproduction

To reproduce this vulnerability, send a POST request to the /admin/admin-profile.php endpoint with the adminname parameter. Include a payload that exploits the SQL injection, such as one that uses time-based blind SQL injection techniques, 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 data. Finally, database user permissions should be minimized, ensuring that the database account used by the application has only the necessary privileges.

Added: Jun 20, 2025, 11:38 AM
Updated: Jun 20, 2025, 11:38 AM

Vulnerability Rating

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