Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed registration endpoint
-
DeliveryCraft SQL payload in Name field
-
ExploitSubmit unauthenticated POST request
-
ExecutionTrigger unsanitized SQL query in save_client
-
ImpactExtract or manipulate database records
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 | No special conditions are required for exploitation. The vulnerable save_client function is invoked through the public-facing user registration endpoint, which requires no prior authentication and is accessible to any remote user. The attack targets the Name argument submitted during registration, meaning the only prerequisite is that the web application is reachable over a network. Exploitation is limited to SourceCodester Multi-Vendor Online Grocery Management System version 1.0 specifically; other versions are not confirmed affected. The impact is constrained to the application's database: confidentiality, integrity, and availability are all assessed as Low, reflecting bounded rather than full-system compromise. No specific platform configuration or non-default feature must be enabled. |
| Impact | The CVSS 4.0 score of 5.5 with vector AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L reflects a moderate-severity but highly accessible vulnerability: no authentication, no complexity, no user interaction required. The limited impact metrics (L/L/L) suggest bounded data exposure and manipulation rather than full compromise. The vulnerability is not listed in CISA KEV, indicating no confirmed active exploitation at scale; however, a public PoC exists on GitHub (github.com/lee945/cve/issues/6), significantly lowering the barrier for opportunistic attackers. EPSS data is not provided, so exploitation probability cannot be quantitatively assessed. The primary limiting real-world risk factor is the extremely narrow deployment footprint - SourceCodester projects are predominantly used in academic or demo contexts rather than production commercial environments. For any live instance, however, the risk should be treated as high given the zero-barrier exploitation path and public PoC. |
| Exploit ScenarioDerived | An unauthenticated attacker submits a crafted HTTP POST request to the registration endpoint, injecting SQL syntax into the Name form field (e.g., a UNION SELECT or time-based blind payload). The save_client function in classes/Users.php passes the unsanitized value directly into a SQL query, allowing the attacker to extract database contents, modify records, or enumerate credentials. A public PoC on GitHub demonstrates this technique, meaning script-level automation of the attack requires minimal attacker sophistication. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 05, 2026
SQL injection in SourceCodester Multi-Vendor Online Grocery Management System 1.0 allows unauthenticated remote attackers to manipulate backend database queries via the Name argument in the save_client function of the registration handler. The vulnerability resides in classes/Users.php and is exploitable without any prior authentication, as it targets the public-facing user registration flow. A public proof-of-concept exploit has been published on GitHub, and no KEV listing exists, though the low-friction exploitation path and public PoC elevate urgency for any live deployment of this software.
RemediationAI
No vendor-released patch has been identified at the time of analysis; SourceCodester has not published an advisory or updated release. The primary remediation is to replace direct SQL string concatenation in the save_client function (classes/Users.php) with parameterized queries or prepared statements using PHP's PDO or MySQLi extensions - this eliminates the root cause without side effects. As an interim compensating control, operators should implement input validation to restrict the Name field to alphanumeric characters and enforce maximum length, which reduces but does not eliminate injection risk. Web application firewall (WAF) rules targeting SQL metacharacters in registration form fields can provide additional detection and blocking. Given the absence of a vendor patch, organizations running this software in any live or semi-production context should strongly consider taking the application offline until the code is manually patched or replaced. Reference: https://vuldb.com/vuln/376291 and the PoC at https://github.com/lee945/cve/issues/6 for reproduction details.
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 affected component is the PHP-based registration handler (classes/Users.php) within SourceCodester's Multi-Vendor Online Grocery Management System, a free open-source PHP/MySQL web application. The save_client function processes user-supplied registration input, including the Name parameter, without adequate sanitization or parameterized query use, resulting in CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). The CPE string cpe:2.3:a:sourcecodester:multi-vendor_online_grocery_management_system:*:*:*:*:*:*:*:* confirms version 1.0 is affected. The root cause is unsanitized concatenation of user input directly into SQL query strings, a classic and well-understood injection pattern. The CVSS 4.0 base vector AV:N/AC:L/AT:N/PR:N/UI:N reflects that no prerequisites beyond network access are required.
Know when PHP 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
Registration endpoint is network-accessible with no auth; impact limited to low-level DB read/write, no scope change.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.org
A vulnerability was found in SourceCodester Multi-Vendor Online Grocery Management System 1.0. This affects the function save_client of the file classes/Users.php of the component Registration Handler. The manipulation of the argument Name results in sql injection. It is possible to launch the attack 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 Multi-Vendor Online Grocery Management System SQL Injection and Access Control Flaws
View all 6In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-41718
GHSA-63xw-cmj4-rvfq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB