CVE-2023-30545: Arbitrary file read via SQL injection
Impact It is possible for a user having access to the SQL Manager (Advanced Options -> Database) to arbitrary read any file on the Operating system when using SQL function LOADFILE in a SELECT request. So It can access to critical information.
Patches The patch will be on PS 8.0.4 and PS 1.7.8.9
Other sources
PrestaShop is an Open Source e-commerce web application. Prior to versions 8.0.4 and 1.7.8.9, it is possible for a user with access to the SQL Manager (Advanced Options -> Database) to arbitrarily read any file on the operating system when using SQL function LOADFILE in a SELECT request. This gives the user access to critical information. A patch is available in PrestaShop 8.0.4 and PS 1.7.8.9
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/prestashop/prestashopto a version that resolves this vulnerability.Fixed in 1.7.8.9 - Upgrade
Upgrade
composer/prestashop/prestashopto a version that resolves this vulnerability.Fixed in 8.0.4 - Upgrade
Upgrade
PrestaShop 8to a version that resolves this vulnerability.Fixed in 8.0.4 - Upgrade
Upgrade
PrestaShop 1.7to a version that resolves this vulnerability.Fixed in 1.7.8.9
Event History
Frequently Asked Questions
What is CVE-2023-30545?
CVE-2023-30545 is a vulnerability in PrestaShop that allows an authenticated user to read any file on the operating system using the SQL function LOAD_FILE in a SELECT request.
What is the severity of CVE-2023-30545?
The severity of CVE-2023-30545 is high with a CVSS score of 6.5.
Which versions of PrestaShop are affected by CVE-2023-30545?
PrestaShop versions up to 1.7.8.9 and between 8.0.0 and 8.0.4 are affected by CVE-2023-30545.
How can an attacker exploit CVE-2023-30545?
An attacker can exploit CVE-2023-30545 by gaining access to the SQL Manager in PrestaShop and using the LOAD_FILE SQL function in a SELECT request to read arbitrary files on the operating system.
Is there a fix available for CVE-2023-30545?
Yes, the fix for CVE-2023-30545 is available in PrestaShop versions 1.7.8.9 and 8.0.4.