VDB
Sign up
HIGH8.8

GHSA-xx67-2j3v-h76p

PrestaShop PHP Object Injection

Quick fix

GHSA-xx67-2j3v-h76p — prestashop/prestashop: upgrade to the fixed version with the command below.

composer require prestashop/prestashop:^1.7.2.5

Details

In the orders section of PrestaShop before 1.7.2.5, an attack is possible after gaining access to a target store with a user role with the rights of at least a Salesman or higher privileges. The attacker can then inject arbitrary PHP objects into the process and abuse an object chain in order to gain Remote Code Execution. This occurs because protection against serialized objects looks for a `0:` followed by an integer, but does not consider `0:+` followed by an integer.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/prestashop/prestashop
Introduced in: 0Fixed in: 1.7.2.5
Fixcomposer require prestashop/prestashop:^1.7.2.5

References