Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. prestashop/prestashop
  4. ›
  5. CVE-2023-30545

CVE-2023-30545: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

April 26, 2023

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

References

  • github.com/PrestaShop/PrestaShop/commit/cddac4198a47c602878a787280d813f60c6c0630
  • github.com/PrestaShop/PrestaShop/commit/d900806e1841a31f26ff0a1843a6888fc1bb7f81
  • github.com/PrestaShop/PrestaShop/security/advisories/GHSA-8r4m-5p6p-52rp
  • github.com/advisories/GHSA-8r4m-5p6p-52rp
  • nvd.nist.gov/vuln/detail/CVE-2023-30545

Code Behaviors & Features

Detect and mitigate CVE-2023-30545 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.7.8.9, all versions starting from 8.0.0 before 8.0.4

Fixed versions

  • 1.7.8.9
  • 8.0.4

Solution

Upgrade to versions 1.7.8.9, 8.0.4 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

packagist/prestashop/prestashop/CVE-2023-30545.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:09 +0000.