Directorist – Business Directory Plugin - Arbitrary File Upload (CVE-2021-24981)
Description
The Directorist WordPress plugin before 7.0.6.2 was vulnerable to Cross-Site Request Forgery to Remote File Upload leading to arbitrary PHP shell uploads in the wp-content/plugins directory.
psychologyCrowdSec Analysis
CVE-2021-24981 is a cross-site request forgery vulnerability in the Directorist WordPress plugin before version 7.0.6.2 that can enable arbitrary file uploads, including PHP shells, into the plugin directory. By tricking a privileged user into submitting a forged request, an attacker could potentially execute code on the server and compromise the affected website.
CrowdSec has been tracking this vulnerability and its exploits since 12th of November 2026.
CrowdSec has not observed any significant exploitation activity targeting CVE-2021-24981 across its network. As a result, no community-driven trend analysis is available for this vulnerability at this time.
Attackers target /wp-admin/admin-ajax.php?action=add_listing_action with forged listing submissions, potentially including file uploads, to exploit the missing CSRF nonce verification.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2021-12-21 |
| Rule Released | 2026-11-12 |
| CrowdSec First Seen | 2026-11-16 |
Related Weaknesses
The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.