GitHub Advisoryadvisory · Packagist

GHSA-xx67-2j3v-h76p PrestaShop PHP Object Injection

HIGH Published 2022-05-14 Modified 2023-10-06 Official page ↗
Aliases
CVE-2018-20717
Ecosystem
Packagist
Packages
prestashop/prestashop
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-94
Reviewed
2023-07-24

Affected packages

• Packagist prestashop/prestashop: < 1.7.2.5 → fixed in 1.7.2.5

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.

Related

Alias · CVE (1)

  • CVE-2018-20717 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… vulnerability

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References