CVE-2024-34717: Prestashop/prestashop Anonymous PrestaShop Customer Can Download Vulnerability
MODERATECVE-2024-34717 is a MODERATE (CVSS 5.3) anonymous prestashop customer can download vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Prestashop/prestashop libraries in the Packagist ecosystem. The issue involves anonymous prestashop customer can download other customers' invoices. Remediation is available by upgrading affected packages to version 8.1.6.
CVE-2024-34717 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2024-34717
To remediate this vulnerability, upgrade all affected Prestashop/prestashop dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade prestashop/prestashop to 8.1.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for prestashop/prestashop
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-34717, inspect your project dependencies for Prestashop/prestashop:
inspect dependencies for prestashop/prestashop
Analyze the terminal output to locate any version of Prestashop/prestashop in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 8.1.6), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Prestashop/prestashop, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-34717 Affected Prestashop/prestashop Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
prestashop/prestashop
|
Packagist |
≥ 8.1.5
< 8.1.6
All 1 versions
8.1.5
|
8.1.6
|
References
Frequently Asked Questions
What is CVE-2024-34717?
Which Prestashop/prestashop versions are affected?
What version fixes CVE-2024-34717?
Is prestashop/prestashop affected?
What is the CVSS score of CVE-2024-34717?
What CWE is associated with CVE-2024-34717?
How can I check Packagist dependencies for CVE-2024-34717?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7pjr-2rgh-fc5g",
"modified" : "2024-05-14T20:17:27Z",
"published" : "2024-05-14T20:17:27Z",
"aliases" : [ "CVE-2024-34717" ],
"summary" : "Anonymous PrestaShop customer can download other customers' invoices",
"details" : "### Impact\nSince PrestaShop 8.1.5, any invoice can be downloaded from front-office in anonymous mode, by supplying a random secure_key parameter in the url.\n\n### Patches\nPatched in 8.1.6\n\n### Workarounds\nUpgrade to 8.1.6\n\nThank you to Samuel Bodevin, who found this vulnerability and shared it with the PrestaShop team.\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "prestashop/prestashop"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.1.5"
}, {
"fixed" : "8.1.6"
} ]
} ],
"versions" : [ "8.1.5" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-7pjr-2rgh-fc5g"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-34717"
}, {
"type" : "WEB",
"url" : "https://github.com/PrestaShop/PrestaShop/commit/46b9a2b430dd2008ac061fbcbae9f7af55a7920a"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/PrestaShop/PrestaShop"
}, {
"type" : "WEB",
"url" : "https://github.com/PrestaShop/PrestaShop/releases/tag/8.1.6"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-14T20:17:27Z",
"nvd_published_at" : "2024-05-14T16:17:28Z"
}
}