Advisory

GHSA-xx67-2j3v-h76p

Also known as: CVE-2018-20717

Summary

PrestaShop PHP Object Injection

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-14 01:37 UTC
Modified
2024-02-16 08:18 UTC

Affected packages and fixes

prestashop/prestashop

Packagist · All systems

Affected

  • introduced 0, fixed 1.7.2.5 (ecosystem)

Fixed versions

1.7.2.5

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences