CVE-2023-30545
JSON

7.7high

PrestaShop arbitrary file read vulnerability

Severity
7.7high CVSS:3.1 by GitHub_M
Exploit likelihood
0.86% (higher than 59% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-8r4m-5p6p-52rp

Description

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 `LOAD_FILE` 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

Affected

Product or packageVersionsReported by
PrestaShop PrestaShop< 1.7.8.9, >= 8.0.0, < 8.0.4, before 1.7.8.9, from 8.0.0 before 8.0.4CVE List, NVD
prestashop/prestashop (Packagist)from 8.0.0 before 8.0.4, before 1.7.8.9GitHub Advisory Database

All scores

GitHub_M7.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
GitHub7.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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 `LOAD_FILE` 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

GitHub Advisory Database
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

Sources

SourceRecordLicence
CVE ListCVE-2023-30545 changed 2025-02-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-8r4m-5p6p-52rp changed 2026-07-16CC-BY-4.0
NVDCVE-2023-30545 changed 2026-06-17Public domain