Critical

Unrestricted Upload of File with Dangerous Type in Cdesigner module for PrestaShop

  • Disclosed: 06.04.2023
  • Updated: 11.10.2026 10:22

In the module “Cdesigner” (cdesigner) up to 3.2.1 (3.2.2 fix the issue), a guest can upload files with extensions .php.+ (like .php7)

Note : .php extension is correctly block so it will be harmless for most servers’s setups.

Important : If you use default configuration for your server, you should be safe - which should be the case of the majority of servers, so don’t worry too much about this CVE.

We are forced to tag it as critical since it will be critical for some setups, but for the majority, it should be completly harmless.

You can check if you are vulnerable by uploading files with extensions : .php3 / .php4 / .php5 / .php7 / .php8 with this content : <?php echo (21+21); - when you make a HTTP call against theses files, if you do not see 42, all is OK else, you service is vulnerable, contact without delay your hoster.

The method CdesignerSaverotateModuleFrontController::initContent() misuses strpos which can lead to upload .phpX files, depending on your server’s setup, which will lead to a critical vulnerability CWE-94.

This exploit is actively exploited in the wild

WARNING : If your service is vulnerable, be warn that this exploit will bypass some WAF (base64 payloads)

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
PrestaShop module cdesigner > 3.1.3, <= 3.2.1

> 3.1.3, <= 3.2.1 (3.2.2 fix the issue)

3.2.2

References

CVSS score 10/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness (CWE)
CWE-434
Platform
PrestaShop
Package
cdesigner
Disclosed
06.04.2023
Updated
11.10.2026 10:22

Sources and licenses

Friends-Of-Presta - CVE-2023-27033 - MIT

MIT
The MIT License (MIT)

Copyright (c) 2016-present Parker Moore and the minima contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Vulnerability history: cdesigner

All published vulnerabilities of this package (PrestaShop module), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
2
First → latest
04.2023 05.2023
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 2

Disclosures per year

  1. 2023: 2
  2. 2024: 0
  3. 2025: 0
  4. 2026: 0
  1. Unrestricted Upload of File with Dangerous Type in Cdesigner module for PrestaShop this entry
    Critical · 10.0 CVE-2023-27033 > 3.1.3, <= 3.2.1 3.2.2

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.