CVE-2023-27639 Path traversal in n/a

High 7.5 Published Updated

Remote attackers can traverse directories to read XML files via the file_name parameter in the tshirtecommerce 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-27639?

CVE-2023-27639 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 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.

Weakness: CWE-22

Which versions are affected by CVE-2023-27639?

It affects 1 product.

Products include Tshirtecommerce Custom Product Designer.

How do I fix CVE-2023-27639?

No fix has been published for CVE-2023-27639 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-27639 being exploited?

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

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-vr24-25x3-mc3h.

Is CVE-2023-27639 in your software?

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

Check your SBOMs for free