PHPGurukul User Management System SQL Injection Vulnerability in Login.php

Vulnerability

A SQL injection vulnerability has been identified in PHPGurukul User Management System version 1.0. The issue arises in the login.php file, where the emailid parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication.

Impact

Exploitation of this vulnerability allows attackers to inject SQL queries that could be executed by the database. This could lead to unauthorized data access, data manipulation, and in some cases, executing commands on the server, depending on the database and application configuration.

Reproduction

The vulnerability can be reproduced by sending a POST request to the login.php file with a crafted emailid parameter that includes malicious SQL 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 validate and sanitize user inputs, use prepared statements to prevent SQL injection, and conduct regular security audits to identify and fix vulnerabilities.

Added: Sep 17, 2025, 11:19 PM
Updated: Sep 17, 2025, 11:19 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
8.7
remediation
0.0
relevance
0.5
threat
6.4
urgency
2.9
incentive
5.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.