PHPGurukul Pre-School Enrollment System SQL Injection Vulnerability

Vulnerability

A critical SQL injection vulnerability has been identified in PHPGurukul Pre-School Enrollment System version 1.0. The issue resides in the '/admin/add-class.php' file, where the 'classname' parameter is manipulated, allowing attackers to inject malicious SQL code. This vulnerability can be exploited remotely, with public knowledge of the exploit available.

Impact

Exploitation of this vulnerability allows unauthorized access to the database, manipulation or deletion of data, and leakage of sensitive information. It could also lead to complete control over the system and disruption of services.

Reproduction

To reproduce this vulnerability, send a POST request to '/preschool/admin/add-class.php' with the 'classname' parameter crafted to include a SQL injection payload, such as one that uses SQL's RLIKE operator to test for injection vulnerabilities. The request can be made using a tool like Burp Suite, and should include a valid PHP session cookie.

Remediation

No specific remediation is known, but general best practices for preventing SQL injection should be followed, such as using prepared statements and parameterized queries.

Added: Jun 20, 2025, 9:26 AM
Updated: Jun 20, 2025, 9:26 AM

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
10.0
exploitability
6.8
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.