Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAccess admin/pack.php endpoint
-
DeliveryCraft malicious PHP file upload request
-
ExploitBypass check_img_type validation via pack_img argument
-
ExecutionWrite PHP webshell to web-accessible directory
-
ImpactExecute arbitrary OS commands via webshell
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The vulnerable endpoint is admin/pack.php, which is part of the administrative interface of ECShop. Exploitation requires the ability to send an HTTP request to this admin endpoint - under default configurations this typically requires valid administrator credentials. However, the provided CVSS 4.0 vector assigns PR:N (no privileges required), suggesting the reporter may have found that the endpoint can be reached without authentication in some configurations, or that authentication can be bypassed; this has not been independently confirmed. The limiting factors that defenders should assess are: (1) whether the admin panel is network-accessible from untrusted networks, (2) whether the admin/ directory enforces authentication, and (3) whether the upload directory is web-executable. Deployments where the admin panel is restricted to internal networks face materially lower risk. |
| Impact | The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) assigns no privileges required and network reachability, which conflicts with the vulnerability's location in the admin/ directory - typically access-controlled. The CIA impact metrics are scored only at Low (VC:L/VI:L/VA:L), which significantly understates the real-world impact of a successful unrestricted file upload to a web-accessible path (webshell = full RCE). These two signals are inconsistent and should be verified against the vendor's own advisory; however, no vendor response has been received. A publicly available exploit (E:P in the CVSS 4.0 vector, confirmed by VulDB) raises the practical urgency regardless of CVSS score. EPSS data is not provided. KEV status is not confirmed. The net assessment is a real, elevated priority for any deployment of ECShop, particularly given absent vendor engagement and a live public exploit. |
| Exploit ScenarioDerived | An attacker with access to the ECShop administrative interface - whether through credential theft, brute force, or if the admin panel is improperly exposed without authentication - submits a crafted HTTP multipart request to admin/pack.php with pack_img set to a PHP webshell file whose type check is bypassed. The file is stored in a web-accessible path, after which the attacker issues a direct HTTP request to execute the webshell and gain server-side code execution. A public exploit demonstrating this technique is available via the Feishu wiki reference. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 31, 2026
Unrestricted file upload in ShopEx ECShop 2.5.1 and earlier allows remote attackers to upload arbitrary file types by manipulating the pack_img argument passed to the check_img_type function in admin/pack.php. Successful exploitation can result in webshell deployment, granting full server-side code execution. A public exploit has been disclosed, and the vendor has not responded to disclosure outreach, leaving no official patch available.
RemediationAI
No vendor-released patch has been identified at time of analysis; the vendor did not respond to disclosure. In the absence of an official fix, operators should immediately restrict access to the admin/ directory to trusted IP ranges via web server configuration (e.g., nginx allow/deny or Apache RequireIP directives) - this directly reduces attack surface for any admin-path vulnerability. Additionally, configure the web server or PHP to prohibit execution of uploaded files in any upload or temporary directory (e.g., set the upload directory outside web root, or add a location block in nginx with deny all for PHP execution). Monitor file system changes in web-accessible directories for unexpected .php files as a detection control. Advisory and exploit details are available at https://vuldb.com/vuln/397301.
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 (cpe:2.3:a:shopex:ecshop:*:*:*:*:*:*:*:*) is a PHP-based open-source e-commerce framework developed by ShopEx, historically popular in the Chinese market. The vulnerable function check_img_type() in admin/pack.php is responsible for validating uploaded file types for the pack_img parameter. The CWE-434 (Unrestricted Upload of File with Dangerous Type) root cause indicates the server-side validation is either absent or bypassable - for example, relying solely on user-supplied MIME type, file extension, or magic byte checks that can be spoofed. A crafted upload can result in a PHP webshell persisting on the server in a web-accessible directory, enabling arbitrary command execution in the context of the web server process.
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
Admin-path location implies PR:H; successful webshell upload changes scope and yields full C/I/A impact on the host.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A weakness has been identified in ShopEx ECShop up to 2.5.1. This affects the function check_img_type of the file admin/pack.php. Executing a manipulation of the argument pack_img can lead to unrestricted upload. It is possible to launch the attack remotely. The exploit has been made available to the public and could be used for attacks. 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
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
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
Unauthenticated SQL injection in ShopEx ECShop up to version 2.5.1 exposes e-commerce installations to remote database c
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-68885
GHSA-2r69-3cfm-2cc4
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB