Code-Projects Online Book Shop SQL Injection Vulnerability in detail.php

Vulnerability

A critical SQL injection vulnerability has been identified in Code-Projects Online Book Shop version 1.0. The issue resides in the detail.php file, where the id parameter is manipulated without proper validation or sanitization, allowing remote attackers to inject malicious SQL code. This vulnerability could be exploited to gain unauthorized access to the application's database or potentially execute remote code.

Impact

Exploitation of this vulnerability allows for SQL injection, with the possibility of accessing or manipulating the application's database. According to the vulnerability disclosure, this SQL injection could be leveraged for remote code execution.

Reproduction

To reproduce this vulnerability, send a request to the detail.php file with a crafted id parameter that includes malicious SQL code. The lack of input validation will allow the injected SQL to be executed, manipulating the database or extracting sensitive information.

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

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
7.5
exploitability
6.8
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
1.7

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