PHPGurukul Online Shopping Portal SQL Injection Vulnerability in Search Result File

Vulnerability

A critical SQL injection vulnerability has been identified in PHPGurukul/Campcodes Online Shopping Portal version 2.1. The issue resides in the search-result.php file, where the product parameter is not properly validated, allowing attackers to manipulate SQL queries and execute unauthorized commands. This vulnerability can be exploited remotely, potentially leading to the theft of sensitive database information.

Impact

Exploitation of this vulnerability allows for SQL injection, where an attacker can execute arbitrary SQL commands. This could result in unauthorized data access, data manipulation, or in some cases, executing commands on the server if the database has such capabilities.

Reproduction

To reproduce this vulnerability, send a request to the /search-result.php endpoint with a crafted product parameter that includes SQL injection payloads. The lack of input validation will allow the injected SQL code to be executed, demonstrating the vulnerability.

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

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
5.0
exploitability
9.7
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.