Cyber Resilience

CVE-2023-27640

HighPublic PoC

Published: 01 June 2023

Published
01 June 2023
Modified
08 January 2025
KEV Added
Patch
30 March 2023
CVSS Score v3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS Score 0.8582 99.4th percentile
Risk Priority 66 60% EPSS · 20% KEV · 20% CVSS

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

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

tshirtecommerce
custom product designer
≤ 2.1.4

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.

addresses: CWE-22

Validates pathnames and filenames to prevent traversal outside intended directories.

References