CVE-2023-27639
An HTTP request can be forged with the POST parameter file_name in the tshirtecommerce/ajax.php?type=svg endpoint, to allow a remote attacker to traverse directories on the system in order to open files (without restriction on the extension and path).
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.55%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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 file_name in the tshirtecommerce/ajax.php?type=svg endpoint, to allow a remote attacker to traverse directories on the system in order to open files (without restriction on the extension and path). Only files that can be parsed in XML can be opened. This is exploited in the wild in March 2023.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS
- 3.55% probability · 89th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- tshirtecommerce/custom product designer
- Source
- cve@mitre.org
References
- https://friends-of-presta.github.io/security-advisories/module/2023/03/30/tshirtecommerce_cwe-22.htmlExploit, Patch, Third Party Advisory
- https://friends-of-presta.github.io/security-advisories/module/2023/03/30/tshirtecommerce_cwe-22.htmlExploit, Patch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.