PHPGurukul Small CRM SQL Injection Vulnerability in Change Password Function

Vulnerability

A critical SQL injection vulnerability has been identified in PHPGurukul Small CRM version 3.0, specifically within the change-password.php file. The issue arises from inadequate input validation of the 'oldpass' parameter, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication, potentially leading to unauthorized database access, data manipulation, and disruption of services.

Impact

Exploitation of this vulnerability allows for unauthorized database access, manipulation or deletion of data, leakage of sensitive information, and could disrupt normal service operations.

Reproduction

The vulnerability can be reproduced by sending a POST request to '/admin/change-password.php' with an injected payload in the 'oldpass' parameter. This payload should be crafted to exploit the time-based blind SQL injection vulnerability, using a SQL injection technique that leverages the 'SLEEP' function to create a time delay, indicating successful exploitation.

Remediation

It is recommended to implement prepared statements and parameter binding to prevent SQL injection, validate and filter user input, and minimize database user permissions.

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

Vulnerability Rating

Custom Algorithm
spread
0.3
impact
7.5
exploitability
9.1
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.