Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend HTTP request to /flow.php?step=update_cart
-
DeliveryInject SQL payload in rec_id parameter
-
ExploitBypass absent input validation
-
ExecutionExecute arbitrary SQL against backend database
-
ImpactExfiltrate customer PII and credentials
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 authentication is required - the /flow.php cart update endpoint is part of the public-facing shopping flow and is accessible to any remote user without login. The only prerequisite is that the ECShop installation is network-reachable and running a version at or below 2.5.1. No special server configuration, non-default feature flag, or elevated privilege is needed. Exploitation is limited to installations actually running ECShop (an aging PHP e-commerce platform primarily deployed in Chinese-language markets); modern PHP installations with a strict WAF or input validation layer applied externally may partially mitigate the risk, but no application-level protection is confirmed in the codebase. |
| Impact | The combination of unauthenticated remote access (PR:N, AV:N), no attack complexity (AC:L), and a publicly available proof-of-concept raises the operational priority of this issue beyond its nominal CVSS 4.0 score of 6.9. The provided impact metrics VC:L/VI:L/VA:L appear conservative for a SQL injection - in practice, SQLi against an e-commerce database typically exposes customer PII, order histories, and potentially hashed or plaintext credentials, which would justify higher confidentiality and integrity impact ratings. No EPSS data was provided, so exploitation probability cannot be quantified, though the E:P exploit maturity indicator confirms PoC availability. KEV status is absent, meaning confirmed active exploitation is unverified. The lack of vendor response and absence of a patch means this remains an open, unmitigated exposure; even a small-footprint operator running an unpatched ECShop 2.5.1 instance should treat remediation as urgent given the zero-barrier exploitation path. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted HTTP GET or POST request to /flow.php?step=update_cart with a malicious rec_id value containing SQL metacharacters and a UNION-based or time-based blind injection payload. The flow_update_cart function incorporates the unsanitized value directly into a database query, allowing the attacker to enumerate tables, extract customer records and administrator credentials, or modify order data. A public PoC has been disclosed, lowering the technical barrier to exploitation to near-trivial. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 31, 2026
Unauthenticated SQL injection in ShopEx ECShop up to version 2.5.1 exposes e-commerce installations to remote database compromise via the cart update endpoint. The vulnerable parameter rec_id in /flow.php?step=update_cart is passed to the flow_update_cart function without sanitization, allowing remote attackers to execute arbitrary SQL queries against the backend database. A proof-of-concept exploit has been publicly disclosed and no vendor patch is available, as the vendor did not respond to the disclosure.
RemediationAI
No vendor-released patch identified at time of analysis - ShopEx did not respond to coordinated disclosure. As an immediate compensating control, restrict external access to /flow.php at the web server or WAF layer, specifically blocking or rate-limiting requests containing the step=update_cart parameter, though this may disrupt cart update functionality for legitimate users. Deploying a Web Application Firewall rule to detect and block SQL injection patterns in the rec_id parameter is a lower-disruption alternative, but WAF bypass is possible against a motivated attacker. For higher assurance, consider taking the ECShop instance offline or placing it behind authenticated access until a code-level fix is applied. Operators who can modify the source should apply parameterized queries or prepared statements to the flow_update_cart function as the correct permanent fix. The public PoC is accessible at https://uvxbywu62qm.feishu.cn/wiki/NWyrwRgmgi9DxDk5Hy1cARKfnsc and should be used to validate any code-level remediation.
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
ECShop is a PHP-based open-source e-commerce platform developed by ShopEx, widely deployed for online retail in Chinese-language markets. The vulnerability is classified as CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), a classic SQL injection root cause arising from failure to parameterize or escape user-supplied input before incorporating it into database queries. The affected code path is the flow_update_cart function within /flow.php when invoked with the step=update_cart parameter. The CPE string cpe:2.3:a:shopex:ecshop:*:*:*:*:*:*:*:* indicates all tracked ECShop versions are potentially covered, with confirmed affected versions up to and including 2.5.1. The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N confirms this is a trivially exploitable, unauthenticated network attack requiring no special conditions.
Know when Ecshop 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
Unauthenticated network SQLi with no complexity; e-commerce DB likely holds PII and credentials, justifying C:H/I:H over the conservative L/L/L in the provided CVSS 4.0.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A security vulnerability has been detected in ShopEx ECShop up to 2.5.1. This vulnerability affects the function flow_update_cart of the file /flow.php?step=update_cart. The manipulation of the argument rec_id leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
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.
A vulnerability was found in EcShop 4.1.5. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
ecshop v2.7.3 is affected by a SQL injection vulnerability in shopex\ecshop\upload\api\client\api.php. Rated critical se
A vulnerability, which was classified as critical, has been found in ECshop 4.1.8. Rated high severity (CVSS 8.8), this
A vulnerability has been found in ECshop 4.1.1 and classified as critical. Rated high severity (CVSS 8.8), this vulnerab
A vulnerability, which was classified as critical, was found in ECshop 4.1.5. Rated medium severity (CVSS 6.5), this vul
ECShop v4.1.16 contains an arbitrary file deletion vulnerability in the Admin Panel. Rated medium severity (CVSS 6.5), t
Unrestricted file upload in ShopEx ECShop 2.5.1 and earlier allows remote attackers to upload arbitrary file types by ma
Ecshop 3.6 is vulnerable to Cross Site Scripting (XSS) via ecshop/article_cat.php. Rated medium severity (CVSS 5.4), thi
A vulnerability, which was classified as problematic, was found in ECshop up to 4.1.8. Rated high severity (CVSS 8.8), t
A vulnerability, which was classified as problematic, has been found in ECshop up to 4.1.8. Rated high severity (CVSS 8.
EUVD-2026-68893
GHSA-f5x9-jgf8-wfg7
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB