ADVISORIES

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

EcosystemPackageAffected versions
Packagistprestashop/prestashop
From 8.0.0 before 8.0.4 (fixed in 8.0.4)
Packagistprestashop/prestashop
All versions before 1.7.8.9 (fixed in 1.7.8.9)

References