SourceCodester SUP Online Shopping SQL Injection Vulnerability in replymsg.php

Vulnerability

A SQL injection vulnerability has been identified in SourceCodester SUP Online Shopping version 1.0, specifically within the admin/replymsg.php file. The issue arises from inadequate validation of the 'msgid' parameter, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, giving attackers unauthorized access to the database, where they could manipulate or leak sensitive data, disrupt services, and potentially gain full control over the system.

Impact

Exploitation of this vulnerability allows for unauthorized database access, manipulation or deletion of data, leakage of sensitive information, and could lead to a complete system compromise.

Reproduction

The vulnerability can be reproduced by sending a crafted GET request to the admin/replymsg.php file with an injected SQL payload in the 'msgid' parameter. Several types of SQL injection payloads can be used, including boolean-based blind, error-based, time-based blind, and UNION query injections.

Remediation

To address this vulnerability, it is recommended to use prepared statements and parameter binding to prevent SQL injection, conduct thorough input validation and filtering, and minimize database user permissions.

Added: May 8, 2026, 4:20 AM
Updated: May 8, 2026, 4:20 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
8.7
remediation
0.0
relevance
7.8
threat
6.4
urgency
2.9
incentive
4.2

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