Code Injection in PrestaShop - CVE-2018-20717
Published: January 15, 2019 / Updated: July 17, 2020
PrestaShop
Detailed vulnerability description
The vulnerability allows a remote authenticated user to execute arbitrary code.
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.