PHPGurukul Small CRM SQL Injection Vulnerability in Forgot Password Function

Vulnerability

A SQL injection vulnerability has been identified in PHPGurukul Small CRM version 4.0, specifically within the forgot-password.php file. The issue arises from inadequate validation of the email parameter, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication, potentially leading to unauthorized access to the database, data manipulation, and leakage of sensitive information.

Impact

Exploitation of this vulnerability allows for SQL injection, where attackers can interfere with database queries. This could lead to unauthorized data access, data modification or deletion, and in some cases, executing administrative operations on the database.

Reproduction

The vulnerability can be reproduced by sending a POST request to the forgot-password.php file with a crafted email parameter that includes SQL injection payloads. This can be done using tools like sqlmap, which automates the process of finding and exploiting SQL injection vulnerabilities.

Remediation

It is recommended to implement input validation and sanitization for the email parameter, use prepared statements to prevent SQL injection, and minimize database user permissions to reduce the impact of potential exploitation.

Added: Sep 27, 2025, 9:17 AM
Updated: Sep 27, 2025, 9:17 AM

Vulnerability Rating

Custom Algorithm
spread
0.3
impact
3.1
exploitability
9.1
remediation
0.0
relevance
0.6
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.