PHPGurukul Pre-School Enrollment System SQL Injection Vulnerability in Edit Subadmin File

Vulnerability

A critical SQL injection vulnerability has been identified in PHPGurukul Pre-School Enrollment System version 1.0. The issue resides in the file '/admin/edit-subadmin.php', where the 'mobilenumber' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, with potential impacts including unauthorized database access, data modification or deletion, and leakage of sensitive information.

Impact

Exploitation of this vulnerability allows for SQL injection, enabling attackers to 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 POST request to '/preschool/admin/edit-subadmin.php' with the 'mobilenumber' parameter. Include a crafted payload that exploits the SQL injection vulnerability, such as one that uses time-based blind SQL injection techniques, like appending a SQL injection payload that causes the database to delay its response.

Remediation

It is recommended to validate and sanitize user inputs, particularly for parameters that interact with the database. Implementing prepared statements can also help prevent SQL injection vulnerabilities by separating SQL logic from user data.

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

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
7.5
exploitability
9.7
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.