IMPORTANT NOTICE: DO NOT REPORT VULNERABILITIES SOLELY TO THE AUTHOR OR MARKETPLACE.
We urge you to report any vulnerabilities directly to us. Our mission is to ensure the safety and security of the PrestaShop ecosystem. Unfortunately, many module developers may not always recognize or acknowledge the vulnerabilities in their code, whether due to lack of awareness, or inability to properly evaluate the associated risk, or other reasons.
Given the rise in professional cybercrime networks actively seeking out these vulnerabilities, it's crucial that any potential threats are promptly addressed and the community is informed. The most effective method to do this is by publishing a CVE, like the one provided below.
Should you discover any vulnerabilities, please report them to us at: report[@]security-presta.org or visit https://security-presta.org for more information.
Every vulnerability report helps make the community more secure, and we are profoundly grateful for any information shared with us.
[CVE-2024-24309] Exposure of Sensitive Information to an Unauthorized Actor in Ecomiz - Survey TMA module for PrestaShop
In the module “Survey TMA” (ecomiz_survey_tma) up to version 2.0.0 from Ecomiz for PrestaShop, a guest can download technical information without restriction.
Summary
- CVE ID: CVE-2024-24309
- Published at: 2024-02-20
- Platform: PrestaShop
- Product: ecomiz_survey_tma
- Impacted release: <= 1.2.0 (2.0.0 fixed the vulnerability)
- Product author: Ecomiz
- Weakness: CWE-200
- Severity: high (7.5), GDPR violation
Description
Due to a predictable token, a guest can access multiple technical information such as PrestaShop’s version, a full list of modules with their versions, the database name/host/user/prefix (excluding password), and commercial statistics.
CVSS base metrics
- Attack vector: network
- Attack complexity: low
- Privilege required: none
- User interaction: none
- Scope: unchanged
- Confidentiality: high
- Integrity: none
- Availability: none
Vector string: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Possible malicious usage
- Get precious technical data to facilitate others attacks like CWE-89
Patch from 1.2.0
--- 1.2.0/modules/ecomiz_survey_tma/controllers/front/survey.php
+++ XXXXX/modules/ecomiz_survey_tma/controllers/front/survey.php
...
- if($querytoken == "HARDCODED_TOKEN")
+ if($querytoken == Tools::encrypt($this->module->name))
Other recommendations
- You should restrict access to all FC of the module ecomiz_survey_tma
Timeline
Date | Action |
---|---|
2023-08-14 | Issue discovered during a code review by TouchWeb.fr |
2023-08-14 | Contact Author to confirm versions scope by author |
2023-08-14 | Author confirm versions scope |
2024-02-05 | Received CVE ID |
2024-02-20 | Publish this security advisory |
EcomiZ thanks TouchWeb for its courtesy and its help after the vulnerability disclosure.
Links
DISCLAIMER: The French Association Friends Of Presta (FOP) acts as an intermediary to help hosting this advisory. While we strive to ensure the information and advice provided are accurate, FOP cannot be held liable for any consequences arising from reported vulnerabilities or any subsequent actions taken.
This advisory and patch is licensed under CC BY-SA 4.0