CVE-2023-5816 Code Explorer <= 1.4.5 - Authenticated (Admin+) External File Reading

Medium 4.9 Published Updated

Authenticated administrators can read arbitrary files outside the WordPress instance due to insufficient path restrictions in the Code Explorer 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-5816?

CVE-2023-5816 is a medium-severity path traversal vulnerability in qriouslad Code Explorer, published on 30 Oct 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The Code Explorer plugin for WordPress is vulnerable to arbitrary external file reading in all versions up to, and including, 1.4.5. This is due to the fact that the plugin does not restrict accessing files to those outside of the WordPress instance, though the intention of the plugin is to only access WordPress related files. This makes it possible for authenticated attackers, with administrator-level access, to read files outside of the WordPress instance.

Weakness: CWE-73

Which versions are affected by CVE-2023-5816?

It affects 1 product.

Products include Bowo Code Explorer.

How do I fix CVE-2023-5816?

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

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

Sources

Also known as GHSA-g463-pw3x-jmj3.

Is CVE-2023-5816 in your software?

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

Check your SBOMs for free