{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-46845",
        "ASSIGNER": "vultures@jpcert.or.jp",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Code injection"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "EC-CUBE CO.,LTD.",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "EC-CUBE 4 series",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "4.0.0 to 4.0.6-p3"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": " 4.1.0 to 4.1.2-p2"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": " and 4.2.0 to 4.2.2"
                                        }
                                    ]
                                }
                            },
                            {
                                "product_name": "EC-CUBE 3 series",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "3.0.0 to 3.0.18-p6"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://www.ec-cube.net/info/weakness/20231026/index_40.php",
                "refsource": "MISC",
                "name": "https://www.ec-cube.net/info/weakness/20231026/index_40.php"
            },
            {
                "url": "https://www.ec-cube.net/info/weakness/20231026/index.php",
                "refsource": "MISC",
                "name": "https://www.ec-cube.net/info/weakness/20231026/index.php"
            },
            {
                "url": "https://www.ec-cube.net/info/weakness/20231026/index_3.php",
                "refsource": "MISC",
                "name": "https://www.ec-cube.net/info/weakness/20231026/index_3.php"
            },
            {
                "url": "https://jvn.jp/en/jp/JVN29195731/",
                "refsource": "MISC",
                "name": "https://jvn.jp/en/jp/JVN29195731/"
            }
        ]
    }
}