CVE-2024-2023 Folders <= 3.0 and Folders Pro <= 3.0.2 - Directory Traversal via handle_folders_file_upload

Medium 4.3 Published Updated

Authenticated attackers with author access can upload files to arbitrary server locations via directory traversal in the Folders plugin.

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

What is CVE-2024-2023?

CVE-2024-2023 is a medium-severity path traversal vulnerability in Premio Folders Pro, published on 14 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Folders and Folders Pro plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 3.0 in Folders and 3.0.2 in Folders Pro via the 'handle_folders_file_upload' function. This makes it possible for authenticated attackers, with author access and above, to upload files to arbitrary locations on the server.

Weakness: CWE-22

Which versions are affected by CVE-2024-2023?

How do I fix CVE-2024-2023?

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

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

Sources

Also known as GHSA-qqvh-qhvc-6p93.

Is CVE-2024-2023 in your software?

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

Check your SBOMs for free