PHPGurukul Daily Expense Tracking System SQL Injection Vulnerability in register.php

Vulnerability

A SQL injection vulnerability exists in PHPGurukul Daily Expense Tracking System version 1.1, specifically within the register.php file. The issue arises because the application fails to properly sanitize or validate the email parameter, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication.

Impact

Exploitation of this vulnerability allows attackers to manipulate SQL queries, potentially leading to unauthorized database access, data modification or deletion, and disclosure of sensitive information.

Reproduction

To reproduce this vulnerability, send a POST request to the register.php file with an injected SQL payload in the email parameter. The injection can be boolean-based blind or time-based blind, taking advantage of SQL injection vulnerabilities that allow for conditional responses or time delays.

Remediation

It is recommended to use prepared statements and parameter binding to prevent SQL injection. Additionally, input validation and filtering should be implemented to ensure that user input meets expected formats, and database user permissions should be minimized to the least required.

Added: Apr 13, 2026, 5:34 PM
Updated: Apr 13, 2026, 5:34 PM

Vulnerability Rating

Custom Algorithm
spread
0.8
impact
5.0
exploitability
9.5
remediation
0.0
relevance
5.8
threat
6.4
urgency
2.9
incentive
8.3

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