CVE-2024-11642 Post Grid Master <= 3.4.12 - Missing Authorization to Unauthenticated Local PHP File Inclusion

Critical 9.8 Published Updated

Unauthenticated attackers can exploit a local file inclusion vulnerability in the Post Grid Master WordPress 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-11642?

CVE-2024-11642 is a critical path traversal vulnerability in mdshuvo Post Grid Master — Post Grids & AJAX Filters, published on 9 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Post Grid Master – Custom Post Types, Taxonomies & Ajax Filter Everything with Infinite Scroll, Load More, Pagination & Shortcode Builder plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 3.4.12 via the 'locate_template' function. 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 images and other “safe” file types can be uploaded and included. The file included must have a .php extension.

Weakness: CWE-22

Which versions are affected by CVE-2024-11642?

It affects 1 product.

Products include Addonmaster Post Grid Master.

How do I fix CVE-2024-11642?

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

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

Sources

Also known as GHSA-7pmr-9fj2-66gq.

Is CVE-2024-11642 in your software?

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

Check your SBOMs for free