Skip to content

CVE-2018-20717 PrestaShop PHP Object Injection

HighCVSS 8.8 EPSS 2.7%
Published
Updated
Exploit status
No public exploit known
Technology
PHP

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
prestashop/prestashop < 1.7.2.5 1.7.2.5 Fixed
prestashop/prestashop(Packagist) < 1.7.2.5; = 1.7.0.0; = 1.7.0.0-beta.1.0; = 1.7.0.0-beta.2.0 +20 more 1.7.2.5 Fixed

Affected products

ProductAffected versionsFixed in
prestashop/prestashop(Packagist) < 1.7.2.5 1.7.2.5
prestashop/prestashop(Packagist) = 1.7.0.0 No fix listed
prestashop/prestashop(Packagist) = 1.7.0.0-beta.1.0 No fix listed
prestashop/prestashop(Packagist) = 1.7.0.0-beta.2.0 No fix listed
prestashop/prestashop(Packagist) = 1.7.0.0-beta.3.0 No fix listed
prestashop/prestashop(Packagist) = 1.7.0.0-beta.4.0 No fix listed
prestashop/prestashop(Packagist) = 1.7.0.0-rc.0.0 No fix listed
prestashop/prestashop(Packagist) = 1.7.0.0-rc.1.0 No fix listed
prestashop/prestashop(Packagist) = 1.7.0.0-rc.2.0 No fix listed
prestashop/prestashop(Packagist) = 1.7.0.1 No fix listed
prestashop/prestashop(Packagist) = 1.7.0.2 No fix listed
prestashop/prestashop(Packagist) = 1.7.0.3 No fix listed
prestashop/prestashop(Packagist) = 1.7.0.4 No fix listed
prestashop/prestashop(Packagist) = 1.7.0.5 No fix listed
prestashop/prestashop(Packagist) = 1.7.0.6 No fix listed
prestashop/prestashop(Packagist) = 1.7.1.0 No fix listed
prestashop/prestashop(Packagist) = 1.7.1.1 No fix listed
prestashop/prestashop(Packagist) = 1.7.1.2 No fix listed
prestashop/prestashop(Packagist) = 1.7.2.0 No fix listed
prestashop/prestashop(Packagist) = 1.7.2.0-rc.1.0 No fix listed
prestashop/prestashop(Packagist) = 1.7.2.1 No fix listed
prestashop/prestashop(Packagist) = 1.7.2.2 No fix listed
prestashop/prestashop(Packagist) = 1.7.2.3 No fix listed
prestashop/prestashop(Packagist) = 1.7.2.4 No fix listed
prestashop/prestashop < 1.7.2.5 1.7.2.5

References