CVE-2024-10871 Category Ajax Filter <= 2.8.2 - Unauthenticated Local File Inclusion

Critical 9.8 Published Updated

Unauthenticated attackers can exploit a Local File Inclusion vulnerability in the Category Ajax Filter plugin to execute arbitrary PHP code and read sensitive data.

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-2024-10871?

CVE-2024-10871 is a critical path traversal vulnerability in trustyplugins Category AJAX Filter – Advanced Filter for Posts & Custom Post Types, published on 9 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Category Ajax Filter plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 2.8.2 via the 'params[caf-post-layout]' parameter. This makes it possible for unauthenticated attackers to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where files with a .php extension can be uploaded and included.

Weakness: CWE-98

Which versions are affected by CVE-2024-10871?

How do I fix CVE-2024-10871?

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

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

Sources

Also known as GHSA-qwvp-243h-hmwf.

Is CVE-2024-10871 in your software?

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

Check your SBOMs for free