Arbitrary Code Injection Affecting prestashop/prestashop package, versions <1.7.2.5


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.58% (78th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-PRESTASHOPPRESTASHOP-5808477
  • published28 Jul 2023
  • disclosed14 May 2022
  • creditUnknown

Introduced: 14 May 2022

CVE-2018-20717  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade prestashop/prestashop to version 1.7.2.5 or higher.

Overview

prestashop/prestashop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

Affected versions of this package are vulnerable to Arbitrary Code Injection. 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.

CVSS Scores

version 3.1