CVE-2024-34717:
Anonymous PrestaShop customer can download other customers' invoices
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.59088%
CWE
Published
5/14/2024
Updated
5/14/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
prestashop/prestashop | composer | = 8.1.5 | 8.1.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from improper access control in the invoice download endpoint. The key evidence is in the commit diff showing the security check was restructured from a single flawed conditional (that could be bypassed with any secure_key) to two separate checks. The postProcess
method in PdfInvoiceController.php
directly handles authorization for invoice downloads and contained the insecure logic before patching. The function's role in processing PDF requests and the explicit security fix in this method confirm its vulnerability.