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-2023-43139] Improper Neutralization of Special Elements used in an OS Command in the Franfinance module for PrestaShop
The PrestaShop e-commerce platform module Franfinance contains a vulnerability that lets an attaker inject a malicious malware in releases published before 2019.
Summary
- CVE ID: CVE-2023-43139
- Published at: 2023-10-25
- Advisory source: Friends-of-presta.org
- Platform: PrestaShop
- Product: franfinance
- Impact release: < 1.9.0 for Prestashop 1.6 OR < 2.0.27 for Prestashop 1.7+
- Product author: 202 ecommerce until 2019 / an other developer after
- Weakness: CWE-78
- Severity: critical (10)
Description
The validation of a payment with the Franfinance solution uses Atos SIPS v1 platform which returns data to decrypt with a binary file to execute.
An attacker can inject into this sequence an arbitrary executable script.
version 1.x
This version is used by PrestaShop 1.6-. The vulnerability can be exploited even if the module is disabled.
version 2.x
This version is used by PrestaShop 1.7. The vulnerability can be exploited only if the module is enabled.
CVSS base metrics
- Attack vector: network
- Attack complexity: low
- Privilege required: none
- User interaction: none
- Scope: changed
- Confidentiality: high
- Integrity: high
- Availability: high
Vector string: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Possible malicious usage
- Control and hijack a PrestaShop
Patches and recommendations
- If the
exec()
method is found in the module especially in filemodules/franfinance/validation.php
ormodules/franfinance/controllers/front/validation.php
, your module used obsolete SIPS V1 and must be removed. - Activate OWASP 932’s and 933’s rules on your WAF (Web application firewall), be warned that you will probably break your backoffice and you will need to pre-configure some bypasses against this set of rules.
Timeline
Date | Action |
---|---|
2023-01-13 | Issue discovered during a code review by TouchWeb.fr and documented by 202-ecommerce.com |
2023-01-13 | Security issue report to Franfinance |
2023-01-13 | Franfinance confirms the scope of release |
2023-09-08 | Request a CVE ID |
2023-10-25 | Publication of the security advisory |
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