SB2022072543 - Remote code execution in PrestaShop



SB2022072543 - Remote code execution in PrestaShop

Published: July 25, 2022 Updated: July 26, 2022

Security Bulletin ID SB2022072543
Severity
High
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

High 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) Code Injection (CVE-ID: CVE-2022-36408)

The vulnerability allows a remote attacker to execute arbitrary PHP code on the target system.

The vulnerability exists due to insecure eval() call when processing cache entries in MySQL Smarty cache feature. A remote attacker can inject specially crafted entries into the database and execute arbitrary PHP code on the system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system but requires the ability to inject specially crafted entries into the database, for instance in case of a SQL injection vulnerability, such vulnerability in Wishlist modules described as SB2022072609.

Note, the vulnerability is being actively exploited in the wild.


Remediation

Install update from vendor's website.