8.8
CWE
94
Advisory Published
Advisory Published
Updated

CVE-2018-20717: Code Injection

First published: Tue 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.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
composer/prestashop/prestashop<1.7.2.5
composer/prestashop/prestashop<1.7.2.5
1.7.2.5
Prestashop Prestashop<1.7.2.5

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • How do I fix CVE-2018-20717?

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

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

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

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203