PrestaShop <=8.0.3/1.7.8.8 Filesystem Read via SQL LOAD_FILE (SQLM GRANT)
CVE-2023-30545 Published on April 25, 2023

PrestaShop arbitrary file read vulnerability
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 Repository NVD

Vulnerability Analysis

CVE-2023-30545 can be exploited with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality, with no impact on integrity and availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
LOW
User Interaction:
NONE
Scope:
CHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
NONE
Availability Impact:
NONE

Weakness Type

What is a SQL Injection Vulnerability?

The software constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component.

CVE-2023-30545 has been classified to as a SQL Injection vulnerability or weakness.


Products Associated with CVE-2023-30545

Want to know whenever a new CVE is published for PrestaShop? stack.watch will email you.

 

Affected Versions

PrestaShop:

Vulnerable Packages

The following package name and versions may be associated with CVE-2023-30545

Package Manager Vulnerable Package Versions Fixed In
composer prestashop/prestashop >= 8.0.0, < 8.0.4 8.0.4
composer prestashop/prestashop < 1.7.8.9 1.7.8.9

Exploit Probability

EPSS
0.57%
Percentile
68.35%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.