An issue was discovered in the tshirtecommerce (aka Custom Product Designer) component 2.1.4 for PrestaShop. An HTTP request can be forged with the POST parameter type in the /tshirtecommerce/fonts.php endpoint, to allow a remote attacker to traverse directories on the system in order to open files (without restriction on the extension and path). The content of the file is returned with base64 encoding. This is exploited in the wild in March 2023.
                
            References
                    | Link | Resource | 
|---|---|
| https://friends-of-presta.github.io/security-advisories/module/2023/03/30/tshirtecommerce_cwe-22.html | Exploit Patch Third Party Advisory | 
| https://friends-of-presta.github.io/security-advisories/module/2023/03/30/tshirtecommerce_cwe-22.html | Exploit Patch Third Party Advisory | 
Configurations
                    History
                    21 Nov 2024, 07:53
| Type | Values Removed | Values Added | 
|---|---|---|
| References | () https://friends-of-presta.github.io/security-advisories/module/2023/03/30/tshirtecommerce_cwe-22.html - Exploit, Patch, Third Party Advisory | 
09 Jun 2023, 16:11
| Type | Values Removed | Values Added | 
|---|---|---|
| CWE | CWE-22 | |
| CVSS | v2 : v3 : | v2 : unknown v3 : 7.5 | 
| CPE | cpe:2.3:a:tshirtecommerce:custom_product_designer:*:*:*:*:*:prestashop:*:* | |
| References | (MISC) https://friends-of-presta.github.io/security-advisories/module/2023/03/30/tshirtecommerce_cwe-22.html - Exploit, Patch, Third Party Advisory | 
01 Jun 2023, 21:15
| Type | Values Removed | Values Added | 
|---|---|---|
| New CVE | 
Information
                Published : 2023-06-01 21:15
Updated : 2025-01-08 21:15
NVD link : CVE-2023-27640
Mitre link : CVE-2023-27640
CVE.ORG link : CVE-2023-27640
JSON object : View
Products Affected
                tshirtecommerce
- custom_product_designer
CWE
                
                    
                        
                        CWE-22
                        
            Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
