PHPGurukul Online Shopping Portal SQL Injection Vulnerability in Bill-Ship Addresses File

Vulnerability

A critical SQL injection vulnerability has been identified in PHPGurukul Online Shopping Portal Project version 2.0. The issue resides in the file 'shopping/bill-ship-addresses.php', where the 'billingpincode' parameter is manipulated, 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 modification or deletion, and leakage of sensitive information.

Impact

Exploitation of this vulnerability allows for unauthorized database access, manipulation or deletion of data, and extraction of sensitive information. Such actions could disrupt services and cause significant harm to the system's overall security and operational continuity.

Reproduction

The vulnerability can be reproduced by sending a POST request to 'shopping/bill-ship-addresses.php' with a crafted 'billingpincode' parameter. This parameter should include a SQL injection payload, such as a time-based blind injection that uses the SQL 'SLEEP' function to demonstrate the injection's effectiveness.

Remediation

It is recommended to implement prepared statements and parameter binding to prevent SQL injection. Additionally, input validation and filtering should be applied to ensure that user input meets expected formats, thereby blocking malicious data. Finally, database user permissions should be minimized, ensuring that the account used for database connections has only the necessary privileges.

Added: Aug 15, 2025, 6:18 AM
Updated: Aug 15, 2025, 6:18 AM

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
7.5
exploitability
9.7
remediation
0.0
relevance
0.4
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.