CVE-2023-27033 in cdesignerinfo

Summary

by MITRE • 04/08/2023

Prestashop cdesigner v3.1.3 to v3.1.8 was discovered to contain a code injection vulnerability via the component CdesignerSaverotateModuleFrontController::initContent().

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 11/14/2025

The vulnerability identified as CVE-2023-27033 affects PrestaShop's cdesigner module version 3.1.3 through 3.1.8, representing a critical code injection flaw within the CdesignerSaverotateModuleFrontController::initContent() component. This vulnerability resides in the module's front-end controller implementation where user-supplied input is improperly sanitized and directly processed without adequate validation mechanisms. The flaw allows attackers to inject malicious code that can be executed within the context of the web application, potentially enabling arbitrary code execution on the affected system. The vulnerability stems from insufficient input validation and output encoding practices that fail to properly handle untrusted data submitted through the module's rotation functionality.

The technical exploitation of this vulnerability occurs when the CdesignerSaverotateModuleFrontController processes user input through the initContent() method without implementing proper sanitization or validation procedures. This creates a pathway for attackers to inject malicious payloads that can be executed within the web server's context, potentially allowing full system compromise. The vulnerability aligns with CWE-94, which describes "Improper Control of Generation of Code ('Code Injection')" and represents a classic example of how inadequate input validation can lead to severe security implications. The attack vector likely involves sending specially crafted parameters through the module's rotation interface, which then get processed by the vulnerable controller without proper security checks.

The operational impact of this vulnerability extends beyond simple code injection, as successful exploitation can lead to complete system compromise, data theft, and persistent backdoor installation. Attackers could leverage this vulnerability to gain administrative access to the PrestaShop installation, modify product catalogs, steal customer data, or deploy malware. The affected versions represent a significant risk to e-commerce platforms that rely on the cdesigner module for custom design functionality, as these systems often contain sensitive customer information and transactional data. This vulnerability particularly affects businesses using PrestaShop versions that incorporate the vulnerable module, potentially exposing their entire online store infrastructure to unauthorized access and manipulation.

Security mitigations for this vulnerability should include immediate patching of the cdesigner module to version 3.1.9 or later, which contains the necessary code fixes and input validation improvements. Organizations should also implement network segmentation and access controls to limit exposure of the vulnerable module, while monitoring for suspicious activities in web server logs that might indicate exploitation attempts. Additional defensive measures include implementing web application firewalls with rules specifically designed to detect and block malicious code injection patterns, and conducting comprehensive security assessments of all PrestaShop modules to identify similar vulnerabilities. The remediation process should also involve validating that all user inputs are properly sanitized and that output encoding is implemented consistently throughout the application to prevent similar issues from occurring in other components. This vulnerability demonstrates the critical importance of proper input validation and output encoding practices in web applications, aligning with ATT&CK technique T1059.001 for command and script injection, and emphasizes the need for comprehensive security testing of third-party modules in e-commerce platforms.

Reservation

02/27/2023

Disclosure

04/08/2023

Moderation

accepted

CPE

ready

EPSS

0.00902

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!