Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReconnaissance of admin endpoints
-
DeliveryCraft SQL injection payload in msgid parameter
-
ExploitSend malicious HTTP request to /admin/viewmsg.php
-
ExecutionSQL parser executes attacker's query
-
PersistDatabase returns sensitive data or modified records
-
ImpactAttacker exfiltrates or modifies application data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The vulnerability requires the /admin/viewmsg.php file to be accessible over the network without authentication bypass or IP restrictions. The msgid parameter must be directly processed in a SQL query without prepared statement protection. No special configuration, non-default settings, or user interaction is required - the vulnerability is exploitable against default installations. Limiting factors include: if the admin directory is protected by web server authentication (HTTP Basic Auth, reverse proxy rules), the file is not network-accessible; if a WAF with SQL injection rules is deployed upstream; or if database user permissions are restrictive (e.g., read-only accounts with no UPDATE/DELETE rights). The vulnerability does not require admin credentials or valid session tokens. |
| Impact | The CVSS v4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms network-accessible unauthenticated exploitation with low attack complexity, indicating the vulnerability is remotely exploitable without special conditions or user interaction. The confidentiality, integrity, and availability metrics (VC:L/VI:L/VA:L) suggest limited direct impact per the CVSS rating, though SQL injection in a shopping platform could expose customer data, payment information, or enable account takeover depending on database content and permissions. The presence of publicly available exploit code (E:P) and vendor reporting through VulDB rather than coordinated disclosure suggests limited vendor engagement in patching. However, the moderate CVSS score (5.5) combined with public POC availability suggests this is a real but not critical-severity threat - prioritization should account for whether instances are internet-facing and contain sensitive data. The absence of EPSS score prevents probabilistic exploitation assessment, but public POC availability is a strong signal of likelihood. |
| Exploit ScenarioDerived | An unauthenticated attacker discovers a publicly accessible instance of SUP Online Shopping and crafts a malicious HTTP request to /admin/viewmsg.php with a SQL injection payload in the msgid parameter, such as msgid=1' OR '1'='1. The application concatenates this directly into a SQL query without sanitization, allowing the attacker to extract customer records, administrator credentials, or payment data from the backend database. The low attack complexity and lack of authentication mean the attack can be automated and scaled across multiple instances. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 08, 2026
SQL injection in SourceCodester SUP Online Shopping 1.0 allows unauthenticated remote attackers to execute arbitrary SQL queries via manipulation of the msgid parameter in /admin/viewmsg.php. The vulnerability has a publicly available exploit and impacts data confidentiality, integrity, and availability with a CVSS score of 5.5. While actively demonstrated through public proof-of-concept code, the lack of authentication requirements combined with network accessibility presents moderate real-world risk to exposed instances.
RemediationAI
Implement immediate input validation and parameterized queries: replace all SQL string concatenation with prepared statements using bound parameters in /admin/viewmsg.php and throughout the application. Upgrade to a patched version if the vendor releases one; check SourceCodester's official website (https://www.sourcecodester.com/) for updates. As a temporary compensating control, restrict network access to /admin/ paths using a Web Application Firewall (WAF) with SQL injection signature rules, or implement IP-based access controls limiting admin access to trusted networks only - this reduces attack surface while maintaining functionality for legitimate administrators. Additionally, apply parameterized query framework retrofitting across all user-input handling in the shopping platform, and conduct a security audit of the codebase for similar injection vulnerabilities. Monitor database logs for suspicious query patterns indicative of exploitation attempts.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a classic SQL injection flaw (CWE-89) in a PHP-based e-commerce application. The /admin/viewmsg.php file fails to properly sanitize or parameterize the msgid user input before incorporating it into SQL queries. The application likely uses string concatenation or inadequate input validation when constructing database queries, allowing an attacker to inject arbitrary SQL commands. The CPE indicates all versions of SUP Online Shopping are potentially affected. PHP applications commonly fall victim to SQLi when direct string interpolation is used in query construction instead of prepared statements with bound parameters.
Know when Sup Online Shopping gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was found in SourceCodester SUP Online Shopping 1.0. The affected element is an unknown function of the file /admin/viewmsg.php. Performing a manipulation of the argument msgid results in sql injection. The attack is possible to be carried out remotely. The exploit has been made public and could be used.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Related Vulnerabilities in SourceCodester SUP Online Shopping SQL Injection
View all 4More in Sup Online Shopping
View allCross Site Scripting in SUP Online Shopping v.1.0 allows a remote attacker to execute arbitrary code via the Name, Email
Cross-site scripting in SourceCodester SUP Online Shopping 1.0 is exploitable via the productName parameter in /admin/pr
EUVD-2026-28489
GHSA-93h2-p56q-h6jc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB