PHPGurukul Student Record System SQL Injection Vulnerability in Password Recovery Feature

Vulnerability

A critical SQL injection vulnerability has been identified in the PHPGurukul Student Record System version 3.2. The issue resides in the password recovery feature, specifically within the 'password-recovery.php' file. The vulnerability allows remote attackers to inject malicious SQL queries through the 'emailid' parameter, exploiting inadequate input validation. This injection could lead to unauthorized database access, data manipulation, and exposure of sensitive information.

Impact

Exploitation of this vulnerability allows attackers to execute arbitrary SQL commands, potentially leading to unauthorized access to the database, manipulation or deletion of data, and exposure of sensitive information. Such actions could disrupt services and compromise overall system security.

Reproduction

The vulnerability can be reproduced by sending a POST request to 'password-recovery.php' with an injected SQL payload in the 'emailid' parameter. The injection can be crafted to exploit the application's SQL query handling, such as by using SQL injection techniques to bypass authentication or manipulate database queries.

Remediation

To address this vulnerability, it is recommended to implement prepared statements or parameterized queries to prevent SQL injection. Additionally, user input should be validated and sanitized before being processed. Employing a web application firewall (WAF) can also help mitigate such attacks.

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

Vulnerability Rating

Custom Algorithm
spread
0.8
impact
5.0
exploitability
9.5
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.