GHSA-8r4m-5p6p-52rp
Arbitrary file read via SQL injection
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | prestashop/prestashop | >= 8.0.0, < 8.0.4 | 8.0.4 |
| Packagist | prestashop/prestashop | < 1.7.8.9 | 1.7.8.9 |
Details
As written in the advisory (Markdown source, shown as plain text).
### 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
References
External links from the advisory. They lead to third-party sites.
- 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