CVE-2023-27640 Path traversal in n/a

High 7.5 Published Updated

Remote attackers can traverse directories to read arbitrary files via the fonts endpoint in the Custom Product Designer PrestaShop plugin.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-27640?

CVE-2023-27640 is a high-severity path traversal vulnerability in n/a, published on 1 Jun 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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 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.

Weakness: CWE-22

Which versions are affected by CVE-2023-27640?

It affects 1 product.

Products include Tshirtecommerce Custom Product Designer.

How do I fix CVE-2023-27640?

No fix has been published for CVE-2023-27640 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2023-27640 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-27640 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-w2hv-2pwp-7hww.

Is CVE-2023-27640 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free