SourceCodester Online Eyewear Shop SQL Injection Vulnerability in View Order File

Vulnerability

A critical SQL injection vulnerability has been identified in SourceCodester Online Eyewear Shop version 1.0. The issue resides in the file '/orders/view_order.php', where the 'id' parameter can be manipulated to execute unauthorized SQL commands. This vulnerability can be exploited remotely, potentially leading to unauthorized data access or modification.

Impact

Exploitation of this vulnerability allows for SQL injection, where an attacker can interfere with the application's database queries. This could lead to unauthorized data access, data manipulation, or in some cases, executing administrative operations on the database.

Reproduction

To reproduce this vulnerability, send a request to the '/orders/view_order.php' file with a crafted 'id' parameter that includes SQL injection payloads. The injection can be verified by observing the application's response, such as database error messages or unexpected data being returned.

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
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.