CVE-2023-27640
Published: 01 June 2023
Summary
CVE-2023-27640 is a high-severity Path Traversal (CWE-22) vulnerability in Tshirtecommerce Custom Product Designer. Its CVSS base score is 7.5 (High).
Operationally, ranked in the top 0.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
The vulnerability CVE-2023-27640 is a directory traversal flaw (CWE-22) in the tshirtecommerce component version 2.1.4, also known as Custom Product Designer, for PrestaShop. It resides in the /tshirtecommerce/fonts.php endpoint, where an attacker can manipulate the POST parameter 'type' to traverse directories and access arbitrary files on the system, with no restrictions on file extensions or paths. The file contents are returned encoded in base64. The issue carries a CVSS score of 7.5.
An unauthenticated remote attacker can exploit this vulnerability over the network to read sensitive files from the server, resulting in high confidentiality impact without affecting integrity or availability.
The vulnerability was exploited in the wild in March 2023. Its exploitation probability (EPSS) reached a peak of 0.8628 and currently stands at 0.8582.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-31376
Vulnerability details
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…
more
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.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Validates pathnames and filenames to prevent traversal outside intended directories.