PrestaShop
cpe:2.3:a:prestashop:prestashop:*:*:*:*:*:*:*
- 8.2.0
A PHAR deserialization vulnerability has been identified in PrestaShop version 8.2.0, specifically within the Theme Manager component. This vulnerability allows attackers to execute arbitrary code by sending a crafted POST request that includes a malicious PHAR file. The issue arises because the application deserializes user input without proper validation, enabling the execution of unauthorized PHP code on the server.
Exploitation of this vulnerability leads to unauthorized remote code execution on the server where PrestaShop is installed.
To reproduce this vulnerability, upload a malicious PHAR file through the 'import_theme[import_from_web]' field in a POST request to the themes import administration page. Ensure that the request includes a valid token and is sent to a PrestaShop 8.2.0 installation running PHP 7.x.
Users are advised to update to PrestaShop version 8.2.2 or later, where this vulnerability has been fixed.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.