CVE-2024-7514 WordPress Comments Import & Export <= 2.3.7 - Authenticated (Author+) Arbitrary File Read via Directory Traversal

Medium 6.5 Published Updated

Authenticated attackers with Author access can read arbitrary server files via directory traversal in the Comments Import & Export 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-7514?

CVE-2024-7514 is a medium-severity path traversal vulnerability in webtoffee Comments Import & Export, published on 11 Oct 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The WordPress Comments Import & Export plugin for WordPress is vulnerable to to arbitrary file read due to insufficient file path validation during the comments import process, in versions up to, and including, 2.3.7. This makes it possible for authenticated attackers, with Author-level access and above, to read the contents of arbitrary files on the server, which can contain sensitive information. The issue was partially fixed in version 2.3.8 and fully fixed in 2.3.9

Weakness: CWE-22

Which versions are affected by CVE-2024-7514?

How do I fix CVE-2024-7514?

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

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-xxrw-hw8c-v7g8.

Is CVE-2024-7514 in your software?

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

Check your SBOMs for free