CVE-2021-39312 affects the True Ranker WordPress plugin through version 2.2.2. The plugin exposes a file access issue in the file ~/admin/vendor/datatables/examples/resources/examples.php, where user-controlled input supplied via the src parameter is used to access local files without proper path restriction or validation. As a result, an attacker can read arbitrary files from the underlying server filesystem, including sensitive WordPress files such as wp-config.php.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
This repository is a small Python proof-of-concept exploit for CVE-2021-39312, an arbitrary file read vulnerability in the WordPress plugin The True Ranker (seo-local-rank) versions 2.2.2 and earlier. The repository contains three files: a README describing the vulnerability and usage, a minimal requirements.txt, and the main exploit script wp.py. The exploit logic in wp.py is straightforward: it accepts a required target base URL (-u/--url) and an optional --payload argument, defaulting to a traversal string aimed at wp-config.php. It constructs a POST request to the vulnerable plugin resource at /wp-content/plugins/seo-local-rank/admin/vendor/datatables/examples/resources/examples.php and sends the parameter src=/scripts/simple.php/<traversal>. If the server responds with HTTP 200, the script writes the returned content to a local file named wp-config.php; otherwise it prints that the site is not vulnerable. Main capability: arbitrary file read from the remote web server, with the default use case being extraction of the WordPress configuration file, which may expose database credentials and other sensitive settings. The exploit is operational but basic: it has a hardcoded default payload and local output filename, with only limited customization via the --payload argument. No shell execution, persistence, or post-exploitation automation is present.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.