HIGH7.7
GHSA-8r4m-5p6p-52rp
Arbitrary file read via SQL injection
Quick fix
GHSA-8r4m-5p6p-52rp — prestashop/prestashop: upgrade to the fixed version with the command below.
composer require prestashop/prestashop:^8.0.4Details
### 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 LOAD_FILE 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
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/prestashop/prestashop
Introduced in:
8.0.0Fixed in: 8.0.4Fix
composer require prestashop/prestashop:^8.0.4Packagist/prestashop/prestashop
Introduced in:
0Fixed in: 1.7.8.9Fix
composer require prestashop/prestashop:^1.7.8.9References
- https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-8r4m-5p6p-52rp[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2023-30545[ADVISORY]
- https://github.com/PrestaShop/PrestaShop/commit/cddac4198a47c602878a787280d813f60c6c0630[WEB]
- https://github.com/PrestaShop/PrestaShop/commit/d900806e1841a31f26ff0a1843a6888fc1bb7f81[WEB]
- https://github.com/PrestaShop/PrestaShop[PACKAGE]