#VU65762 Code Injection in PrestaShop - CVE-2022-36408

 

#VU65762 Code Injection in PrestaShop - CVE-2022-36408

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


Vulnerability identifier: #VU65762
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:A/U:Amber
CVE-ID: CVE-2022-36408
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild
Vulnerable software:
PrestaShop
Software vendor:
PrestaShop SA

Description

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 updates from vendor's website.

External links