CVE-2023-46845: Code Injection

Published Nov 7, 2023
·
Updated

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.

Affected Software

15 affected components
EC-CUBE EC-CUBE>=3.0.0<=3.0.18
EC-CUBE EC-CUBE>=4.0.0<=4.0.6
EC-CUBE EC-CUBE>=4.1.0<=4.1.2
EC-CUBE EC-CUBE>=4.2.0<4.2.3
EC-CUBE EC-CUBE=3.0.18-p1
EC-CUBE EC-CUBE=3.0.18-p2
EC-CUBE EC-CUBE=3.0.18-p3
EC-CUBE EC-CUBE=3.0.18-p4
EC-CUBE EC-CUBE=3.0.18-p5
EC-CUBE EC-CUBE=3.0.18-p6
EC-CUBE EC-CUBE=4.0.6-p1
EC-CUBE EC-CUBE=4.0.6-p2
EC-CUBE EC-CUBE=4.0.6-p3
EC-CUBE EC-CUBE=4.1.2-p1
EC-CUBE EC-CUBE=4.1.2-p2

Event History

Nov 7, 2023
CVE Published
via MITRE·07:39 AM
Data Sourced
via MITRE·07:39 AM
DescriptionWeakness
Data Sourced
via NVD·08:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2023-46845?

CVE-2023-46845 is a vulnerability found in 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). It allows arbitrary code execution due to improper settings of the template engine Twig.

2

How severe is the CVE-2023-46845 vulnerability?

The severity of CVE-2023-46845 is rated as high with a severity score of 7.2.

3

How can I fix the CVE-2023-46845 vulnerability?

To fix the CVE-2023-46845 vulnerability, you should update EC-CUBE to version 3.0.19 or higher for 3 series, or version 4.2.3 or higher for 4 series.

4

Where can I find more information about CVE-2023-46845?

You can find more information about CVE-2023-46845 on the EC-CUBE official website

5

What is CWE-94?

CWE-94 is the Common Weakness Enumeration category for Improper Control of Generation of Code (Code Injection).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203