CVE-2018-20717: PrestaShop PHP Object Injection

Published Jan 15, 2019
·
Updated

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.

Other sources

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.

— MITRE

Affected Software

3 affected componentsFixes available
composer/prestashop/prestashop<1.7.2.5
1.7.2.5
Prestashop PrestaShop<1.7.2.5
composer/prestashop/prestashop<1.7.2.5
1.7.2.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/prestashop/prestashop to a version that resolves this vulnerability.

    Fixed in 1.7.2.5

Event History

Jan 15, 2019
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
Data Sourced
via NVD·04:29 PM
DescriptionSeverityWeaknessAffected Software
May 14, 2022
Advisory Published
01:37 AM
Data Sourced
via GitHub·01:37 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Packagist·01:37 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2018-20717?

CVE-2018-20717 has a high severity rating due to the potential for remote code execution when exploiting affected versions of PrestaShop.

2

How do I fix CVE-2018-20717?

To fix CVE-2018-20717, upgrade PrestaShop to version 1.7.2.5 or later.

3

What versions of PrestaShop are affected by CVE-2018-20717?

CVE-2018-20717 affects all PrestaShop versions prior to 1.7.2.5.

4

What kind of attack can be executed using CVE-2018-20717?

An attacker can execute remote code execution by injecting arbitrary PHP objects after gaining sufficient access rights.

5

Who is vulnerable to CVE-2018-20717?

Any PrestaShop users with roles that have at least Salesman rights are vulnerable to CVE-2018-20717.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203