GitHub Advisory Database
GHSA-8r4m-5p6p-52rp
Arbitrary file read via SQL injection
Details
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
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | prestashop/prestashop | From 8.0.0 before 8.0.4 (fixed in 8.0.4) |
| Packagist | prestashop/prestashop | All versions before 1.7.8.9 (fixed in 1.7.8.9) |
References
- https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-8r4m-5p6p-52rp
- https://nvd.nist.gov/vuln/detail/CVE-2023-30545
- https://github.com/PrestaShop/PrestaShop/commit/cddac4198a47c602878a787280d813f60c6c0630
- https://github.com/PrestaShop/PrestaShop/commit/d900806e1841a31f26ff0a1843a6888fc1bb7f81
- https://github.com/PrestaShop/PrestaShop