{"id":"CVE-2023-30545","aliases":["EUVD-2023-1243","GHSA-8r4m-5p6p-52rp"],"status":"published","title":"PrestaShop arbitrary file read vulnerability","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 -\u003e 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","severity":{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00863,"percentile":0.58901,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-89"],"published":"2023-04-25T17:47:01Z","modified":"2026-10-28T02:30:48Z","fixes":[{"ecosystem":"Packagist","package":"prestashop/prestashop","fixed_in":["8.0.4","1.7.8.9"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"prestashop/prestashop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.0.0"},{"fixed":"8.0.4"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"prestashop/prestashop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.8.9"}]}]},{"source":"osv","ecosystem":"Packagist","package":"prestashop/prestashop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.0.0"},{"fixed":"8.0.4"}]}],"versions":["8.0.0","8.0.1","8.0.2","8.0.3"]},{"source":"osv","ecosystem":"Packagist","package":"prestashop/prestashop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.8.9"}]}],"versions":["1.7.0.0","1.7.0.0-beta.1.0","1.7.0.0-beta.2.0","1.7.0.0-beta.3.0","1.7.0.0-beta.4.0","1.7.0.0-rc.0.0","1.7.0.0-rc.1.0","1.7.0.0-rc.2.0","1.7.0.1","1.7.0.2","1.7.0.3","1.7.0.4","1.7.0.5","1.7.0.6","1.7.1.0","1.7.1.1","1.7.1.2","1.7.2.0","1.7.2.0-rc.1.0","1.7.2.1","1.7.2.2","1.7.2.3","1.7.2.4","1.7.2.5","1.7.3.0","1.7.3.1","1.7.3.2","1.7.3.3","1.7.3.4","1.7.4.0","1.7.4.0-beta.1","1.7.4.1","1.7.4.2","1.7.4.3","1.7.4.4","1.7.5.0","1.7.5.0-beta.1","1.7.5.0-rc.1","1.7.5.1","1.7.5.2","1.7.6.0","1.7.6.0-beta.1","1.7.6.0-rc.1","1.7.6.0-rc.2","1.7.6.1","1.7.6.2","1.7.6.3","1.7.6.4","1.7.6.5","1.7.6.6","1.7.6.7","1.7.6.8","1.7.6.9","1.7.7.0","1.7.7.0-beta.1","1.7.7.0-beta.2","1.7.7.0-rc.1","1.7.7.1","1.7.7.2","1.7.7.3","1.7.7.4","1.7.7.5","1.7.7.6","1.7.7.7","1.7.7.8","1.7.8.0","1.7.8.0-beta.1","1.7.8.0-rc.1","1.7.8.1","1.7.8.2","1.7.8.3","1.7.8.4","1.7.8.5","1.7.8.6","1.7.8.7","1.7.8.8"]}],"products":[{"vendor":"prestashop","product":"prestashop"}],"references":[{"url":"https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-8r4m-5p6p-52rp","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/PrestaShop/PrestaShop/commit/cddac4198a47c602878a787280d813f60c6c0630","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/PrestaShop/PrestaShop/commit/d900806e1841a31f26ff0a1843a6888fc1bb7f81","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-30545","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-8r4m-5p6p-52rp"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/30xxx/CVE-2023-30545.json","tags":["advisory"]},{"url":"https://github.com/PrestaShop/PrestaShop","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-30545","title":"PrestaShop arbitrary file read vulnerability","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 -\u003e 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\n","status":"published","published":"2023-04-25T17:47:01.579Z","modified":"2025-02-03T19:36:21.288Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:35:22.640346Z"}],"euvd":[{"id":"EUVD-2023-1243","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 -\u003e 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\n","status":"published","published":"2023-04-25T17:47:01Z","modified":"2025-02-03T19:36:21Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-03T00:04:06.761301Z"}],"ghsa":[{"id":"GHSA-8r4m-5p6p-52rp","title":"Arbitrary file read via SQL injection","description":"### Impact\nIt is possible for a user having access to the SQL Manager (Advanced Options -\u003e 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.\n\n### Patches\nThe patch will be on PS 8.0.4 and PS 1.7.8.9\n","status":"published","published":"2023-04-26T16:03:45Z","modified":"2023-11-11T05:02:16Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:37:20.311836Z"}],"nvd":[{"id":"CVE-2023-30545","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 -\u003e 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\n","status":"published","published":"2023-04-25T18:15:09.677Z","modified":"2026-06-17T05:54:59.52Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:07:59.151142Z"}],"osv":[{"id":"CVE-2023-30545","title":"PrestaShop arbitrary file read vulnerability","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 -\u003e 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\n","status":"published","published":"2023-04-25T17:47:01.579Z","modified":"2026-10-28T02:30:48.200435643Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:44:31.790231Z"},{"id":"GHSA-8r4m-5p6p-52rp","title":"Arbitrary file read via SQL injection","description":"### Impact\nIt is possible for a user having access to the SQL Manager (Advanced Options -\u003e 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.\n\n### Patches\nThe patch will be on PS 8.0.4 and PS 1.7.8.9\n","status":"published","published":"2023-04-26T16:03:45Z","modified":"2026-07-16T09:11:44.538922576Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:46:42.78452Z"}]}}
