CVE-2023-6120 Welcart e-Commerce <= 2.9.6 - Authenticated (Administrator+) Directory Traversal

Medium 4.1 Published Updated

Administrators can upload certificate files to arbitrary server locations via directory traversal in the Welcart e-Commerce WordPress plugin.

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

What is CVE-2023-6120?

CVE-2023-6120 is a medium-severity path traversal vulnerability in uscnanbu Welcart e-Commerce, published on 9 Dec 2023. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The Welcart e-Commerce plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 2.9.6 via the upload_certificate_file function. This makes it possible for administrators to upload .pem or .crt files to arbitrary locations on the server.

Weakness: CWE-22

Which versions are affected by CVE-2023-6120?

It affects 1 product.

Products include Welcart Welcart E-Commerce.

How do I fix CVE-2023-6120?

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

There is no known exploitation of CVE-2023-6120 in the wild and no public exploit code.

Sources

Also known as GHSA-5972-9g9g-mf6x.

Is CVE-2023-6120 in your software?

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

Check your SBOMs for free