CVE-2023-43663: PrestaShop allows users to uninstall modules from backoffice, even with low rights
4.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.2897%
CWE
Published
9/28/2023
Updated
11/7/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
prestashop/prestashop | composer | < 8.1.2 | 8.1.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from insufficient hook validation in the ajaxProcessSaveDashConfig method. The patch adds a allowlist (DASHBOARD_ALLOWED_HOOKS) to restrict executable hooks, and removes the generic Validate::isHookName check which previously permitted dangerous hooks. This function handles dashboard configuration updates and was accessible to low-privileged users without proper authorization checks for module management actions.