Skip to content

PrestaShop PHP Object Injection

High severity GitHub Reviewed Published May 14, 2022 to the GitHub Advisory Database • Updated Oct 6, 2023

Package

composer prestashop/prestashop (Composer)

Affected versions

< 1.7.2.5

Patched versions

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.

References

Published by the National Vulnerability Database Jan 15, 2019
Published to the GitHub Advisory Database May 14, 2022
Reviewed Jul 24, 2023
Last updated Oct 6, 2023

Severity

High
8.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2018-20717

GHSA ID

GHSA-xx67-2j3v-h76p

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.