Code injection in EC-CUBE 4 series
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-94.
Summary
EC-CUBE 3 series (3.0.0 to 3.0.18-p6) and 4 series (4.0.0 to 4.0.6-p3, 4.1.0 to 4.1.2-p2, and 4.2.0 to 4.2.2) contain an arbitrary code execution vulnerability due to improper settings of the template engine Twig included in the product. As a result, arbitrary code may be executed on the server where the product is running by a user with an administrative privilege.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| EC-CUBE CO.,LTD. | EC-CUBE 4 series | 4.0.0 to 4.0.6-p3; 4.1.0 to 4.1.2-p2; and 4.2.0 to 4.2.2 | — | No fix listed | CNA |
| EC-CUBE CO.,LTD. | EC-CUBE 3 series | 3.0.0 to 3.0.18-p6 | — | No fix listed | CNA |
- EC-CUBE 4 series VendorEC-CUBE CO.,LTD. Affected 4.0.0 to 4.0.6-p3; 4.1.0 to 4.1.2-p2; and 4.2.0 to 4.2.2 Fixed in — No fix listed CNA
- EC-CUBE 3 series VendorEC-CUBE CO.,LTD. Affected 3.0.0 to 3.0.18-p6 Fixed in — No fix listed CNA
CPE configurations NVD · 12
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ec-cube:ec-cube:*:*:*:*:*:*:*:* | 3.0.0 – 3.0.18; 4.0.0 – 4.0.6; 4.1.0 – 4.1.2; 4.2.0 to before 4.2.3 | Vulnerable | EC-CUBE CO.,LTD. |
| cpe:2.3:a:ec-cube:ec-cube:3.0.18:p1:*:*:*:*:*:* | 3.0.18 p1 | Vulnerable | EC-CUBE CO.,LTD. |
| cpe:2.3:a:ec-cube:ec-cube:3.0.18:p2:*:*:*:*:*:* | 3.0.18 p2 | Vulnerable | EC-CUBE CO.,LTD. |
| cpe:2.3:a:ec-cube:ec-cube:3.0.18:p3:*:*:*:*:*:* | 3.0.18 p3 | Vulnerable | EC-CUBE CO.,LTD. |
| cpe:2.3:a:ec-cube:ec-cube:3.0.18:p4:*:*:*:*:*:* | 3.0.18 p4 | Vulnerable | EC-CUBE CO.,LTD. |
| cpe:2.3:a:ec-cube:ec-cube:3.0.18:p5:*:*:*:*:*:* | 3.0.18 p5 | Vulnerable | EC-CUBE CO.,LTD. |
| cpe:2.3:a:ec-cube:ec-cube:3.0.18:p6:*:*:*:*:*:* | 3.0.18 p6 | Vulnerable | EC-CUBE CO.,LTD. |
| cpe:2.3:a:ec-cube:ec-cube:4.0.6:p1:*:*:*:*:*:* | 4.0.6 p1 | Vulnerable | EC-CUBE CO.,LTD. |
| cpe:2.3:a:ec-cube:ec-cube:4.0.6:p2:*:*:*:*:*:* | 4.0.6 p2 | Vulnerable | EC-CUBE CO.,LTD. |
| cpe:2.3:a:ec-cube:ec-cube:4.0.6:p3:*:*:*:*:*:* | 4.0.6 p3 | Vulnerable | EC-CUBE CO.,LTD. |
- cpe:2.3:a:ec-cube:ec-cube:*:*:*:*:*:*:*:* Versions 3.0.0 – 3.0.18; 4.0.0 – 4.0.6; 4.1.0 – 4.1.2; 4.2.0 to before 4.2.3 Vulnerable ·EC-CUBE CO.,LTD.
- cpe:2.3:a:ec-cube:ec-cube:3.0.18:p1:*:*:*:*:*:* Versions 3.0.18 p1 Vulnerable ·EC-CUBE CO.,LTD.
- cpe:2.3:a:ec-cube:ec-cube:3.0.18:p2:*:*:*:*:*:* Versions 3.0.18 p2 Vulnerable ·EC-CUBE CO.,LTD.
- cpe:2.3:a:ec-cube:ec-cube:3.0.18:p3:*:*:*:*:*:* Versions 3.0.18 p3 Vulnerable ·EC-CUBE CO.,LTD.
- cpe:2.3:a:ec-cube:ec-cube:3.0.18:p4:*:*:*:*:*:* Versions 3.0.18 p4 Vulnerable ·EC-CUBE CO.,LTD.
- cpe:2.3:a:ec-cube:ec-cube:3.0.18:p5:*:*:*:*:*:* Versions 3.0.18 p5 Vulnerable ·EC-CUBE CO.,LTD.
- cpe:2.3:a:ec-cube:ec-cube:3.0.18:p6:*:*:*:*:*:* Versions 3.0.18 p6 Vulnerable ·EC-CUBE CO.,LTD.
- cpe:2.3:a:ec-cube:ec-cube:4.0.6:p1:*:*:*:*:*:* Versions 4.0.6 p1 Vulnerable ·EC-CUBE CO.,LTD.
- cpe:2.3:a:ec-cube:ec-cube:4.0.6:p2:*:*:*:*:*:* Versions 4.0.6 p2 Vulnerable ·EC-CUBE CO.,LTD.
- cpe:2.3:a:ec-cube:ec-cube:4.0.6:p3:*:*:*:*:*:* Versions 4.0.6 p3 Vulnerable ·EC-CUBE CO.,LTD.
Show 2 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ec-cube:ec-cube:4.1.2:p1:*:*:*:*:*:* | 4.1.2 p1 | Vulnerable | EC-CUBE CO.,LTD. |
| cpe:2.3:a:ec-cube:ec-cube:4.1.2:p2:*:*:*:*:*:* | 4.1.2 p2 | Vulnerable | EC-CUBE CO.,LTD. |
- cpe:2.3:a:ec-cube:ec-cube:4.1.2:p1:*:*:*:*:*:* Versions 4.1.2 p1 Vulnerable ·EC-CUBE CO.,LTD.
- cpe:2.3:a:ec-cube:ec-cube:4.1.2:p2:*:*:*:*:*:* Versions 4.1.2 p2 Vulnerable ·EC-CUBE CO.,LTD.
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2023-46845
- 2026-10-03 Alias added: GHSA-cp9w-gp2m-qfm3
References
More EC-CUBE CO.,LTD. Ec-cube vulnerabilities
- TI-2020-04559 Path traversal in EC-CUBE CVSS 3.1HIGH 8.1
- TI-2021-04004 Improper access control vulnerability in EC-CUBE 4.0.6 (EC-CUBE 4 series) allows a remote… CVSS 3.1HIGH 7.5
- TI-2020-04641 Improper input validation in EC-CUBE CVSS 3.1HIGH 7.5
- TI-2008-04745 SQL injection vulnerability in LOCKON CO.,LTD. CVSS 2.0HIGH 7.5
- TI-2008-04326 SQL injection vulnerability in EC-CUBE Ver2 2.1.2a and earlier, and Ver2 RC 2.3.0-rc1 and… CVSS 2.0HIGH 7.5
- TI-2021-04056 Incorrect authorization in EC-CUBE 2 series CVSS 3.1MEDIUM 6.5
Sources
- CVE-2023-46845 · CVE Program
- CVE-2023-46845 · NVD
- FIRST EPSS
- GHSA-cp9w-gp2m-qfm3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences